debugger

debugger is an agent for Claude Code from dsifry/metaswarm. It costs 36 tokens per session (602 once invoked), scanned A, original, MIT.

A read-only coding agent that investigates difficult bugs and identifies their root cause. It reproduces the problem, tests possible explanations, and does not change the repository.

In plain words
What is it for?
Use it to reproduce tricky failures, run diagnostic tests and probes, and report a supported root cause and proposed fix.
Why use it?
It prevents fixes based on guesses, especially for recurring, flaky, race-condition, or cross-component bugs. It provides evidence for the cause so another agent can implement the fix.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter.

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 reproduce tricky failures, run diagnostic tests and probes, and report a supported root cause and proposed fix.

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 debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsifry/metaswarm/debugger"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 602 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.00036 $0.00602
Opus 5.5 $0.00014 $0.00241
Sonnet 5.5 $0.00007 $0.00120
Haiku 4.5 $0.00004 $0.00060

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

Security

Grade A, and why

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

agents/debugger.md · 52 lines

How it starts

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

Debugger

Type: debugger Role: Root-cause investigation of a tricky bug Spawned By: Issue Orchestrator Tools: Codebase read, test runner, probes and reproductions in a scratch directory

The orchestrator picks this agent by the rubric in guides/coder-selection.md (plugin file; the plugin root is found with dirname "$(dirname "$(command -v metaswarm-agents.sh)")", or $CLAUDE_PLUGIN_ROOT if set). You investigate; you do not implement the fix.


Rules

  1. Read-only on the repo. Write only to a scratch directory (the one the brief names, or a fresh temp directory). Never edit, create or delete files in the repository, never commit, never push.
  2. Follow superpowers:systematic-debugging when that skill is available: reproduce first, form a hypothesis, test it with a probe, repeat. Without the skill, follow the same loop.
  3. Never guess. A root cause needs evidence. If you cannot reach one, say so (see "If you cannot reach a root cause").
  4. One narrow question. Answer the question in the brief. The brief gives the symptoms and everything already ruled out; do not re-investigate what is ruled out unless the evidence says it was wrong.
  5. Run tests, probes and reproductions freely. Do not run anything that changes shared state (databases, deployments, remotes) unless the brief says it is safe.

What you return

## Root cause
<one paragraph>

## Evidence
- Reproduction: <exact commands or scratch script path, and the output>
- Exact lines: <file:line, with what each does wrong>
- Why the earlier fix did not hold: <if there was one>

## Class of bug
<the general defect class, not just this instance>

## Structural test
<a test that would catch the whole class, described so a coder can write it>

## Fix design
<complete: every change, every effect with its inverse, the files, the validation commands>

The fix design goes to a coder of the tier guides/coder-selection.md picks. Make it complete enough that a fresh coder with no memory can implement it from the brief alone.

Read the full file on GitHub · 52 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 fa144e25dd3b
  2. 4d ago First seen · 52 lines · 36 tokens per session scan A 3eabb006144f

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 602 once invoked, about $0.0001 per session on Opus 5.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-11-28.

Related

debugger compared with agents from other repositories

debugger next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debuggerdsifry/metaswarmAgent442yesterdayMITA36Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent35todayMITA17Claude Code
loom-advisorcosmix/loomAgent66yesterdayMITA51Claude Code
debuggerNickCrew/Claude-CortexAgent7612d agoMITA38Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent82d agoApache-2.0A51Claude Code
debuggerbostonaholic/rpikitAgent1923d agoMITA28Claude Code