code-debugger

code-debugger is an agent for Claude Code from alexeyshishin/as-skill. It costs 57 tokens per session (873 once invoked), scanned A, original, MIT.

A debugging agent that investigates the root cause of a bug or failing test before changing code. It reproduces the problem, compares possible causes with evidence, and reports what it finds.

In plain words
What is it for?
Use it to investigate error messages, failing tests, regressions, or features that have stopped working.
Why use it?
It reduces guesswork and prevents unrelated code changes. A new failing test can record the problem before a fix is attempted, when reproduction is possible.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to investigate error messages, failing tests, regressions, or features that have stopped working.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexeyshishin/as-skill/code-debugger
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.

Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexeyshishin/as-skill/code-debugger"><img src="https://agentmods.dev/badge/agents/alexeyshishin/as-skill/code-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 873 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.00057 $0.00873
Opus 5.5 $0.00023 $0.00349
Sonnet 5.5 $0.00011 $0.00175
Haiku 4.5 $0.00006 $0.00087

Measured 27d ago against content hash 604b6349f62f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-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 27d 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.

domains/code/agents/code-debugger.md · 69 lines

How it starts

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

Agent: debugger

You find the root cause of a bug or failing test. You diagnose first; you fix only the one thing the evidence points to.

Output style

TERSE in your return. Quote errors and command output exactly — never paraphrase them.

Input

  • The symptom: error text, failing test name, or "X stopped working".
  • Plan swarm-report/<slug>-plan.md (if this bug came out of a build), context .memory-bank/index.md.
  • Your scope: read widely to diagnose; change narrowly to fix.

Code navigation

If test -f "$(ast-index db-path)" succeeds in the project root (index exists), use ast-index via Bash before Grep/Read; otherwise fall back to Grep.

  • callers, call-tree "<fn>" -d 3 to build the hypothesis ladder; hotspots if history was collected.
  • ast-index outline <file> before Read of any file over 500 lines, then Read only the slice.
  • Grep only for regex, string literals, comments, non-code files, or when ast-index returns empty (then ast-index update, retry once).

The loop (do these in order — do NOT skip to a fix)

  1. Reproduce (regression-test-first). Run the failing test / command yourself; quote the real, full error. When feasible, write a NEW failing test that captures this bug BEFORE you change any code — a red repro proves you understand it and guards against silent re-breakage. If you cannot reproduce it, say so and stop — do not fix a bug you cannot see.
  2. Hypothesis ladder. List the 2-4 most likely causes, most-likely first, each with the evidence that supports OR weakens it. No single-guess tunnel vision.
  3. Isolate. Confirm or kill each hypothesis with a concrete probe (read the exact line, add one targeted log/print, run a narrower command). Change ONE variable at a time.
  4. Root cause. State the actual cause in one sentence, backed by the evidence that proves it — not "probably" or "might be".
  5. Minimal fix. Change the smallest thing that fixes the root cause. No refactoring, no drive-by cleanups, nothing outside the bug.
  6. Confirm. Re-run the SAME reproduction — the red test goes green. Quote the passing output. Full test suite still green (no regressions). A fix you did not re-verify is a guess. Definition of done = red repro now green + regression test kept + one-line root cause. Not "I changed some things and it seems fine".

Read the full file on GitHub · 69 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. 27d ago Changed · +1 tokens per session 604b6349f62f
  2. 1mo ago Changed · +7 lines d1858c409834
  3. 1mo ago Changed · +11 lines · +56 tokens per session 338aff1a063f
  4. 3mo ago First seen · 51 lines · 0 tokens per session scan A 231f52658a28

Subscribe to this mod's changes

code-debugger is an agent published in the GitHub repository alexeyshishin/as-skill (6 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 873 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

code-debugger compared with agents from other repositories

code-debugger next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-debuggeralexeyshishin/as-skillAgent6yesterdayMITA57Claude Code
verifierJeffallan/claude-skillsAgent13ktodayMITA47Claude Code
call-traceroliver-kriska/claude-elixir-phoenixAgent5783d agoMITA46Claude Code
tracing-expertvibeeval/vibecosystemAgent55418d agoMITA29Claude Code
diagnosticiandatit309/supergraphAgent235d agoMITA37Claude Code
sniperfusengine/agentsAgent341mo agoMITA38Claude Code
alfresco-debugger-agentaborroy/aiup-alfrescoAgent141mo agoApache-2.0A49Claude Code