
deep-research
当用户要求"调研"、"深度调研"、"帮我研究"、"调研下这个",或提到需要搜索、整理、汇总指定主题的技术内容时,应使用此技能。
- Installs
- 73
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill deep-research- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads deep-research automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
深度调研技能(Deep Research Skill)
技能概述
此技能用于对技术主题进行深度调研,输出专业的调研报告文档。
| 能力 | 说明 |
|---|---|
| 内容提取 | 从 URL、文档中提取核心信息 |
| 深度调研 | 联网搜索补充背景、对比、最新进展 |
| 报告生成 | 默认生成 Markdown 和 Word 两个版本 |
| 图解生成 | 为核心概念生成技术信息图 |
| Word 格式化 | 自动处理目录、标题加粗、表格实线等样式 |
触发规则
当用户消息包含以下关键词时使用此技能:
- 调研、深度调研、调研报告
- 帮我研究、帮我分析
- 调研下这个、看看这个
输出规范
每次调研任务必须同时提供:
- Markdown 版本:用于 Obsidian 知识库沉淀和双链关联
- Word 版本:用于正式汇报和外部分享,需经过脚本格式化处理
目录结构
每个调研主题创建独立文件夹,保持整洁:
{output_dir}/
├── Ralph-Loop/ # 主题文件夹(英文短横线命名)
│ ├── images/ # 该主题的信息图
│ │ ├── architecture.png
│ │ └── comparison.png
│ ├── Ralph-Loop调研报告.md # Markdown 报告
│ └── Ralph-Loop调研报告.docx # Word 报告
├── MCP-Protocol/
│ ├── images/
│ ├── MCP-Protocol调研报告.md
│ └── MCP-Protocol调研报告.docx
└── ...
命名规范:
- 文件夹名:英文,单词间用短横线连接,如
Ralph-Loop、MCP-Protocol - 报告文件:
{主题名}调研报告.md和{主题名}调研报告.docx - 图片目录:每个主题文件夹下单独的
images/目录
调研流程
第一步:创建主题目录
根据调研主题创建独立文件夹:
mkdir -p "{output_dir}/{主题名}/images"
第二步:内容获取
- 如果用户提供 URL,使用 webfetch 获取内容
- 提炼核心概念、技术原理、关键信息
- 识别需要深入调研的点
第三步:深度调研
使用 Task 工具进行联网搜索,补充:
- 技术背景和发展历程
- 竞品对比和差异化
- 社区讨论和实际案例
- GitHub 仓库和开源实现
- 最新进展和趋势
第四步:图解生成
使用预设风格脚本生成统一手绘风格的信息图。
生图触发规则
| 内容类型 | 是否生图 | 图解类型 | 说明 |
|---|---|---|---|
| 核心架构/原理 | 必须 | arch | 系统结构、技术栈、模块组成 |
| 流程/步骤 | 必须 | flow | 工作流、执行顺序、操作步骤 |
| A vs B 对比 | 必须 | compare | 两种方案/技术的对比 |
| 3个以上要素 | 建议 | concept | 核心概念、多个方面组成 |
| 纯文字表格 | 不需要 | - | 用 Markdown 表格即可 |
| 代码示例 | 不需要 | - | 用代码块即可 |
预设风格模板
所有配图统一使用手绘体可视化风格,保持系列一致性:
| 类型 | 命令参数 | 配色 | 布局 |
|---|---|---|---|
| 架构图 | -t arch | 科技蓝 #4A90D9 | 分层/模块化 |
| 流程图 | -t flow | 蓝+绿+橙 | 从上到下 |
| 对比图 | -t compare | 蓝 vs 橙 | 左右分栏 |
| 概念图 | -t concept | 蓝紫渐变 | 中心发散 |
生成命令
使用 research_image.py 脚本生成:
# 架构图
python .opencode/skills/image-service/scripts/research_image.py \
-t arch \
-n "Ralph Loop 核心架构" \
-c "展示 Prompt、Agent、Stop Hook、Files 四个模块的循环关系" \
-o "{output_dir}/{主题名}/images/architecture.png"
# 流程图
python .opencode/skills/image-service/scripts/research_image.py \
-t flow \
-n "Stop Hook 工作流程" \
-c "Agent尝试退出、Hook触发、检查条件、允许或阻止退出的完整流程" \
-o "{output_dir}/{主题名}/images/flow.png"
# 对比图
python .opencode/skills/image-service/scripts/research_image.py \
-t compare \
-n "ReAct vs Ralph Loop" \
-c "左侧ReAct依赖自我评估停止,右侧Ralph使用外部Hook控制" \
-o "{output_dir}/{主题名}/images/comparison.png"
# 概念图
python .opencode/skills/image-service/scripts/research_image.py \
-t concept \
-n "状态持久化要素" \
-c "中心是Agent,周围是progress.txt、prd.json、Git历史、代码文件" \
-o "{output_dir}/{主题名}/images/concept.png"
图片命名规范
| 图解类型 | 文件名 |
|---|---|
| 架构图 | architecture.png 或 {具体名称}_arch.png |
| 流程图 | flow.png 或 {具体名称}_flow.png |
| 对比图 | comparison.png 或 {A}_vs_{B}.png |
| 概念图 | concept.png 或 {具体名称}_concept.png |
第五步:报告撰写
按标准模板撰写 Markdown 报告,存放到主题文件夹:
{output_dir}/{主题名}/{主题名}调研报告.md
报告中引用图片使用相对路径:

第六步:Word 导出
# 进入主题目录
cd "{output_dir}/{主题名}"
# 生成 Word(--resource-path=. 确保图片正确引用)
# 注意:不要使用 --toc 参数,因为 Markdown 中已有手写目录
pandoc "{主题名}调研报告.md" -o "{主题名}调研报告.docx" --resource-path=.
# 格式化 Word
python ../../../.opencode/skills/deep-research/scripts/format_docx.py "{主题名}调研报告.docx"
写作原则
调研报告的核心价值:深入研究、降低团队吸收成本、提供专家级建议。
- 理解透彻:不能一知半解或大段拷贝,必须消化吸收后用自己的话表达
- 体现思考:有判断、有建议,而非仅仅陈述现状
- 细节佐证:有过程和细节支撑结论,不空谈
- 逻辑清晰:有分段、有结构、有编号
- 配图说明:核心概念必须配信息图
- 去除 AI 味:
- 不使用「」、" " 等特殊符号
- 不用过多强调符号和 emoji
- 行文自然流畅,像人写的专业文档
- 避免"首先、其次、总之"等套话
报告模板
---
date: YYYY-MM-DD
type: 调研报告
领域: {技术领域}
tags: [调研, {主题关键词}]
---
# XX调研报告
> 调研日期:YYYY年M月D日
---
## 目录
- 一、简介
- 二、启示
- 三、核心介绍
- 3.1 XXX
- 3.2 XXX
- 四、附录
- 4.1 详细文档
- 4.2 参考资料
---
## 一、简介
(快速说明调研内容,简短重点)
是什么,主要用来做什么,属于什么类别。有哪些能力,有什么特点。和竞品相比,有哪些区别,主打什么。
1. 要点一
2. 要点二
3. 要点三
---
## 二、启示
(调研内容带来的启示、值得学习借鉴之处、与现有产品如何结合、是否值得推荐)
1. 启示一
2. 启示二
3. 启示三
---
## 三、核心介绍
(正文部分,详细说明调研内容的原理/搭建/操作/使用过程,含信息图及流程说明)
### 3.1 XXX

上图展示了...(图解说明,让读者看图就能理解)
详细内容...
### 3.2 XXX
详细内容...
---
## 四、附录
### 4.1 详细文档
(更详细的配置/操作过程)
### 4.2 参考资料
**官方文档**
- 文档名称: https://xxx
**开源实现**
- 项目名称: https://github.com/xxx
**社区讨论**
- 讨论来源: https://xxx
脚本说明
format_docx.py
Word 文档格式化脚本,功能包括:
- 标题居中,黑色字体(去除 pandoc 默认蓝色)
- "Table of Contents" 替换为中文"目录"
- 目录页单独一页
- 一级标题(简介、启示等)前自动分页
- 表格保持完整不跨页断开
- 代码块保持完整不断开
- 日期行居中
用法:
python .opencode/skills/deep-research/scripts/format_docx.py "输入.docx" ["输出.docx"]
完整调研示例
用户输入:
调研下 Ralph Loop
执行流程:
# 1. 创建主题目录
mkdir -p "{output_dir}/Ralph-Loop/images"
# 2. 获取内容(如有 URL)
webfetch https://example.com/article
# 3. 深度调研(使用 Task 工具联网搜索)
# 4. 生成信息图
python .opencode/skills/image-service/scripts/text_to_image.py "技术架构图..." --output "{output_dir}/Ralph-Loop/images/architecture.png"
# 5. 撰写报告
# 写入 {output_dir}/Ralph-Loop/Ralph-Loop调研报告.md
# 6. 导出 Word(不使用 --toc,Markdown 已有手写目录)
cd "{output_dir}/Ralph-Loop"
pandoc "Ralph-Loop调研报告.md" -o "Ralph-Loop调研报告.docx" --resource-path=.
python ../../../.opencode/skills/deep-research/scripts/format_docx.py "Ralph-Loop调研报告.docx"
输出文件:
{output_dir}/Ralph-Loop/
├── images/
│ ├── architecture.png
│ └── comparison.png
├── Ralph-Loop调研报告.md
└── Ralph-Loop调研报告.docx
依赖
- pandoc:Markdown 转 Word
- python-docx:Word 格式化
- image-service 技能:生成信息图
FAQ
What does the deep-research skill do?
当用户要求"调研"、"深度调研"、"帮我研究"、"调研下这个",或提到需要搜索、整理、汇总指定主题的技术内容时,应使用此技能。
How do I install deep-research?
Run npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill deep-research in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/deep-research/ (personal) or .claude/skills/deep-research/ (project).
Which AI agents can use deep-research?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is deep-research safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains deep-research?
It is published by zrt-ai-lab in zrt-ai-lab/opencode-skills. It has 73 recorded installs.
More from zrt-ai-lab/opencode-skills
auto-douyin
zrt-ai-lab/opencode-skills
抖音视频自动发布技能。当用户需要发布视频到抖音时使用这个技能。技能包含:获取登录Cookie、上传视频、设置标题话题、定时发布等功能。
videocut-clip
zrt-ai-lab/opencode-skills
Open the skill to read its SKILL.md instructions.
auto-weixin-video
zrt-ai-lab/opencode-skills
Open the skill to read its SKILL.md instructions.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。