debugging-wizard

debugging-wizard is a skill for Claude Code, Codex from eric861129/SKILLS_All-in-one. It costs 70 tokens per session (851 once invoked), scanned A, a copy of debugging-wizard, MIT.

A methodical guide for finding and fixing software bugs by reproducing failures, narrowing them down, testing possible causes, and checking the final fix.

In plain words
What is it for?
Use it to analyze error messages, stack traces, and logs; isolate failing cases; apply tools such as git bisect; and document the root cause.
Why use it?
It replaces guesswork with a repeatable process and helps prevent the same problem from returning through regression tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is dlv debug ./cmd/server # build & attach.

Good fit Use it to analyze error messages, stack traces, and logs; isolate failing cases; apply tools such as git bisect; and document the root cause.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/eric861129/SKILLS_All-in-one
agentmods
npx agentmods add skills/eric861129/skills_all-in-one/debugging-wizard

Made for: Claude Code, Codex.

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 debugging-wizard

README.md
[![agentmods](https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/debugging-wizard/github.svg)](https://agentmods.dev/skills/eric861129/skills_all-in-one/debugging-wizard)
Your own site
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/debugging-wizard"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/debugging-wizard/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 debugging-wizard

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/debugging-wizard"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/debugging-wizard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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 97% copy Near-identical to another mod 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.00070 $0.00851
Opus 5.5 $0.00028 $0.00340
Sonnet 5.5 $0.00014 $0.00170
Haiku 4.5 $0.00007 $0.00085

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

Security

Grade A, and why

debugging-wizard 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.

Origin

This is a copy

97% identical to debugging-wizard — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

public/SKILLS/Development & Code Tools/debugging-wizard/SKILL.md · 106 lines

How it starts

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

Debugging Wizard

Expert debugger applying systematic methodology to isolate and resolve issues in any codebase.

Core Workflow

  1. Reproduce - Establish consistent reproduction steps
  2. Isolate - Narrow down to smallest failing case
  3. Hypothesize and test - Form testable theories, verify/disprove each one
  4. Fix - Implement and verify solution
  5. Prevent - Add tests/safeguards against regression

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Debugging Tools references/debugging-tools.md Setting up debuggers by language
Common Patterns references/common-patterns.md Recognizing bug patterns
Strategies references/strategies.md Binary search, git bisect, time travel
Quick Fixes references/quick-fixes.md Common error solutions
Systematic Debugging references/systematic-debugging.md Complex bugs, multiple failed fixes, root cause analysis

Constraints

MUST DO

  • Reproduce the issue first
  • Gather complete error messages and stack traces
  • Test one hypothesis at a time
  • Document findings for future reference
  • Add regression tests after fixing
  • Remove all debug code before committing

MUST NOT DO

  • Guess without testing
  • Make multiple changes at once
  • Skip reproduction steps
  • Assume you know the cause
  • Debug in production without safeguards
  • Leave console.log/debugger statements in code

Common Debugging Commands

Python (pdb)

python -m pdb script.py          # launch debugger
# inside pdb:
# b 42          — set breakpoint at line 42
# n             — step over
# s             — step into
# p some_var    — print variable
# bt            — print full traceback

JavaScript (Node.js)

node --inspect-brk script.js     # pause at first line, attach Chrome DevTools
# In Chrome: open chrome://inspect → click "inspect"
# Sources panel: add breakpoints, watch expressions, step through

Read the full file on GitHub · 106 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 106 lines · 70 tokens per session scan A aa54134d05e6

Subscribe to this mod's changes

debugging-wizard is a skill published in the GitHub repository eric861129/SKILLS_All-in-one (52 stars, last pushed 6mo ago), licensed MIT. It adds 70 tokens to every session and 851 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to debugging-wizard, differing in 5 lines, and is treated as a copy.

Related

Other skills, from other repositories

ck:fix

Fix a bug using Scout → Diagnose → Fix → Review → Finalize. Use when the user pastes an error message, stack trace, or test failure, or says "fix this bug", "something's broken", "tests are failing", "I'm getting an error". Also accepts --from-quality or --from-test to fix exactly the findings/failures a report lists.…

huuanh20/awesome-ai-agent-skills · 0 tokens

When Stuck - Problem-Solving Dispatch

Dispatch to the right problem-solving technique based on how you're stuck.

huuanh20/awesome-ai-agent-skills · 22 tokens

thinking-map-territory

When a claim, doc, test, metric, or assumption conflicts with observed behavior, stop theorizing from the map and verify the live code or data; let territory overrule.

tjboudreaux/cc-thinking-skills · 42 tokens

chatcrystal-debug-recall

Recall ChatCrystal memories for debugging tasks involving failing tests, compiler errors, runtime exceptions, dependency issues, environment breakage, or performance regressions. Use when historical root causes, fixes, or pitfalls may accelerate diagnosis before proposing a fix.

ZengLiangYi/ChatCrystal · 54 tokens

pair-programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

frankxai/claude-skills-library · 85 tokens

debugging

Systematic root-cause debugging with verification. Use for errors, stack traces, broken tests, flaky tests, regressions, or anything not working as expected. For validating bug reports before fixing, use bug-reproduction-validator agent.

iliaal/ai-skills · 49 tokens