/install chonkie-deepresearch
Chonkie DeepResearch
Run deep research queries from your agent and get comprehensive reports with citations.
Setup
Before using, check if chdr is installed (which chdr). If not:
- Install:
cargo install chdr- If
cargoisn't available, install Rust first:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- If
- Authenticate:
chdr auth login(opens browser to get an API key)- Or set
CHONKIE_API_KEYenvironment variable - Get a key at https://labs.chonkie.ai/settings/api-keys
- Or set
Usage
IMPORTANT: Research takes 2-10 minutes. Always spawn a sub-agent to avoid blocking the main thread.
Running research (recommended: sub-agent)
Use sessions_spawn to run the research in a sub-agent. The sub-agent handles the long-running query and announces the result when done, so your main agent stays responsive.
{
"tool": "sessions_spawn",
"task": "Run chdr research and save results. Steps:\
1. Run: chdr research --type report --no-stream --json \"\x3CQUERY>\" > /tmp/chdr-research-\x3CTIMESTAMP>.json\
2. Extract ID and title: python3 -c \"import json; d=json.load(open('/tmp/chdr-research-\x3CTIMESTAMP>.json')); print(d['id']); print(d.get('title','Untitled'))\"\
3. Extract body: python3 -c \"import json; d=json.load(open('/tmp/chdr-research-\x3CTIMESTAMP>.json')); print(d.get('content',{}).get('body',''))\" > /tmp/chdr-research-\x3CTIMESTAMP>.md\
4. Report back the title, ID, and URL: https://labs.chonkie.ai/research/{id}"
}
Replace \x3CQUERY> with the research query and \x3CTIMESTAMP> with $(date +%s).
Monitoring research status
Do NOT poll continuously for status. Instead, set up a cron job to check periodically (every 2-3 minutes):
# Add a cron entry to check research status every 2 minutes
# The cron should run: chdr view \x3Cid> --json | python3 -c "import json,sys; d=json.load(sys.stdin); s=d.get('status','unknown'); print(s)"
# and notify you when status is 'completed' or 'failed'
Or simply wait for the sub-agent to announce completion — it will report back automatically when the research finishes. The sub-agent approach is preferred over cron for one-off research queries.
After research completes
When the sub-agent announces completion:
- The web URL is:
https://labs.chonkie.ai/research/{id} - The full report is saved at
/tmp/chdr-research-\x3CTIMESTAMP>.md - Read only the first 100 lines for a summary — NEVER load the entire file
- Tell the user you can answer questions about the report
Answering follow-up questions
- Grep the
.mdfile to find relevant sections before reading - Use offset/limit to read only the matching section
- NEVER read the entire file into context — reports can be 20,000+ lines
Fallback: running without sub-agent
If sub-agents are unavailable, run the research command directly but warn the user it will block for several minutes:
chdr research --type report --no-stream --json "\x3Cquery>" > /tmp/chdr-research.json
Other commands
chdr ls # List recent research
chdr ls --limit 20 # List more
chdr view \x3Cid> # View a report (supports partial ID prefix)
chdr open \x3Cid> # Open in browser
chdr delete \x3Cid> # Delete a report
All commands that take an ID support prefix matching — chdr view 3a6b works if unambiguous.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chonkie-deepresearch - 安装完成后,直接呼叫该 Skill 的名称或使用
/chonkie-deepresearch触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Chonkie DeepResearch 是什么?
Run deep research queries using Chonkie DeepResearch. Returns comprehensive research reports with citations — useful for market analysis, competitive intelli... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 381 次。
如何安装 Chonkie DeepResearch?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chonkie-deepresearch」即可一键安装,无需额外配置。
Chonkie DeepResearch 是免费的吗?
是的,Chonkie DeepResearch 完全免费(开源免费),可自由下载、安装和使用。
Chonkie DeepResearch 支持哪些平台?
Chonkie DeepResearch 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chonkie DeepResearch?
由 chonknick(@chonknick)开发并维护,当前版本 v1.1.0。