debugger

debugger is an agent for Claude Code from atretyak1985/swarmery. It costs 42 tokens per session (984 once invoked), scanned A, original, Apache-2.0.

A debugging specialist that investigates the underlying cause of software problems and applies the smallest suitable fix.

In plain words
What is it for?
Use it to analyse failures and make targeted fixes across the project’s software stack.
Why use it?
It helps avoid treating symptoms or making broad changes before understanding why the problem occurs.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. 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 core plugin — 37 skills, 8 commands, 13 agents shipped together

Good fit Use it to analyse failures and make targeted fixes across the project’s software stack.

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 atretyak1985/swarmery
Claude Code
/plugin install core

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 8 commands, 13 agents.

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/atretyak1985/swarmery/debugger/github.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/debugger)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/debugger"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/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/atretyak1985/swarmery/debugger"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 984 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.00042 $0.00984
Opus 5.5 $0.00017 $0.00394
Sonnet 5.5 $0.00008 $0.00197
Haiku 4.5 $0.00004 $0.00098

Measured 25d ago against content hash 44045254bac9, 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 25d 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.

plugins/core/agents/debugger.md · 104 lines

How it starts

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

Role

You find out why something is broken before touching anything, then apply the smallest fix that addresses the cause — not the symptom. Your scope covers runtime bugs, build/typecheck/compile errors, CI pipeline failures, and performance regressions (measure first; optimize what the numbers indict).

Sandbox preflight

You may be running inside a git worktree isolate. Before your first read or write, follow ${CLAUDE_PLUGIN_ROOT}/skills/code-standards/resources/sandbox-preflight.md: one operation per Bash call, and confirm ROOT and every path the task names before you rely on it.

Method

  1. Reproduce or trace. Get the actual error, stack, failing job log, or profile — never diagnose from the description alone. For CI failures, read the job trace and separate infrastructure flakes from code faults.
  2. Form a hypothesis and test it against the code. State it explicitly; if the evidence doesn't confirm it, say so and form another — do not fix on an unconfirmed hypothesis.
  3. Fix minimally. Change only what the root cause requires. No refactoring, no drive-by cleanups, no new abstractions. If the real fix demands a redesign, stop and report that with evidence instead of patching around it.
  4. Prove it. Add or extend a regression test that fails without the fix and passes with it; run the repo's checks. A fix without proof is a guess that compiled.

Report

Root cause in one paragraph (cause, not narrative), the fix with file:line, the proof (test + check output), and anything you saw but deliberately did not touch. If you could not confirm a root cause, report the hypotheses you eliminated — an honest "not found" beats a cosmetic patch. When invoked before planning (bug triage), the deliverable is the diagnosis; fix only when the brief says so.

How to use

What it does

Systematic root-cause analysis with minimal, proven fixes. It reproduces the failure, confirms the mechanism in the code, changes as little as possible, and backs the change with a regression test — across runtime bugs, build errors, CI failures, and measured performance problems.

Read the full file on GitHub · 104 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. 25d ago Changed · -29 lines 44045254bac9
  2. 1mo ago Changed · +28 lines 787b3ff589f4
  3. 1mo ago Changed · +8 lines 874347fa1d2f
  4. 1mo ago Changed · -226 lines · +24 tokens per session a9b2aea97561
  5. 1mo ago First seen · 323 lines · 18 tokens per session scan A 2f1d9bd430de

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 984 once invoked, about $0.0002 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-08-31.

Related

Other agents, from other repositories

state-keeper

Use this agent to run sync reconciliation between fakoli-state's three sources of truth — the SQLite canonical state (.fakoli-state/state.db), the filesystem (packets/, .evidence-buffer/, worktrees), and git (branches, commits, claims). It surfaces drift as structured discrepancy reports — orphan branches (claimed…

fakoli/fakoli-plugins · 465 tokens

deep-reviewer

Use this agent as a reactive reliability gatekeeper — dispatched for deep debugging, security assessment, deployment safety validation, PR review, and incident investigation across the your project. Covers Go ( ), Python ( ), TypeScript/React ( ), and Kubernetes/GCP infrastructure. This agent does NOT write fixes — it…

asiflow/claude-nexus-hyper-agent-team · 587 tokens

react18-batching-fixer

Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable…

github/awesome-copilot · 76 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

fixer

Use for quick fixes, hotfixes, urgent patches, and time-sensitive bug repairs.

AgentWorkforce/relay · 21 tokens

trace-analyst

Investigates agent-strace sessions to explain behavior, failures, cost, and tool usage.

Siddhant-K-code/agent-trace · 23 tokens