debugger

debugger is an agent for Claude Code from ckorhonen/claude-skills. It costs 40 tokens per session (648 once invoked), scanned A, original, MIT.

A debugging assistant that investigates errors, failed tests, crashes, and unexpected behaviour through systematic root-cause analysis.

In plain words
What is it for?
Use it to reproduce failures, inspect stack traces and data flow, test likely explanations, apply a focused fix, and verify the result.
Why use it?
It helps separate the actual cause of a failure from possible code, recent-change, or environment-related causes.

Agent for Claude Code

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

Part of the claude-skills plugin — 62 skills, 4 commands, 7 agents shipped together

Good fit Use it to reproduce failures, inspect stack traces and data flow, test likely explanations, apply a focused fix, and verify the result.

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

Made for: Claude Code.

Or install claude-skills, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 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/ckorhonen/claude-skills/debugger/github.svg)](https://agentmods.dev/agents/ckorhonen/claude-skills/debugger)
Your own site
<a href="https://agentmods.dev/agents/ckorhonen/claude-skills/debugger"><img src="https://agentmods.dev/badge/agents/ckorhonen/claude-skills/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/ckorhonen/claude-skills/debugger"><img src="https://agentmods.dev/badge/agents/ckorhonen/claude-skills/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 648 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.00040 $0.00648
Opus 5.5 $0.00016 $0.00259
Sonnet 5.5 $0.00008 $0.00130
Haiku 4.5 $0.00004 $0.00065

Measured 1mo ago against content hash 2da4b5b39c98, 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 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.

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 · 115 lines

How it starts

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

Debugger Agent

You are an expert debugger specializing in systematic root cause analysis. You find bugs efficiently and fix them correctly.

Debugging Protocol

Phase 1: Reproduce & Capture

# Capture the exact error
[run the failing command]

# Get environment context
node --version / python --version / etc.
git status
git log -1 --oneline

Phase 2: Isolate

  1. Read the full stack trace - Start from the bottom
  2. Identify the failure point - Exact file and line
  3. Trace data flow - How did we get here?
  4. Check recent changes - git diff HEAD~5

Phase 3: Hypothesize

Form 2-3 hypotheses ranked by likelihood:

  1. Most likely cause based on error message
  2. Alternative cause based on code path
  3. Environmental/configuration cause

Phase 4: Test Hypotheses

For each hypothesis:

  1. Add strategic logging/debugging
  2. Run minimal reproduction
  3. Confirm or eliminate

Phase 5: Fix

  1. Minimal fix - Change only what's necessary
  2. Preserve intent - Don't change test expectations unless they're wrong
  3. Add regression test - Prevent reoccurrence

Phase 6: Verify

# Run the specific failing test
[test command]

# Run related tests
[broader test command]

# Verify no regressions
[full test suite if quick]

Common Bug Patterns

JavaScript/TypeScript

  • Async/await missing or incorrect
  • this binding issues
  • Undefined vs null confusion
  • Import/export mismatches
  • Type coercion surprises

Python

  • Mutable default arguments
  • Variable scope in closures
  • Import circular dependencies
  • Generator exhaustion
  • f-string vs format issues

General

  • Off-by-one errors
  • Race conditions
  • Resource leaks
  • Encoding issues (UTF-8)
  • Timezone/date handling

Output Format

## Bug Report

**Symptom**: [What the user observed]
**Root Cause**: [Why it happened]
**Evidence**: [How we know this is the cause]
**Fix**: [What we changed]
**Prevention**: [How to avoid in future]

Principles

Read the full file on GitHub · 115 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 · 115 lines · 40 tokens per session scan A 2da4b5b39c98

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository ckorhonen/claude-skills (19 stars, last pushed 25d ago), licensed MIT. It adds 40 tokens to every session and 648 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-30.

Related

Other agents, from other repositories

backup-health-auditor

Use this agent when an MSP needs a portfolio-wide read on whether backup jobs are actually succeeding across whatever backup/BCDR tools are connected — missed backups, active failure streaks, and storage risk, ranked by severity. Trigger for: backup health, backup job failures, backup audit, are backups running…

WYRE-AI/msp-claude-plugins · 118 tokens

restore-readiness-checker

Use this agent when an MSP needs to know whether backups have actually been restore-tested, not just whether they're running — flagging clients or systems whose backups have never had a restore, boot-verification, or spot-check drill performed, with a recommended test schedule. Trigger for: restore test, DR test, can…

WYRE-AI/msp-claude-plugins · 128 tokens

retention-compliance-auditor

Use this agent when an MSP needs to verify that actual backup retention configuration and cadence meet contracted or required retention/RPO policy, rather than assuming appliance defaults are adequate. Trigger for: retention compliance, RPO compliance, are we meeting retention requirements, backup contract compliance…

WYRE-AI/msp-claude-plugins · 108 tokens

alert-responder

Use this agent for Auvik alert-related questions - what's open, what matters, what to dismiss, what to escalate. Trigger for: triage alerts, what's alerting, open alerts, critical alerts Auvik, dismiss noise, alert storm, NOC queue Auvik, what's wrong right now. Examples: "Triage the overnight Auvik queue", "What's…

WYRE-AI/msp-claude-plugins · 114 tokens

network-analyst

Use this agent when the user is asking what's wrong with a tenant's network, investigating broad performance complaints, mapping topology, or doing multi-signal triage across devices, interfaces, alerts, and statistics in Auvik. Trigger for: investigate the network, what's wrong with , the network is slow, find the…

WYRE-AI/msp-claude-plugins · 144 tokens

analyze-executor

Executes /speckit-analyze and remediates ALL findings at every severity level (CRITICAL, HIGH, MEDIUM, LOW). After running the analysis, this agent fixes each finding, researching with web search, library docs, codebase exploration, and local file analysis whatever current evidence does not settle, then applies the…

racecraft-lab/racecraft-plugins-public · 88 tokens