agentleFS
Paddychief92Paddychief92/Claude-Deep-Research-Template/CLAUDE.md

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
  1. Distinctive:

    When operating in this repository, you (Claude) should follow this workflow:

    line 9
  2. Very specific:

    Read user-provided background from context/from-human/

    line 13
  3. Very specific:

    Check historical context in context/from-history/

    line 15
  4. Distinctive:

    Document findings in real-time

    line 26
  5. Very specific:

    Create reformatted versions (TTS, SSML) in outputs/reformatted/

    line 32
  6. Very specific:

    Keep research notes in notes/

    line 35
  7. Very specific:

    When the user invokes /initiate-research or is clearly conducting deep research:

    line 70
  8. Distinctive:

    Be Systematic: Follow the research workflow methodically

    line 72
  9. Distinctive:

    Be Thorough: Don't skip steps, explore thoroughly

    line 73
  10. Distinctive:

    Ask Clarifying Questions: When research direction is unclear

    line 75
  11. Very specific:

    Use descriptive filenames with dates: 2025-11-02-topic-name.md

    line 80
  12. Distinctive:

    Keep raw research separate from synthesized outputs

    line 81
  13. Distinctive:

    Create both detailed and summary versions

    line 88
  14. Distinctive:

    Start broad, then narrow based on findings

    line 92
  15. Distinctive:

    Follow promising threads deeply

    line 93
  16. Distinctive:

    Document dead ends to avoid repetition

    line 94
  17. Very specific:

    Add custom commands in .claude/commands/

    line 102
  18. Distinctive:

    Synthesize regularly: - Don't wait until the end to aggregate

    line 116

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 experiments

Behavioral Guidelines

Deep Research Mode

When the user invokes /initiate-research or is clearly conducting deep research:

  1. Be Systematic: Follow the research workflow methodically
  2. Be Thorough: Don't skip steps, explore thoroughly
  3. Document Everything: Save insights, questions, and findings
  4. Ask Clarifying Questions: When research direction is unclear
  5. Generate Follow-ups: Proactively identify knowledge gaps
  6. 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

  1. Always start with context - Review existing materials before researching
  2. Document the journey - Notes are as valuable as outputs
  3. Version your prompts - Track how research questions evolve
  4. Synthesize regularly - Don't wait until the end to aggregate
  5. 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.