deep-research

deep-research is a skill for Claude Code from ZaxbyHub/opencode-swarm. It costs 82 tokens per session (2,504 once invoked), scanned A, original, MIT.

A read-only workflow for researching a question across external sources and producing a report with citations. It divides the work among researchers, checks claims with reviewers, and can challenge important claims before finalizing the report.

In plain words
What is it for?
Use it for multi-source, fact-checked research when you need a cited report or a shorter research brief.
Why use it?
It reduces the risk of relying on a single source or leaving important claims unchecked.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it for multi-source, fact-checked research when you need a cited report…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaxbyhub/opencode-swarm/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 ZaxbyHub/opencode-swarm --skill deep-research
Clone the repo
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm

Made for: Claude Code.

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/zaxbyhub/opencode-swarm/deep-research.svg)](https://agentmods.dev/skills/zaxbyhub/opencode-swarm/deep-research)
Your own site
<a href="https://agentmods.dev/skills/zaxbyhub/opencode-swarm/deep-research"><img src="https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/deep-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,504 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.00082 $0.02504
Opus 5 $0.00041 $0.01252
Sonnet 5 $0.00016 $0.00501
Haiku 4.5 $0.00008 $0.00250

Measured today against content hash 753e50f107f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 today.

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.

.claude/skills/deep-research/SKILL.md · 205 lines

How it starts

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

Deep Research Protocol

Read-only, multi-source, fact-checked research that produces a cited report. The architect is the orchestrator: it owns retrieval (web_search + web_fetch), decomposes the question, runs an iterative gather→assess→re-plan loop, dispatches parallel sme workers for synthesis, verifies claims against sources with 2 reviewers, challenges high-stakes claims with the critic, and writes the final answer. This mode does NOT mutate source code, does NOT delegate to coder, and does NOT call declare_scope.

MODE: DEEP_RESEARCH

Step 0 — Parse Header

Parse the [MODE: DEEP_RESEARCH ...] header to extract:

  • depth: standard | exhaustive (default: standard)
  • max_researchers: integer 1..6 — parallel synthesis workers per round (default: 3, or 5 for exhaustive)
  • rounds: integer 1..4 — maximum iterative research rounds (default: 2, or 3 for exhaustive)
  • output: report | brief (default: report)
  • the trailing text is the question

If the header is malformed or the question is empty, report the error and stop.

Step 1 — Pre-flight (always run first)

Read council.general from the resolved opencode-swarm config (global ~/.config/opencode/opencode-swarm.json first, then project .opencode/opencode-swarm.json override). If council.general.enabled is not true OR no search API key is configured (neither council.general.searchApiKey nor TAVILY_API_KEY / BRAVE_SEARCH_API_KEY), surface to the user:

"Deep research needs external search. Set council.general.enabled: true and configure a search API key (Tavily or Brave) in global ~/.config/opencode/opencode-swarm.json or project .opencode/opencode-swarm.json."

Then STOP. Do NOT produce ungrounded research from training memory.

(web_search requires the key; web_fetch only requires the enabled flag and is architect-only. The sme workers do NOT have web_fetch and must not be expected to fetch sources. An sme may have web_search, but in this mode it synthesizes only from the evidence you gather — do NOT rely on sme-side searching; pass it the RESEARCH CONTEXT.)

Read the full file on GitHub · 205 lines

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. today Changed · +3 lines 753e50f107f5
  2. 7d ago First seen · 202 lines · 82 tokens per session scan A 3ceb40946333

Subscribe to this mod's changes

deep-research is a skill published in the GitHub repository ZaxbyHub/opencode-swarm (463 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 2,504 once invoked, about $0.0004 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