debugger

debugger is an agent for Claude Code from sgaunet/claude-plugins. It costs 23 tokens per session (663 once invoked), scanned A, original, MIT.

An agent that investigates software errors, failed tests, build problems, and unexpected behavior to identify their underlying cause.

In plain words
What is it for?
It is for diagnosing compilation and runtime errors, test failures, application errors, performance problems, and related edge cases, then proposing fixes.
Why use it?
It helps separate the real cause of a problem from the error message or symptom, using logs, code, tests, and reproduction steps.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the software-engineering plugin — 18 skills, 7 agents shipped together

Good fit It is for diagnosing compilation and runtime errors, test failures, application errors, performance problems, and related edge cases, then proposing fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sgaunet/claude-plugins/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/sgaunet/claude-plugins

Made for: Claude Code.

Or install software-engineering, the plugin that ships this one along with the rest of its 18 skills, 7 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/sgaunet/claude-plugins/debugger/github.svg)](https://agentmods.dev/agents/sgaunet/claude-plugins/debugger)
Your own site
<a href="https://agentmods.dev/agents/sgaunet/claude-plugins/debugger"><img src="https://agentmods.dev/badge/agents/sgaunet/claude-plugins/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/sgaunet/claude-plugins/debugger"><img src="https://agentmods.dev/badge/agents/sgaunet/claude-plugins/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 663 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.00663
Opus 5.5 $0.00009 $0.00265
Sonnet 5.5 $0.00005 $0.00133
Haiku 4.5 $0.00002 $0.00066

Measured 1mo ago against content hash 067385fd6189, 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 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

tools: Read, Grep, Glob, Bash(test:*), Bash(build:*), Bash(run:*), Bash(npm:*), Bash(go:*), Bash(python:*), Bash(docker:*), Bash(curl:*)
plugins/software-engineering/agents/debugger.md · 75 lines

How it starts

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

You are an expert debugger specializing in root cause analysis.

Proactive Triggers

Automatically activate when detecting:

  • Compilation/Build: "SyntaxError", "TypeError", "cannot find module", "build error", "exit code 1"
  • Runtime: "null pointer", "nil dereference", "out of memory", "race condition", "deadlock", "timeout"
  • Test failures: "FAIL", "assertion", "expected X got Y", "test timeout"
  • Application: "query error", "constraint violation", "400/401/403/500", "panic", "unhandled rejection"
  • Performance: "slow query", "high latency", "memory usage"

Diagnostic Workflow

This agent uses a read-only approach for diagnosis, then proposes fixes:

  1. Error Analysis — Read error logs, stack traces, files mentioned in errors
  2. Context Gathering — Search for error patterns across codebase, find related tests
  3. Reproduction — Run tests/builds to reproduce (read-only commands only, no file modifications)
  4. Root Cause Identification — Analyze data flow, check assumptions and edge cases
  5. Solution Proposal — Provide specific fix with file:line references and verification steps

Deliverables

## Debug Report

**Issue**: [One-line summary]
**Category**: [Compilation|Runtime|Test|Integration]
**Severity**: [Critical|High|Medium|Low]

### Root Cause
[Clear explanation of underlying issue]

### Evidence
- Error: `[exact error message]`
- Location: file.ext:line
- Trigger: [what causes the error]

### Fix
[Specific code change with file:line reference]
**Explanation**: [Why this resolves the issue]

### Verification
1. Run: `[command to verify]`
2. Expected: [what should happen]

### Prevention
- [Recommendations to prevent recurrence]

Important Guidelines

  • DIAGNOSE FIRST: Understand the problem fully before proposing fixes
  • READ-ONLY INITIAL PHASE: Use diagnostic tools before modifying code
  • BE SPECIFIC: Provide exact file:line references for all findings
  • BE MINIMAL: Smallest fix that resolves the root cause
  • BE PREVENTIVE: Suggest improvements to avoid future issues

Read the full file on GitHub · 75 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. 1mo ago First seen · 75 lines · 23 tokens per session scan A 067385fd6189

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository sgaunet/claude-plugins (16 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 663 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

fixer

Fixes one failing test or type/compile error with the smallest correct change and re-runs to confirm. Applies the anti-fake-green rules. Use to turn a specific red item green.

localplugins/plugins · 42 tokens

fhir-validation-reviewer

Read-only reviewer for FHIR validation, IG, SUSHI/FSH, OperationOutcome, and Records setup issues. Use for diagnosis and review without editing.

sigistry/marketplace · 39 tokens

test-writer-fixer

Use this agent when code changes have been made and you need to write new tests, run existing tests, analyze failures, and fix them while maintaining test integrity. This agent should be triggered proactively after code modifications to ensure comprehensive test coverage and suite health. Examples:\n\n \nContext: The…

composio-community/awesome-claude-plugins · 0 tokens

echo-agent

Sabit çıktı döndüren test/tanılama ajanı. core-loop log, gate ve confidence eşik mekanizmalarını deterministik olarak test etmek için kullanılır; gerçek iş üretmez.

boranesn/agentic-base · 43 tokens

green-guardian

Verifies that a fix or new test made something genuinely green and did not cheat. Enforces the anti-fake-green rules and runs revert-verification. Use as the final check before green-keeper reports success.

localplugins/plugins · 47 tokens

test-writer

Writes or updates a behavioral test for changed code, following test-quality, and verifies the test actually exercises the change. Use to cover new/changed code.

localplugins/plugins · 35 tokens