by liangdabiao
利用claude code agent框架一步一步实现deep research!很强大很简单的skills。我一步一步介绍实现deep research,因为deep research就是agent框架第一应用,对比一下各个框架实现这个deep research,就知道哪个框架才是真厉害。
# Add to your Claude Code skills
git clone https://github.com/liangdabiao/Claude-Code-Deep-Research-mainA sophisticated multi-agent research framework that implements OpenAI's Deep Research and Google Gemini's Deep Research capabilities using Claude Code's native features.
This project leverages Claude Code's Skills and Commands system to conduct comprehensive, citation-backed research through:
git clone <repository-url>
cd Claude-Code-Deep-Research-main
.claude/ directoryThe simplest way to conduct deep research:
/deep-research [your research topic]
Example:
/deep-research AI applications in clinical diagnosis
This single command will:
RESEARCH/[topic]/ directoryFor more control over the research process:
/refine-question Should I use WebAssembly for my project?
The Question Refiner will ask 5-6 clarifying questions about:
/plan-research [structured prompt from step 1]
Creates a detailed execution plan showing:
/deep-research [your topic]
/synthesize-findings RESEARCH/[topic]/research_notes/
/validate-citations RESEARCH/[topic]/full_report.md
claude-code-deep-research/
├── .claude/
│ ├── skills/ # Research skills
│ │ ├── question-refiner/ # Question refinement
│ │ ├── research-executor/ # Main research execution
│ │ ├── got-controller/ # Graph of Thoughts controller
│ │ ├── citation-validator/ # Citation validation
│ │ └── synthesizer/ # Research synthesis
│ ├── commands/ # User commands
│ │ ├── deep-research.md # Main research command
│ │ ├── refine-question.md # Question refinement
│ │ ├── plan-research.md # Research planning
│ │ ├── synthesize-findings.md # Findings synthesis
│ │ └── validate-citations.md # Citation validation
│ └── settings.local.json # Tool permissions
├── RESEARCH/ # Research outputs
│ └── [topic_name]/
│ ├── README.md
│ ├── executive_summary.md
│ ├── full_report.md
│ ├── data/
│ ├── visuals/
│ ├── sources/
│ ├── research_notes/
│ └── appendices/
├── CLAUDE.md # Quick reference for Claude Code
├── CLAUDE2.md # Graph of Thoughts guide
├── PROJECT_UNDERSTANDING.md # Architecture documentation
├── IMPLEMENTATION_GUIDE.md # User guide with examples
└── README.md # This file
Each research project creates a structured output:
RESEARCH/[topic_name]/
├── README.md # Overview and navigation
├── executive_summary.md # 1-2 page key findings
├── full_report.md # Complete analysis (20-50 pages)
├── data/
│ └── statistics.md # Key numbers and facts
├── visuals/
│ └── descriptions.md # Chart/graph descriptions
├── sources/
│ ├── bibliography.md # Complete citations
│ └── source_quality_table.md # A-E quality ratings
├── research_notes/
│ └── agent_findings_summary.md # Raw agent outputs
└── appendices/
├── methodology.md # Research methods
└── limitations.md # Unknowns and gaps
Every factual claim includes:
Source Quality Ratings:
The GoT framework manages research as a graph with these operations:
| Operation | Purpose | Example | |-----------|---------|---------| | Generate(k) | Spawn k parallel research paths | Generate(4) from root → 4 research paths | | Aggregate(k) | Merge k findings into synthesis | Aggregate(3) → 1 comprehensive report | | Refine(1) | Improve existing finding | Refine(node_5) → Enhanced quality | | Score | Rate quality (0-10) | Score based on citations, accuracy | | KeepBestN(n) | Prune to top n nodes | KeepBestN(3) → Retain best 3 |
Research Patterns:
| Document | Description |
|----------|-------------|
| CLAUDE.md | Quick reference for Claude Code instances |
| CLAUDE2.md | Complete Graph of Thoughts implementation |
| PROJECT_UNDERSTANDING.md | Detailed architecture and design |
| IMPLEMENTATION_GUIDE.md | User guide with examples and workflows |
| Command | Usage | Description |
|---------|-------|-------------|
| /deep-research | /deep-research [topic] | Execute complete research workflow |
| /refine-question | /refine-question [question] | Refine into structured prompt |
| /plan-research | /plan-research [prompt] | Create execution plan |
| /synthesize-findings | /synthesize-findings [dir] | Combine research outputs |
| /validate-citations | /validate-citations [file] | Verify citation quality |
/deep-research AI in healthcare market, focus on clinical diagnosis,
comprehensive report, global scope, 2022-2024 data,
audience is healthcare executives
/deep-research WebAssembly vs JavaScript performance benchmarks
/deep-research Transformer architectures in AI,
peer-reviewed sources only, 2017-present,
comprehensive literature review
Contributions are welcome! To add new skills or improvements:
.claude/skills/SKILL.md, instructions.md, examples.mdThis project is provided as-is for educational and research purposes.
For detailed usage instructions, see IMPLEMENTATION_GUIDE.md
For architecture details, see PROJECT_UNDERSTANDING.md
No comments yet. Be the first to share your thoughts!