deep-research

deep-research is a skill for Claude Code from z0gSh1u/oh-my-writing-skill. It costs 68 tokens per session (1,633 once invoked), scanned A, original, MIT.

A research assistant skill that searches the internet on a given topic and organises the findings into a Markdown report with source links.

In plain words
What is it for?
Use it to gather background material, current information, and cited sources before writing an article, report, or other content.
Why use it?
It removes the need to search from scratch and manually combine information from many pages. It can use available search tools or fall back to another search method when needed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the oh-my-writing-skill plugin — 9 skills shipped together

Good fit Use it to gather background material, current information, and cited sources before writing an article, report, or other content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/z0gsh1u/oh-my-writing-skill/deep-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add z0gSh1u/oh-my-writing-skill --skill deep-research
Clone the repo
git clone --depth 1 https://github.com/z0gSh1u/oh-my-writing-skill

Made for: Claude Code.

Or install oh-my-writing-skill, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deep-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/deep-research/github.svg)](https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/deep-research)
Your own site
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/deep-research"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/deep-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deep-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/deep-research"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/deep-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01633
Opus 5 $0.00034 $0.00816
Sonnet 5 $0.00014 $0.00327
Haiku 4.5 $0.00007 $0.00163

Measured 12d ago against content hash 2a82d24d5830, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

deep-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/research.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deep-research/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

深度研究 Skill

你是一个专业的研究助手,负责对给定选题进行联网搜索和资料收集。

搜索工具自动检测

本 Skill 会自动检测当前环境中可用的网络搜索工具,按以下优先级顺序选择:

  1. Claude 内置 WebSearch:Claude 原生模型的默认搜索工具
  2. MCP 搜索工具:自定义模型厂商提供的搜索工具,常见名称如mcp__minimax__web_search,或其他包含 searchweb 关键词的 MCP 工具
  3. DDGS 回退:当以上工具均不可用时,使用 ddgs Python 库

检测流程

开始搜索
    │
    ├── WebSearch 可用? ──是──▶ 使用 WebSearch
    │
    ├── MCP 搜索工具可用? ──是──▶ 使用 MCP 工具
    │
    └── 都不可用 ──▶ 回退到 DDGS
搜索方式 工具 特点
WebSearch Claude 内置 搜索质量高、结果更相关
MCP 搜索工具 厂商提供(如 Brave、Tavily、Exa 等) 自定义模型的搜索能力
DDGS(回退) ddgs Python 库 免费、不消耗额度

核心能力

  1. 多维度搜索:围绕主题生成多个搜索关键词,从不同角度收集信息
  2. 时效性控制:支持按时间范围过滤结果(天/周/月/年)
  3. 来源追溯:所有信息都附带原始来源链接
  4. 结构化输出:将收集的资料整理为易于使用的 Markdown 格式

使用方式

联网搜索(优先)

当检测到可用的网络搜索工具时,直接使用该工具进行搜索。

执行步骤:

  1. 检测可用的搜索工具(WebSearch 或 MCP 搜索工具)
  2. 围绕主题生成 3-5 个搜索关键词(主关键词 + 扩展词如"最新"、"评测"、"教程")
  3. 依次使用搜索工具搜索每个关键词
  4. 整理搜索结果,按 URL 去重
  5. 输出结构化的 Markdown 研究报告(格式见下方"输出格式"章节)

示例调用:

# Claude 原生环境
使用 WebSearch 搜索: "AI 写作工具"

# 自定义模型环境(示例)
使用 mcp__brave__web_search 搜索: "AI 写作工具"

DDGS 回退

当没有可用的网络搜索工具时,回退到 ddgs Python 库。

执行步骤:

运行研究脚本:

python scripts/research.py "搜索主题" --max_results 20 --timelimit m --region zh-cn

参数说明:

  • query:搜索主题(必填)
  • --max_results:每个关键词返回的最大结果数(默认 10)
  • --timelimit:时间限制,可选 d(天)、w(周)、m(月)、y(年)
  • --region:搜索区域,如 zh-cnus-en
  • --expand:是否扩展关键词(默认开启)
  • --output:输出文件路径(默认输出到标准输出)

输出格式

无论使用哪种搜索模式,都应输出统一格式的 Markdown 研究报告:

# 研究报告:[主题]

## 搜索概览

- 搜索时间:2026-01-21
- 搜索模式:WebSearch / DDGS
- 关键词:主关键词, 扩展关键词1, 扩展关键词2
- 结果数量:XX 条

## 核心发现

### 1. [发现标题]

[内容摘要]

> 来源:[标题](URL)

### 2. [发现标题]

...

## 参考资料

1. [标题1](URL1)
2. [标题2](URL2)
   ...

研究策略

关键词扩展

对于主题 "AI 写作工具",会自动扩展为:

  • AI 写作工具(原始关键词)
  • AI 写作工具 评测/对比
  • AI 写作工具 使用教程
  • AI 写作工具 最新动态

Read the full file on GitHub · 202 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 202 lines · 68 tokens per session scan A 2a82d24d5830

Subscribe to this mod's changes

deep-research is a skill published in the GitHub repository z0gSh1u/oh-my-writing-skill (33 stars, last pushed 6mo ago), licensed MIT. It adds 68 tokens to every session and 1,633 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens