liangdabiao/Claude-Code-Deep-Research-main
利用claude code agent框架一步一步实现deep research!很强大很简单的skills。我一步一步介绍实现deep research,因为deep research就是agent框架第一应用,对比一下各个框架实现这个deep research,就知道哪个框架才是真厉害。
Deep Analysis
基于Claude Code框架的多Agent深度研究系统,实现图论推理和引文验证的学术级研究工具
Core Features
图论推理引擎
GoT框架管理研究路径,支持生成、聚合、优化操作
7阶段研究流程
从问题优化到引文验证的完整结构化研究方法
多Agent并行处理
3-8个专业化研究Agent同时执行,提高研究效率
引文验证系统
A-E等级源质量评估,防止幻觉和假信息传播
Technical Implementation
通过5-6个澄清问题将模糊需求转化为结构化prompt
分解主题为子主题,部署Agent,预估时间
多Agent并行执行,综合来源信息
汇聚多Agent输出为统一报告
检验所有断言来源,评估质量等级
- 支持快速(10-15分钟)到深入(45-90分钟)的多档次研究模式
- 内置A-E源质量评估,确保学术级别的引文准确性
- 8个独立命令支持工作流拆解,灵活适配不同研究场景
- 图论框架支持深度优先、广度优先、平衡等多种搜索策略
- 医疗健康领域市场研究与竞争分析
- WebAssembly等技术评估与性能对比
- 学术文献综述和系统性理论研究
- 企业战略决策的深度背景调查
Claude Code Deep Research Agent
A sophisticated multi-agent research framework that implements OpenAI's Deep Research and Google Gemini's Deep Research capabilities using Claude Code's native features.
Overview
This project leverages Claude Code's Skills and Commands system to conduct comprehensive, citation-backed research through:
- Graph of Thoughts (GoT) Framework - Intelligent research path management with graph-based reasoning
- 7-Phase Deep Research Process - Structured methodology for quality research
- Multi-Agent Architecture - Parallel research agents with specialized roles
- Citation Validation System - A-E source quality ratings with chain-of-verification
Quick Start
Prerequisites
- Claude Code CLI installed
- Active Claude Code account with API access
Installation
- Clone this repository:
git clone <repository-url>
cd Claude-Code-Deep-Research-main
- The Skills and Commands are already configured in
.claude/directory
Basic Usage
The simplest way to conduct deep research:
/deep-research [your research topic]
Example:
/deep-research AI applications in clinical diagnosis
This single command will:
- Ask clarifying questions to refine your research needs
- Create a structured research plan
- Deploy multiple parallel research agents
- Synthesize findings into a comprehensive report
- Validate all citations
- Output results to
RESEARCH/[topic]/directory
Advanced Usage
Step-by-Step Research Workflow
For more control over the research process:
1. Refine Your Question
/refine-question Should I use WebAssembly for my project?
The Question Refiner will ask 5-6 clarifying questions about:
- Specific focus areas
- Output format requirements
- Geographic and time scope
- Target audience
- Special requirements
2. Plan Research (Optional)
/plan-research [structured prompt from step 1]
Creates a detailed execution plan showing:
- How the topic breaks into subtopics
- Which agents will be deployed
- Expected timeline
3. Execute Research
/deep-research [your topic]
4. Synthesize Findings (If needed)
/synthesize-findings RESEARCH/[topic]/research_notes/
5. Validate Citations
/validate-citations RESEARCH/[topic]/full_report.md
Project Structure
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
Research Output Structure
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
Citation Requirements
Every factual claim includes:
- Author/Organization name
- Publication date
- Source title
- Direct URL/DOI
- Page numbers (if applicable)
Source Quality Ratings:
- A: Peer-reviewed RCTs, systematic reviews, meta-analyses
- B: Cohort studies, clinical guidelines, reputable analysts
- C: Expert opinion, case reports, mechanistic studies
- D: Preprints, preliminary research, blogs
- E: Anecdotal, theoretical, speculative
Graph of Thoughts Framework
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:
- Balanced: Generate(4-5) → Score best → Deepen top → Aggregate
- Depth-first: Generate(3) → Take best → Generate(3) from it
- Breadth-first: Generate(8) → KeepBestN(5) → Generate(2) each
Documentation
| 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 |
Commands Reference
| 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 |
Examples
Market Research
/deep-research AI in healthcare market, focus on clinical diagnosis,
comprehensive report, global scope, 2022-2024 data,
audience is healthcare executives
Technical Assessment
/deep-research WebAssembly vs JavaScript performance benchmarks
Academic Literature Review
/deep-research Transformer architectures in AI,
peer-reviewed sources only, 2017-present,
comprehensive literature review
Features
- Multi-agent parallel research (3-8 agents simultaneously)
- Graph of Thoughts optimization for quality
- Automatic citation validation
- Source quality ratings (A-E scale)
- Chain-of-verification to prevent hallucinations
- Structured output with executive summaries
- Cross-source triangulation
Performance
- Quick research (narrow topic): 10-15 minutes
- Standard research (moderate scope): 20-30 minutes
- Comprehensive research (broad scope): 30-60 minutes
- Academic literature review: 45-90 minutes
Contributing
Contributions are welcome! To add new skills or improvements:
- Follow the skill structure in
.claude/skills/ - Include
SKILL.md,instructions.md,examples.md - Test with diverse research topics
- Update documentation
License
This project is provided as-is for educational and research purposes.
Acknowledgments
- Graph of Thoughts framework inspired by SPCL, ETH Zürich
- Built with Claude Code
- 7-Phase Research Process based on deep research best practices
For detailed usage instructions, see IMPLEMENTATION_GUIDE.md
For architecture details, see PROJECT_UNDERSTANDING.md
Related Skills
wshobson/agents
wshobsonIntelligent automation and multi-agent orchestration for Claude Code
The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.
ComposioHQ/awesome-claude-skills
ComposioHQA curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
The most comprehensive Claude Skills resource list; connect-apps is a killer feature.
code-yeongyu/oh-my-opencode
code-yeongyuThe Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.
Powerful multi-agent coding tool, but note OAuth limitations.
nextlevelbuilder/ui-ux-pro-max-skill
nextlevelbuilderAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
Essential for designers; comprehensive UI/UX knowledge base.
thedotmack/claude-mem
thedotmackA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.
A practical solution for Claude's memory issues.
OthmanAdi/planning-with-files
OthmanAdiClaude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.
Context engineering best practices; an open-source implementation of Manus mode.

