deep-research
Skill387 starsChanged 5 months agoMITView on GitHub
This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API. It automates prompt enhancement through interactive clarifying questions, saves research parameters, and executes deep research with web search capabilities. Use when the user asks for in-depth analysis, investigation, research summaries, or topic exploration.
- Reads credentials
187 other projects use a version of this.
Adopted by
Most recently taken up by
- 5dive-ai/skillstheir own version, first seen Oct 5, 2026
- SkillMedev/ai-engineer-toolkittheir own version, first seen Oct 5, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- davidondrej/skillstheir own version, first seen Oct 3, 2026
- TraX22/HydraOps-Skillstheir own version, first seen Oct 2, 2026
- CatCatUncle/openworkbuddytheir own version, first seen Oct 2, 2026
Used with
Projects with it also use academic-paper-reviewer, academic-pipeline and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zebbernSkillacademic-paper-reviewer
Simulates academic peer review, evaluating papers across Originality, Methodology, Results, and Writing to provide Major/Minor Revision recommendations with actionable feedback. Triggers when a user asks to \"review my paper,\" \"simulate peer review,\" or \"give my paper a peer review.
Also in 9 projects that use this
W-MoorerSkillacademic-pipeline
Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publication, complete paper workflow.
Also in 8 projects that use this
W-MoorerSkillacademic-paper
12-agent academic paper writing pipeline. 10 modes (full/plan/outline/revision/revision-coach/abstract/lit-review/format-convert/citation-check/disclosure). 6 paper types, 5 citation formats, bilingual abstracts, LaTeX/DOCX-via-Pandoc/PDF output. Style Calibration + Writing Quality Check + Anti-Patterns with IRON RULE markers. Triggers: write paper, academic paper, guide my paper, parse reviews, AI disclosure, 寫論文, 學術論文, 引導我寫論文, 審查意見.
Also in 8 projects that use this
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 3 projects that use this
nicepkgSkillfinancial-unit-economics
Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.
Also in 3 projects that use this
daymadeSkillgithub-review-pr
Reviews or re-reviews a contributor PR as repository maintainer — a closed PR reconsidered, or a sweep of open PRs — against the live base with immutable snapshots and three-way merges. Use for a PR URL/number, "main changed, review again", "review all open PRs", "fix the rest ourselves?", or merge readiness. Not for GitHub CRUD (use github-ops), your own PR (use github-contributor), or merging without fresh review.
Also in 3 projects that use this
- +4 more from nicepkg
Other versions187 projects use a version of this.
Word for word · 1
- alexdcd/Mafia-Claude-Skills★ 55100% same
Edited · 0
None found.
Wrote their own version · 186
- bytedance/deer-flow★ 83ksame name
- Imbad0202/academic-research-skills★ 50ksame name
- HKUSTDial/Supervisor-Skills★ 8.1ksame name
- davidondrej/skills★ 4.1ksame name
- jordan-gibbs/hyperresearch★ 3.8ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- feiskyer/claude-code-settings★ 1.7ksame name
- daymade/claude-code-skills★ 1.4ksame name
- 199-biotechnologies/claude-deep-research-skill★ 1.2ksame name
- coreyhaines31/makerskills★ 840same name
176 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository104 other files it gives its agents.
- automation-advisor/CLAUDE.mdCLAUDE.md
- agency-docs-updaterSkill
- agency-meetup-publishSkill
- agency-socialsSkill
- agent-cliSkill
- app-releaseSkill
- automation-advisorSkill
- balancedSkill
- brand-agencySkill
- browser-mateSkill
- browsing-historySkill
- chrome-historySkill
- coaching-session-summarizerSkill
- codexSkill
- cognitive-toolkitSkill
- context-builderSkill
- cull-release-checkSkill
- cull-release-prepareSkill
- cull-release-publishSkill
- cull-release-recoverSkill
- cull-releaseSkill
- cull-release-verifySkill
- cullSkill
- daydreamSkill
- decision-toolkitSkill
- design-tokensSkill
- doctorgSkill
- ecosystemSkill
- elevenlabs-ttsSkill
- elimination-researchSkill
- fathomSkill
- feature-factorySkill
- firecrawl-researchSkill
- font-featuresSkill
- github-gistSkill
- gmailSkill
- google-image-searchSkill
- gpt-image-2Skill
- granolaSkill
- gwsSkill
- health-dataSkill
- i18n-studioSkill
- init-tauri-appSkill
- init-xcode-appSkill
- insight-extractorSkill
- jtbdSkill
- lab-retroSkill
- learning-vaultSkill
- linearSkill
- llm-cliSkill
- local-modelsSkill
- meeting-prepSkill
- meeting-processorSkill
- metaSkill
- name-auditionSkill
- nano-bananaSkill
- nielsen-heuristicsSkill
- pdf-generationSkill
- peer-agent-collaborationSkill
- presentation-generatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 164 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
Wait for completion (subprocess blocks automatically)
- Distinctive: line 56
No need for periodic polling or status updates during execution.
- Distinctive: line 64
Run the skill's main orchestration script with the user's research prompt:
- Distinctive: line 197
Use cases: Production deployment?
- Distinctive: line 270
Ensure skill is properly installed with assets
- Distinctive: line 280
Run during off-peak hours for potentially faster API responses
“Common” is measured: kept by at least 6 in 10 of the 164 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deep Research Skill
Purpose
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.
When to Use This Skill
Trigger this skill when:
- User requests research on a specific topic
- User asks for analysis, investigation, or comprehensive information gathering
- User wants exploration of a subject with web search and reasoning
- User provides a brief research query that could be refined
- User wants to understand current state, trends, or comparisons in a field
Example user requests:
- "Research the most effective open-source RAG solutions with high benchmark performance"
- "What are the latest AI developments in 2025?"
- "I need a comprehensive analysis of distributed database systems"
- "Find best practices for implementing vector search"
- "Investigate how AI is impacting the software engineering industry"
Workflow Overview
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 UserHow Claude Should Use This Skill
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:
- Start the research
- Wait for completion (subprocess blocks automatically)
- Present final results once complete
No need for periodic polling or status updates during execution.
Step 1: Accept Research Request
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").
Step 2: Execute the Orchestration Script
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.
Step 3: Script Execution Flow
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):
- Presents 2-3 focused questions relevant to the research type
- Detects if research is technical or general based on keywords
- Allows users to select from predefined options (1-4) or provide custom text
- Questions cover: Scope/Timeframe, Depth level, Focus areas
- 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.txtfor reproducibility - Executes deep research: Runs the core
deep_research.pyscript with:- Model: o4-mini-deep-research (configurable via
--model) - Timeout: 1800 seconds / 30 minutes (configurable via
--timeout) - Tools: Web search enabled by default
- Model: o4-mini-deep-research (configurable via
Step 4: Present Results to User
The script automatically:
- Saves markdown file: Research report with sources saved to
research_report_YYYYMMDD_HHMMSS.md - Prints to terminal: Complete research report with markdown formatting
- Lists web sources: Numbered URLs referenced in the research
- Confirms completion: Path where research files were saved
Token Efficiency Note: Deep research takes 10-20 minutes. The script runs synchronously (blocking) without intermediate polling, minimizing token usage during the wait.
Bundled Resources
Scripts
scripts/run_deep_research.py (Main Entry Point)
The orchestration script that handles:
- Prompt quality assessment
- Interactive enhancement questions (with smart detection for technical vs. general research)
- Prompt saving and timestamping
- Execution of core deep research
Key Features:
- Smart enhancement: Only asks questions if prompt is brief/generic
- Template-based questions: Different question sets for technical vs. general research
- Flexible input: Numbered options + custom text input
- Error handling: Helpful messages if deep_research.py is not found
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 fileassets/deep_research.py
Core script that interfaces with OpenAI's Deep Research API. Handles:
- API authentication via OPENAI_API_KEY
- Request creation and execution
- Automatic markdown saving: Saves timestamped report files by default
- Output formatting (report + sources with metadata)
- Error handling and retries
New command-line options:
--output-file <path> Custom output file path
--no-save Disable automatic markdown savingReferences
references/workflow.md
Detailed workflow documentation covering:
- Complete skill workflow with examples
- Prompt enhancement strategies
- Research parameters explanation
- Integration guidance for Claude
- Command-line interface reference
- Error handling and troubleshooting
- Tips for effective research
Key Behaviors
Smart Prompt Enhancement
The skill intelligently determines whether enhancement is needed:
- Triggers enhancement for prompts with < 15 words or generic starts
- Skips enhancement for detailed, specific prompts
- Allows users to disable with
--no-enhanceflag - Template-aware: Uses different questions for technical vs. general research
Research Parameters
Enhanced prompts include:
- Original user query with full context
- Scope and timeframe preferences
- Desired depth level (summary, technical, implementation, comparative)
- Specific focus areas (performance, cost, security, etc.)
These parameters help the deep research model deliver more targeted, relevant results.
Reproducibility
Every research execution:
- Saves the exact prompt used to a timestamped file
- Enables tracing research decisions
- Allows follow-up research using same/modified prompts
- Maintains audit trail of research parameters
Examples
Brief Prompt with Enhancement
User: "Research the most effective opensource RAG solutions"
Script behavior:
- Detects brief prompt (12 words) + technical keywords ("opensource", "RAG")
- Asks technical research questions:
- Technology scope: Open-source only? (User: Yes)
- Key metrics: Performance/benchmarks? (User: Speed and Accuracy)
- Use cases: Production deployment? (User: Multiple aspects)
- Enhances to detailed prompt with parameters
- Saves and executes deep research
- Returns comprehensive report with comparative benchmarks and source URLs
Detailed Prompt Without Enhancement
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:
- Detects detailed prompt (24 words) with specific scope/focus
- Skips enhancement questions
- Saves and executes deep research immediately
- Returns focused analysis aligned with user specifications
Requirements
- Python 3.7+
- OpenAI API key (set via
OPENAI_API_KEYenvironment variable or.envfile) - Internet connection (for web search)
- 30+ minutes for research completion (configurable timeout)
Token-Efficient Workflow
Long-Running Task Optimization
Deep research queries typically take 10-20 minutes to complete. This skill is optimized to minimize token usage during long waits:
How it works:
- Synchronous execution: The script runs as a blocking subprocess (no background polling)
- No intermediate checks: Claude waits silently for completion without status updates
- Single output: Results are presented once at the end
- Automatic saving: Markdown files are saved automatically, no manual intervention needed
Token savings:
- Traditional approach: Checking status every 30 seconds = ~40 checks × 500 tokens = ~20,000 tokens wasted
- This approach: Single wait = ~1,000 tokens total
Automatic File Management
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:- Research sections (historical, cognitive, cultural, etc.)
- Numbered source citations
- Metadata footer (date, model)
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-saveTroubleshooting
Missing OPENAI_API_KEY
Error: "Missing OPENAI_API_KEY"
Solution:
- Set environment variable:
export OPENAI_API_KEY="your-key" - Or create
.envfile in working directory withOPENAI_API_KEY=your-key
deep_research.py Not Found
Error: "Could not find deep_research.py"
Solution:
- Ensure skill is properly installed with assets
- Script searches in: skill assets folder → current directory → parent directory
Research Timeout
Error: Request times out after 30 minutes
Solution:
- Increase timeout:
--timeout 5400(90 minutes) - Simplify prompt to reduce research scope
- Run during off-peak hours for potentially faster API responses
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

