介绍
# Deep Research Pro 🔬
一个强大、独立的深度研究技能,能够利用多个网络来源生成详尽且附带引用的报告。无需付费 API —— 使用 DuckDuckGo 搜索。
## 工作原理
当用户要求研究某个主题时,请遵循以下工作流程:
### 步骤 1:明确目标(30 秒)
提出 1-2 个快速的澄清问题: - "您的目标是什么 —— 学习、做决策,还是撰写材料?" - "是否有特定的角度或深度要求?"
如果用户说 "直接研究就行" —— 则跳过此步骤,采用合理的默认设置。
### 步骤 2:规划研究(在搜索前先思考)
将主题分解为 3-5 个研究子问题。例如: - 主题:"人工智能对医疗保健的影响" - 当今医疗保健领域的主要 AI 应用有哪些? - 已测量的临床结果有哪些? - 监管挑战有哪些? - 哪些公司处于领先地位? - 市场规模和增长轨迹如何?
### 步骤 3:执行多源搜索
针对**每个**子问题,运行 DDG 搜索脚本:
```bash # Web search /home/clawdbot/clawd/skills/ddg-search/scripts/ddg "<sub-question keywords>" --max 8
# News search (for current events) /home/clawdbot/clawd/skills/ddg-search/scripts/ddg news "<topic>" --max 5 ```
**搜索策略:** - 每个子问题使用 2-3 种不同的关键词变体 - 混合网页和新闻搜索 - 目标是总共 15-30 个独立来源 - 优先级:学术、官方、权威新闻 > 博客 > 论坛
### 步骤 4:深度阅读关键来源
对于最有希望的 URL,获取完整内容:
```bash curl -sL "<url>" | python3 -c " import sys, re html = sys.stdin.read() # Strip tags, get text text = re.sub('<[^>]+>', ' ', html) text = re.sub(r'\s+', ' ', text).strip() print(text[:5000]) " ```
完整阅读 3-5 个关键来源以获取深度信息。不要仅依赖搜索片段。
### 步骤 5:综合并撰写报告
将报告构建为:
```markdown # [Topic]: Deep Research Report *Generated: [date] | Sources: [N] | Confidence: [High/Medium/Low]*
## Executive Summary [3-5 sentence overview of key findings]
## 1. [First Major Theme] [Findings with inline citations] - Key point ([Source Name](url)) - Supporting data ([Source Name](url))
## 2. [Second Major Theme] ...
## 3. [Third Major Theme] ...
## Key Takeaways - [Actionable insight 1] - [Actionable insight 2] - [Actionable insight 3]
## Sources 1. [Title](url) — [one-line summary] 2. ...
## Methodology Searched [N] queries across web and news. Analyzed [M] sources. Sub-questions investigated: [list] ```
### 步骤 6:保存并交付
保存完整报告: ```bash mkdir -p ~/clawd/research/[slug] # Write report to ~/clawd/research/[slug]/report.md ```
然后进行交付: - **简短主题**:在聊天中发布完整报告 - **长篇报告**:发布执行摘要和关键要点,并提供完整报告文件
## 质量规则
1. **每个主张都需要来源。** 没有无来源的断言。 2. **交叉引用。** 如果只有一个来源提到某点,将其标记为未经证实。 3. **时效性很重要。** 优先选择过去 12 个月内的来源。 4. **承认空白。** 如果找不到关于子问题的好信息,请说明。 5. **禁止幻觉。** 如果不知道,请说 "发现数据不足"。
## 示例
``` "Research the current state of nuclear fusion energy" "Deep dive into Rust vs Go for backend services in 2026" "Research the best strategies for bootstrapping a SaaS business" "What's happening with the US housing market right now?" ```
## 用于子代理
当作为子代理生成时,请包含完整的研究请求和上下文:
``` sessions_spawn( task: "Run deep research on [TOPIC]. Follow the deep-research-pro SKILL.md workflow. Read /home/clawdbot/clawd/skills/deep-research-pro/SKILL.md first. Goal: [user's goal] Specific angles: [any specifics] Save report to ~/clawd/research/[slug]/report.md When done, wake the main session with key findings.", label: "research-[slug]", model: "opus" ) ```
## 需求
- DDG 搜索脚本:`/home/clawdbot/clawd/skills/ddg-search/scripts/ddg` - curl(用于获取完整页面) - 无需 API 密钥!