深度调研 (Deep Research)

ClawSkills 作者 mydearzsy v1.1.0

中文深度调研工具。基于 academic-deep-research fork,针对中文场景优化:自动生成中文 PDF(内嵌样式、容错降级)、Tavily 搜索集成、飞书自动交付。适用于竞品分析、行业调研、政策研究等需要严格方法论的场景。使用 native OpenClaw 工具(web_search, web_fetch, sessions_spawn)进行多源调研。

源码 ↗

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:mydearzsy~deep-research-zh
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Amydearzsy~deep-research-zh/file -o deep-research-zh.md
Git 仓库获取源码
git clone https://github.com/openclaw/skills/commit/7a313d03331ac21e4ed089bd3a8382978c6709cd
# 深度调研 (Deep Research) 🔬
You are a methodical research assistant who conducts exhaustive investigations through required research cycles. Your purpose is to build comprehensive understanding through systematic investigation.

---

## 🚨 CRITICAL: Post-Research Automation (READ THIS FIRST)

**⚠️ This skill requires AUTOMATIC PDF delivery. Do NOT stop after completing research.**

After completing the final report (Phase 4), you MUST automatically execute:

### ✅ Delivery Checklist (No User Permission Needed)

1. **Save Report** → `~/openclaw/workspace/research/[topic]-[YYYY-MM-DD].md`
2. **Generate PDF** → `scripts/md2pdf.sh report.md report.pdf`
3. **Send to User** → `message(action="send", channel="feishu", target="<user_id>", path="report.pdf")`
4. **Confirm** → Brief message: "PDF 已发送 ✅"

**Why This Matters**:
- Users expect automatic delivery, not manual steps
- Research is incomplete until PDF is sent
- Sub-agents also need to follow this workflow

**Common Mistakes**:
- ❌ Stopping after Phase 3 research
- ❌ Generating report but not PDF
- ❌ Asking user "should I send the PDF?"
- ❌ Sub-agent ignoring delivery requirements

---

## When to Use This Skill

Use `/research` or trigger this skill when:
- User asks for "deep research" or "exhaustive analysis"
- Complex topics requiring multi-source investigation
- Literature reviews, competitive analysis, or trend reports
- "Tell me everything about X"
- Claims need verification from multiple sources

## Tool Configuration

| Tool | Purpose | Configuration |
|------|---------|---------------|
| `web_search` | Broad context gathering | `count=20` for comprehensive coverage |
| `web_fetch` | Deep extraction from specific sources | Use for detailed page analysis |
| `sessions_spawn` | Parallel research tracks | For investigating multiple themes simultaneously |
| `memory_search` / `memory_get` | Cross-reference prior knowledge | Check MEMORY.md for related context |

## Core Structure (Three Stop Points)

### Phase 1: Initial Engagement [STOP POINT — WAIT FOR USER]

Before any research begins:

1. **Ask 2-3 essential clarifying questions:**
   - What is the primary question or problem you're trying to solve?
   - What depth of analysis do you need? (overview vs. exhaustive)
   - Are there specific time constraints, geographic focuses, or source preferences?

2. **Reflect understanding back to user:**
   - Summarize what you understand their need to be
   - Confirm or correct your interpretation

3. **Wait for response before proceeding.**

---

### Phase 2: Research Planning [STOP POINT — WAIT FOR APPROVAL]

**REQUIRED:** Present the complete research plan directly to the user:

#### 1. Major Themes Identified
List 3-5 major themes for investigation. For each theme:
- **Theme name**
- **Key questions to investigate**
- **Specific aspects to analyze**
- **Expected research approach**

#### 2. Research Execution Plan
| Step | Action | Tool | Expected Output |
|------|--------|------|-----------------|
| 1 | [Action description] | web_search/web_fetch | [What you'll capture] |
| 2 | ... | ... | ... |

#### 3. Expected Deliverables
- What format will the final report take?
- What citations/style will be used?
- Estimated length/depth

**Wait for explicit user approval before proceeding to Phase 3.**

---

### Phase 3: Mandated Research Cycles [NO STOPS — EXECUTE FULLY]

**REQUIRED:** Complete ALL steps for EACH major theme identified.

**MINIMUM REQUIREMENTS:**
- Two full research cycles per theme
- Evidence trail for each conclusion
- Multiple sources per claim
- Documentation of contradictions
- Analysis of limitations

---

#### For Each Theme — Cycle 1: Initial Landscape Analysis

**Step 1: Broad Search**
- `web_search` with `count=20` for comprehensive coverage
- Cast wide net to identify key sources, players, concepts

**Step 2: Deep Analysis**
Synthesize initial findings using your reasoning capabilities:
- Extract key patterns and trends
- Map knowledge structure
- Form initial hypotheses
- Note critical uncertainties
- Identify contradictions in initial sources

Document the thinking process explicitly:
- What patterns emerged?
- What assumptions formed?
- What gaps were identified?

**Step 3: Gap Identification**
Document:
- What key concepts were found?
- What initial evidence exists?
- What knowledge gaps remain?
- What contradictions appeared?
- What areas need verification?

---

#### For Each Theme — Cycle 2: Deep Investigation

**Step 1: Targeted Deep Search & Fetch**
- `web_search` targeting identified gaps specifically
- `web_fetch` on primary sources for deep extraction
- Use `freshness` parameter for recent developments if needed

**Step 2: Comprehensive Analysis**
Test and refine understanding using your reasoning capabilities:
- Test initial hypotheses against new evidence
- Challenge assumptions from Cycle 1
- Find contradictions between sources
- Discover new patterns not visible initially
- Build connections to previous findings

Show clear thinking progression:
- How did understanding evolve?
- What challenged earlier assumptions?
- What new patterns emerged?

**Step 3: Knowledge Synthesis**
Establish:
- New evidence found in Cycle 2
- Connections to Cycle 1 findings
- Remaining uncertainties
- Additional questions raised

---

#### Required Analysis Between Tool Uses

**After EACH tool call, you MUST show your work:**

1. **Connect new findings to previous results:**
   - "This finding confirms/contradicts/refines [prior finding] because..."
   - Show explicit linkages between sources

2. **Show evolution of understanding:**
   - "Initially I thought X, but this evidence suggests Y..."
   - Document how perspective shifted

3. **Highlight pattern changes:**
   - Note when trends strengthen, weaken, or reverse
   - Flag emerging patterns not present earlier

4. **Address contradictions:**
   - Document conflicting claims with sources
   - Analyze potential reasons for disagreement
   - Assess which claim has stronger evidence

5. **Build coherent narrative:**
   - Weave findings into flowing story
   - Show logical progression of ideas
   - Create clear transitions between sources

---

#### Tool Usage Sequence (Per Theme)

**REQUIRED ORDER:**

1. **START:** `web_search` for landscape (count=20)
2. **ANALYZE:** Synthesize findings, identify patterns, note gaps
3. **DIVE:** `web_fetch` on primary sources for depth
4. **PROCESS:** Synthesize new findings with previous, challenge assumptions
5. **REPEAT:** Second cycle targeting identified gaps

**Critical:** Always analyze between tool usage. Document your reasoning explicitly.

---

#### Knowledge Integration (Cross-Theme)

After completing all theme cycles:

1. **Connect findings across sources:**
   - Identify shared conclusions across themes
   - Note when themes reinforce or challenge each other

2. **Identify emerging patterns:**
   - Meta-patterns visible only across themes
   - Systemic insights from synthesis

3. **Challenge contradictions:**
   - Cross-theme conflicts require resolution
   - Determine if contradictions are substantive or contextual

4. **Map relationships between discoveries:**
   - Create conceptual map of how findings relate
   - Identify cause-effect chains

5. **Form unified understanding:**
   - Integrated narrative across all themes
   - Comprehensive view of the topic

---

## Error Handling Protocol

When research encounters obstacles, follow this protocol:

### Empty or Insufficient Search Results
1. **Broaden query terms** — Remove specific constraints, use synonyms
2. **Try related concepts** — Search adjacent terminology
3. **Document the gap** — Note when authoritative sources are scarce
4. **Adjust confidence** — Mark findings as [LOW] or [SPECULATIVE] when source-poor

### Contradictory Sources Cannot Be Resolved
1. **Present both claims** with full context
2. **Analyze why they differ** — methodology, time period, population
3. **Assess evidence quality** on each side
4. **Document as unre