Deep Research ๐ฌ
by @wyatt88
Deep web research with multi-round search, cross-verification, and structured reports with citations. Enhances web_search and web_fetch into a full research...
clawhub install research-dive๐ About This Skill
name: deep-research description: >- Deep web research with multi-round search, cross-verification, and structured reports with citations. Enhances web_search and web_fetch into a full research workflow. Use when: user asks to research a topic in depth, investigate something thoroughly, compare options with evidence, write a research report, or needs more than a simple search answer. Trigger phrases: "research", "deep dive", "investigate", "่ฐ็ ", "ๆทฑๅบฆๆ็ดข", "ๅธฎๆ็ ็ฉถ", "่ฏฆ็ปไบ่งฃไธไธ", "ๅฏนๆฏๅๆ", "compare X vs Y", "what are the pros and cons of", "็ปผๅๅๆ". NOT for: simple factual lookups ("what's the capital of France"), real-time data (stock prices, live scores), or browsing/interacting with a specific website (use browser). metadata: openclaw: emoji: "๐ฌ"
Deep Research ๐ฌ
Multi-round web research with question decomposition, cross-verification, and structured reports with numbered citations.
Architecture
Three-step agent-assisted pipeline. No external API keys needed โ uses OpenClaw
built-in web_search and web_fetch tools.
โโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ plan โ โโโถ โ analyze โ โโโถ โ report โ
โ (่ๆฌ) โ โ (่ๆฌ) โ โ (่ๆฌ) โ
โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ
โ search_ โ fetch_ โ
โ commands โ commands โ report
โผ โผ โผ skeleton
Agent ๆง่ก Agent ๆง่ก Agent ๅกซๅ
web_search web_fetch ๅๆๅ
ๅฎน
Script path: scripts/research.py (relative to this skill directory)
Workflow
Step 1: Plan โ ็ๆๆ็ดขๆไปค
python3 scripts/research.py plan "topic" --depth standard
Output JSON contains search_commands โ a list of web_search tool calls.
Agent executes each one and collects results into a JSON array:
[
{"query": "...", "results": [{"title": "...", "url": "...", "snippet": "..."}, ...]},
...
]
Save to a temp file (e.g., /tmp/search-results.json).
Step 2: Analyze โ ๅป้ๆๅบ + ็ๆ fetch ๆไปค
python3 scripts/research.py analyze /tmp/search-results.json --top 8
Output JSON contains:
selected_sources: Deduplicated, tier-sorted source listfetch_commands: web_fetch tool calls for top URLssummary: Human-readable source overviewAgent executes each web_fetch and collects results into a JSON array:
[
{"url": "...", "text": "extracted content...", "length": 12345},
...
]
Save to /tmp/fetch-results.json.
Step 3: Report โ ็ๆๆฅๅ้ชจๆถ
python3 scripts/research.py report \
--topic "topic" \
--search /tmp/search-analysis.json \
--fetch /tmp/fetch-results.json \
--depth standard --save
Output: Markdown report with {FILL: ...} placeholders.
Agent reads the Source Content section and fills in analysis.
Depth Levels
Auto-detect from query complexity, or user specifies.
Quick โก (โค30s)
--depth quick โ 1 sub-question, 2 fetchesStandard ๐ (2-3 min)
--depth standard โ 4-5 sub-questions, 8 fetchesresearch/Deep ๐ฌ (5-10 min)
--depth deep โ 7 sub-questions (includes contrarian), 15 fetches sessions_spawn:
mode: run
task: |
Execute these web_search calls: {subset of search_commands}
Return results as JSON array.
User overrides: "ๅฟซ้ๆไธไธ" โ Quick, "่ฏฆ็ป็ ็ฉถ" โ Standard, "ๆทฑๅบฆ่ฐ็ " โ Deep
Source Authority Tiers
Script auto-classifies:
Cross-Verification (Standard & Deep)
After report skeleton is generated, agent verifies:
Report Output
IM Summary
๐ฌ Research: {topic}{2-4 paragraph summary}
Key takeaways:
Finding 1 [1][2]
Finding 2 [3] ๐ Confidence: {๐ข/๐ก/๐ด}
๐ Full report: research/{slug}-{date}.md
Full Report
Saved to research/{topic-slug}-{YYYYMMDD}.md with: