重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
deep-research by glebis/claude-skills
npx skills add https://github.com/glebis/claude-skills --skill deep-research此技能利用 OpenAI 的深度研究 API(o4-mini-deep-research 模型),实现对任何主题的全面、联网研究。它通过交互式澄清问题智能增强用户的研究提示,确保研究参数被保存以便复现,并利用完整的网络搜索能力执行深度研究。
在以下情况触发此技能:
示例用户请求:
用户输入
↓
评估:提示是否过于简短?
↓
是 → 询问增强问题 → 收集答案
↓ ↓
└───────→ 构建增强提示 ←──┘
↓
保存到带时间戳的文件
↓
执行 deep_research.py
↓
输出报告 + 来源
↓
呈现给用户
对令牌效率很重要: 深度研究需要 10-20 分钟完成。该技能设计为同步(阻塞)运行,无需中间状态检查。这种方法在等待期间最大限度地减少了令牌使用。Claude 应:
执行期间无需定期轮询或状态更新。
接收用户的研究提示。范围可以从简短("最新 AI 趋势")到高度详细("关注 2024-2025 年,语言模型对开发者生产力的影响")。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
使用用户的研究提示运行技能的主编排脚本:
python3 scripts/run_deep_research.py "您的研究提示在此"
该脚本位于技能安装目录内的 scripts/run_deep_research.py。
脚本自动执行以下操作:
research_prompt_YYYYMMDD_HHMMSS.txt 以便复现deep_research.py 脚本,参数包括:
--model 配置)--timeout 配置)脚本自动执行以下操作:
research_report_YYYYMMDD_HHMMSS.md令牌效率说明:深度研究需要 10-20 分钟。脚本同步(阻塞)运行,无需中间轮询,从而在等待期间最大限度地减少了令牌使用。
scripts/run_deep_research.py(主入口点)处理以下任务的编排脚本:
主要特性:
可用选项:
python3 run_deep_research.py <prompt> [OPTIONS]
--no-enhance 跳过增强问题
--model <model> 要使用的模型(默认:o4-mini-deep-research)
--timeout <seconds> 超时时间(秒)(默认:1800)
--output-dir <path> 保存提示文件的目录
assets/deep_research.py与 OpenAI 深度研究 API 交互的核心脚本。处理:
新的命令行选项:
--output-file <path> 自定义输出文件路径
--no-save 禁用自动 Markdown 保存
references/workflow.md详细的工作流程文档,涵盖:
该技能智能判断是否需要增强:
--no-enhance 标志禁用增强后的提示包括:
这些参数有助于深度研究模型提供更具针对性、更相关的结果。
每次研究执行都会:
用户: "研究最有效的开源 RAG 解决方案"
脚本行为:
用户: "分析 2024-2025 年大型语言模型对软件开发人员生产力的影响,重点关注代码生成工具、结对编程和生产力指标。"
脚本行为:
OPENAI_API_KEY 环境变量或 .env 文件设置)深度研究查询通常需要 10-20 分钟 完成。此技能经过优化,可在长时间等待期间最大限度地减少令牌使用:
工作原理:
令牌节省:
该技能自动生成并保存文件:
生成的文件:
research_prompt_YYYYMMDD_HHMMSS.txt - 包含参数的增强研究提示research_report_YYYYMMDD_HHMMSS.md - 完整的 Markdown 报告,包含:
自定义选项:
# 自定义输出位置
python3 deep_research.py --prompt-file prompt.txt --output-file my_research.md
# 禁用自动保存(仅终端输出)
python3 deep_research.py --prompt-file prompt.txt --no-save
错误: "Missing OPENAI_API_KEY"
解决方案:
export OPENAI_API_KEY="your-key"OPENAI_API_KEY=your-key 的 .env 文件错误: "Could not find deep_research.py"
解决方案:
错误: 请求在 30 分钟后超时
解决方案:
--timeout 5400(90 分钟)每周安装次数
50
仓库
GitHub 星标数
66
首次出现
2026 年 1 月 24 日
安全审计
安装于
opencode44
gemini-cli41
cursor39
claude-code38
codex38
github-copilot36
This skill enables comprehensive, internet-enabled research on any topic using OpenAI's Deep Research API (o4-mini-deep-research model). It intelligently enhances user research prompts through interactive clarifying questions, ensures research parameters are saved for reproducibility, and executes deep research with full web search capabilities.
Trigger this skill when:
Example user requests:
User Input
↓
Assessment: Prompt too brief?
↓
YES → Ask Enhancement Questions → Collect Answers
↓ ↓
└───────→ Construct Enhanced Prompt ←──┘
↓
Save to Timestamped File
↓
Execute deep_research.py
↓
Output Report + Sources
↓
Present to User
Important for Token Efficiency: Deep research takes 10-20 minutes to complete. The skill is designed to run synchronously (blocking) without intermediate status checks. This approach minimizes token usage during the wait. Claude should:
No need for periodic polling or status updates during execution.
Receive the user's research prompt. This can range from brief ("Latest AI trends") to highly detailed ("Impact of language models on developer productivity with focus on 2024-2025").
Run the skill's main orchestration script with the user's research prompt:
python3 scripts/run_deep_research.py "Your research prompt here"
The script is located at scripts/run_deep_research.py within the skill's installation.
The script automatically:
Assesses prompt completeness : Checks if prompt is too brief or generic (< 15 words or starts with "what is", "how to", etc.)
Asks clarifying questions (if needed):
Enhances the prompt : Combines original prompt with user's answers into structured research parameters
Saves prompt file : Writes enhanced prompt to research_prompt_YYYYMMDD_HHMMSS.txt for reproducibility
Executes deep research : Runs the core deep_research.py script with:
--model)--timeout)The script automatically:
research_report_YYYYMMDD_HHMMSS.mdToken Efficiency Note : Deep research takes 10-20 minutes. The script runs synchronously (blocking) without intermediate polling, minimizing token usage during the wait.
scripts/run_deep_research.py (Main Entry Point)The orchestration script that handles:
Key Features:
Available options:
python3 run_deep_research.py <prompt> [OPTIONS]
--no-enhance Skip enhancement questions
--model <model> Model to use (default: o4-mini-deep-research)
--timeout <seconds> Timeout in seconds (default: 1800)
--output-dir <path> Where to save prompt file
assets/deep_research.pyCore script that interfaces with OpenAI's Deep Research API. Handles:
New command-line options:
--output-file <path> Custom output file path
--no-save Disable automatic markdown saving
references/workflow.mdDetailed workflow documentation covering:
The skill intelligently determines whether enhancement is needed:
--no-enhance flagEnhanced prompts include:
These parameters help the deep research model deliver more targeted, relevant results.
Every research execution:
User: "Research the most effective opensource RAG solutions"
Script behavior:
User: "Analyze the impact of large language models on software developer productivity in 2024-2025, focusing on code generation tools, pair programming, and productivity metrics."
Script behavior:
OPENAI_API_KEY environment variable or .env file)Deep research queries typically take 10-20 minutes to complete. This skill is optimized to minimize token usage during long waits:
How it works:
Token savings:
The skill automatically generates and saves files:
Generated files:
research_prompt_YYYYMMDD_HHMMSS.txt - Enhanced research prompt with parametersresearch_report_YYYYMMDD_HHMMSS.md - Complete markdown report with:
Customization options:
# Custom output location
python3 deep_research.py --prompt-file prompt.txt --output-file my_research.md
# Disable automatic saving (terminal output only)
python3 deep_research.py --prompt-file prompt.txt --no-save
Error: "Missing OPENAI_API_KEY"
Solution:
export OPENAI_API_KEY="your-key".env file in working directory with OPENAI_API_KEY=your-keyError: "Could not find deep_research.py"
Solution:
Error: Request times out after 30 minutes
Solution:
--timeout 5400 (90 minutes)Weekly Installs
50
Repository
GitHub Stars
66
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode44
gemini-cli41
cursor39
claude-code38
codex38
github-copilot36
AI界面设计评审工具 - 全面评估UI/UX设计质量、检测AI生成痕迹与优化用户体验
58,500 周安装
TanStack Table 无头数据表格 | Cloudflare Workers + D1 服务器端分页排序
493 周安装
Shopify内容管理API与SEO优化指南 | 自动化创建页面博客导航
500 周安装
MkDocs 静态站点生成器教程 - 快速构建项目文档网站
44 周安装
Vue.js开发指南:核心原则、组件最佳实践与响应式编程完整教程
494 周安装
Swift Codable 完全指南:JSON 编码解码、自定义策略与实战技巧
515 周安装
发票模板生成技能 - 使用Python ReportLab快速创建专业PDF发票,支持批量生成与定制
502 周安装