researcher

researcher is an agent for Claude Code from dsifry/metaswarm. It costs 37 tokens per session (325 once invoked), scanned A, a copy of researcher-agent, MIT.

A read-only research agent that explores a codebase and outside sources before implementation planning. It finds related code, existing patterns, dependencies, documentation, and risks.

In plain words
What is it for?
Use it to investigate prior art, map relevant code, review documentation, search external resources, and prepare context for a new feature or issue.
Why use it?
It reduces the chance of planning a change without understanding how the project already works or what constraints its dependencies impose.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; names the NotebookEdit tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Good fit Use it to investigate prior art, map relevant code, review documentation, search external resources, and prepare context for a new feature or issue.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add dsifry/metaswarm
Claude Code
/plugin install metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 3 hooks.

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 researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/dsifry/metaswarm/researcher/github.svg)](https://agentmods.dev/agents/dsifry/metaswarm/researcher)
Your own site
<a href="https://agentmods.dev/agents/dsifry/metaswarm/researcher"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/researcher/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 researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsifry/metaswarm/researcher"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 325 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 94% copy Near-identical to another mod 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.00037 $0.00325
Opus 5.5 $0.00015 $0.00130
Sonnet 5.5 $0.00007 $0.00065
Haiku 4.5 $0.00004 $0.00032

Measured today against content hash d0cf987623a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

researcher 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.

Origin

This is a copy

94% identical to researcher-agent — 414 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/researcher.md · 21 lines

What it actually says

Researcher (deprecated alias)

Type: researcher, a deprecated alias of codebase-researcher. It stays for one release so existing spawns and .metaswarm/models.yaml files that name researcher keep working.

Spawn codebase-researcher instead (role type resolution maps researcher to it; see "Role type resolution" in guides/agent-coordination.md). For design research, use deep-researcher (see guides/research-selection.md).

If you were spawned as researcher: read agents/codebase-researcher.md in the metaswarm plugin (the plugin root is found with dirname "$(dirname "$(command -v metaswarm-agents.sh)")", or $CLAUDE_PLUGIN_ROOT if set) and follow it exactly. You are read-only: never edit the repository.

Start your report with this line, so the caller sees the old name is still in use before it is removed:

DEPRECATED: spawned as `researcher`. Spawn `codebase-researcher` instead, and rename `roles.researcher` to `roles.codebase-researcher` in `.metaswarm/models.yaml`. The alias is removed in the next release.
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 · -396 lines · +21 tokens per session d0cf987623a6
  2. 24d ago Changed d53a2e07bdd7
  3. 25d ago First seen · 417 lines · 16 tokens per session scan A 794bd8716145

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 325 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to researcher-agent, differing in 414 lines, and is treated as a copy.

Related

researcher compared with agents from other repositories

researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
researcherdsifry/metaswarmAgent442yesterdayMITA37Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code