Claude-Deep-Research-Template
CLAUDE.md0 starsChanged 13 months agoMITView on GitHub
This repository implements the Claude Deep Research Model - a structured approach to conducting comprehensive research using Claude Code. When operating in this repository, you (Claude) should follow this workflow: Available slash commands for this repository: Specialized agents for research tasks can be found in .claude/agents/: - Research coordinators - Output synthesizers - Citation managers
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
18 rules. About 0 are common, 11 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When operating in this repository, you (Claude) should follow this workflow:
- Very specific: line 13
Read user-provided background from context/from-human/
- Very specific: line 15
Check historical context in context/from-history/
- Distinctive: line 26
Document findings in real-time
- Very specific: line 32
Create reformatted versions (TTS, SSML) in outputs/reformatted/
- Very specific: line 35
Keep research notes in notes/
- Very specific: line 70
When the user invokes /initiate-research or is clearly conducting deep research:
- Distinctive: line 72
Be Systematic: Follow the research workflow methodically
- Distinctive: line 73
Be Thorough: Don't skip steps, explore thoroughly
- Distinctive: line 75
Ask Clarifying Questions: When research direction is unclear
- Very specific: line 80
Use descriptive filenames with dates: 2025-11-02-topic-name.md
- Distinctive: line 81
Keep raw research separate from synthesized outputs
- Distinctive: line 88
Create both detailed and summary versions
- Distinctive: line 92
Start broad, then narrow based on findings
- Distinctive: line 93
Follow promising threads deeply
- Distinctive: line 94
Document dead ends to avoid repetition
- Very specific: line 102
Add custom commands in .claude/commands/
- Distinctive: line 116
Synthesize regularly: - Don't wait until the end to aggregate
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md - Deep Research Repository Instructions
Purpose
This repository implements the Claude Deep Research Model - a structured approach to conducting comprehensive research using Claude Code.
Research Workflow
When operating in this repository, you (Claude) should follow this workflow:
1. Context Gathering Phase
- Review materials in
context/directories - Read user-provided background from
context/from-human/ - Process any internet research in
context/from-internet/ - Check historical context in
context/from-history/
2. Prompt Planning Phase
- Draft research prompts in
prompts/drafting/ - Organize them by research depth and sequence
- Move finalized prompts to
prompts/queue/
3. Research Execution Phase
- Execute initial exploratory prompts from
prompts/run/initial/ - Generate follow-up questions based on findings
- Store follow-ups in
prompts/run/subsequent/ - Document findings in real-time
4. Output Generation Phase
- Save individual research outputs to
outputs/individual/ - Aggregate related findings in
outputs/aggregated/ - Generate synthesized reports
- Create reformatted versions (TTS, SSML) in
outputs/reformatted/
5. Documentation Phase
- Keep research notes in
notes/ - Document methodology decisions
- Track research threads and connections
Directory Structure
├── context/ # Research context and source materials
│ ├── from-internet/ # Web research, papers, articles
│ ├── from-human/ # User-provided context and requirements
│ └── from-history/ # Previous conversation histories
├── prompts/ # Research prompts by stage
│ ├── drafting/ # Draft prompts
│ ├── queue/ # Prompts ready to execute
│ └── run/ # Executed prompts
│ ├── initial/ # Starting prompts
│ └── subsequent/ # Follow-up prompts
├── outputs/ # Research outputs
│ ├── individual/ # Single-topic outputs
│ ├── aggregated/ # Synthesized outputs
│ │ ├── pdf/ # PDF reports
│ │ ├── mk-combined/# Combined markdown
│ │ └── diagram-enrichments/
│ └── reformatted/ # Alternative formats
│ ├── tts-safe-txt/
│ └── ssml/
├── pipeline/ # Workflow automation
│ └── audio-dropoff/ # Audio processing queue
├── notes/ # Research notes and documentation
└── scratchpad/ # Working area for experimentsBehavioral Guidelines
Deep Research Mode
When the user invokes /initiate-research or is clearly conducting deep research:
- Be Systematic: Follow the research workflow methodically
- Be Thorough: Don't skip steps, explore thoroughly
- Document Everything: Save insights, questions, and findings
- Ask Clarifying Questions: When research direction is unclear
- Generate Follow-ups: Proactively identify knowledge gaps
- Synthesize Regularly: Combine findings into coherent outputs
File Management
- Use descriptive filenames with dates:
2025-11-02-topic-name.md - Keep raw research separate from synthesized outputs
- Archive completed research in appropriate directories
- Maintain clear connections between prompts and outputs
Output Quality
- Generate comprehensive, well-structured outputs
- Include citations and source references
- Create both detailed and summary versions
- Format outputs for multiple use cases (reading, TTS, PDF)
Research Depth
- Start broad, then narrow based on findings
- Follow promising threads deeply
- Document dead ends to avoid repetition
- Build on previous research iterations
Slash Commands
Available slash commands for this repository:
/initiate-research- Start a new deep research project- Add custom commands in
.claude/commands/
Working with Agents
Specialized agents for research tasks can be found in .claude/agents/:
- Research coordinators
- Output synthesizers
- Citation managers
Best Practices
- Always start with context - Review existing materials before researching
- Document the journey - Notes are as valuable as outputs
- Version your prompts - Track how research questions evolve
- Synthesize regularly - Don't wait until the end to aggregate
- Use the scratchpad - Experiment freely without cluttering main outputs
Integration with Pipeline
The pipeline/ directory supports automated workflows:
- Audio research inputs can be dropped in
pipeline/audio-dropoff/in-queue/ - Processed transcripts move to
pipeline/audio-dropoff/processed/ - Extend with your own automation scripts
Deliverables
At the end of a research session, ensure:
- Individual findings documented in
outputs/individual/ - Aggregated report in
outputs/aggregated/mk-combined/ - PDF version generated in
outputs/aggregated/pdf/ - Research notes updated in
notes/ - Conversation history archived in
context/from-history/ - Outstanding questions documented for next session
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.

