deep-research

deep-research is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 50 tokens per session (2,952 once invoked), scanned A, original, MIT.

A structured research workflow for answering questions through multiple sources, citations, analysis, and synthesis.

In plain words
What is it for?
Use it for factual questions, comparisons, landscape reviews, implementation research, and other thorough investigations.
Why use it?
It reduces the risk of relying on unsupported general knowledge and keeps research organized for later reference.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Good fit Use it for factual questions, comparisons, landscape reviews, implementation research, and other thorough investigations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xg-gh-25/swarmai/s_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 xg-gh-25/SwarmAI --skill s_deep-research
Clone the repo
git clone --depth 1 https://github.com/xg-gh-25/SwarmAI

Made for: Claude Code, Codex.

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/xg-gh-25/swarmai/s_deep-research/github.svg)](https://agentmods.dev/skills/xg-gh-25/swarmai/s_deep-research)
Your own site
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_deep-research"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_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/xg-gh-25/swarmai/s_deep-research"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_deep-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,952 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.02952
Opus 5 $0.00025 $0.01476
Sonnet 5 $0.00010 $0.00590
Haiku 4.5 $0.00005 $0.00295

Measured 11d ago against content hash d0404d9e6fa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d ago.

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.

backend/skills/s_deep-research/SKILL.md · 270 lines

How it starts

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

Deep Research

Conduct systematic, multi-source research that produces well-cited, comprehensive analysis. Never generate content based solely on general knowledge -- the quality of output depends directly on the quality and quantity of research conducted beforehand.

Output Location

Save research documents to:

~/.swarm-ai/SwarmWS/Knowledge/Notes/YYYY-MM-DD-<topic>.md

Once finalized, move to Knowledge/Library/ for long-term reference.

Workflow: 5-Phase Research

Phase 0: Intent Classification & Strategy Planning

Goal: Before any search, classify the research intent and plan the optimal strategy. Output a structured plan that drives all subsequent phases.

Step 1: Classify the research intent. Pick the PRIMARY intent:

Intent Signal Words Example
factual "what is", "how does", "explain" "How does Raft consensus work?"
competitive "vs", "compare", "alternative", "竞品" "SwarmAI vs OpenClaw"
landscape "overview", "landscape", "what's out there", "调研" "AI agent frameworks 2026"
how_to "how to", "implement", "build", "tutorial" "How to implement RAG with Bedrock"
breaking_news "latest", "just happened", "今天", "刚刚" "What did Anthropic announce today?"
trend "trend", "direction", "future", "趋势" "Where is agent memory heading?"
person_org person name, company name, "@handle" "Research Peter Steinberger"
deep_technical "architecture", "internals", "source code" "Claude Code SDK internal architecture"

Step 2: Determine search parameters. Based on intent, set these BEFORE Phase 1:

Parameter factual competitive landscape how_to breaking_news trend person_org deep_technical
search_depth basic advanced advanced basic basic advanced advanced advanced
time_range none month none year day/week year month none
topic general general general general news news general general
source_priority docs→papers→blogs product pages→HN→blogs industry reports→news→blogs GitHub→SO→tutorials news→social→blogs reports→expert blogs→news social→GitHub→blogs→news source code→docs→talks
min_sources 3 5 (both sides) 5 3 3 5 4 3
search_rounds 2-3 3-5 3-5 2-3 2-3 3-5 3-4 2-4

Read the full file on GitHub · 270 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. 11d ago First seen · 270 lines · 50 tokens per session scan A d0404d9e6fa0

Subscribe to this mod's changes

deep-research is a skill published in the GitHub repository xg-gh-25/SwarmAI (44 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 2,952 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.