debugger

debugger is a skill for Claude Code, Codex from TechDufus/oh-my-claude. It costs 45 tokens per session (916 once invoked), scanned A, original, MIT.

A structured method for finding the root cause of difficult software failures. It ranks possible explanations, tests them systematically, and records what the evidence shows.

In plain words
What is it for?
Use it after repeated failed fixes, during complex integration problems, or when debugging seems to be going in circles.
Why use it?
It prevents repeated guess-and-check fixes when a bug is complex, intermittent, or has already resisted multiple attempts.

Skill for Claude CodeCodex

Part of the oh-my-claude plugin — 12 skills, 1 command, 7 agents, 8 hooks, 2 MCP servers shipped together

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.

agentmods
npx agentmods add skills/techdufus/oh-my-claude/debugger
Any agent
npx skills add TechDufus/oh-my-claude --skill debugger
Clone the repo
git clone --depth 1 https://github.com/TechDufus/oh-my-claude

Made for: Claude Code, Codex.

Or install oh-my-claude, the plugin that ships this one along with the rest of its 12 skills, 1 command, 7 agents, 8 hooks, 2 MCP servers.

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/skills/techdufus/oh-my-claude/debugger.svg)](https://agentmods.dev/skills/techdufus/oh-my-claude/debugger)
Your own site
<a href="https://agentmods.dev/skills/techdufus/oh-my-claude/debugger"><img src="https://agentmods.dev/badge/skills/techdufus/oh-my-claude/debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.00916
Opus 5 $0.00023 $0.00458
Sonnet 5 $0.00009 $0.00183
Haiku 4.5 $0.00005 $0.00092

Measured 5d ago against content hash 317144127730, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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/oh-my-claude/skills/debugger/SKILL.md · 121 lines

How it starts

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

Debugger Skill

Systematic debugging methodology for diagnosing failures and root cause analysis.

When to Apply This Guidance

  • 2+ failed fix attempts on the same issue
  • Debugging that's gone in circles
  • Complex system behavior you don't understand
  • Multi-system integration problems
  • Intermittent failures (Heisenbugs)

Structured Analysis Framework

Step 1: Restate the Problem

Before investigating, articulate:

  • What is the actual vs expected behavior?
  • What assumptions might be wrong?
  • What could cause the specific symptoms described?
  • Are there hidden dependencies or side effects?

Step 2: Generate Ranked Hypotheses

Always generate multiple hypotheses, ranked by likelihood:

Most Likely:

  • Evidence: What supports this theory?
  • Test: How to verify quickly?

Possible:

  • Evidence: What partially supports this?
  • Test: How to confirm or eliminate?

Unlikely but worth checking:

  • Evidence: Limited, but possible
  • Test: Quick check to rule out

Step 3: Systematic Verification

Test hypotheses in order. For each:

  1. State what you're testing
  2. Describe the expected outcome if hypothesis is correct
  3. Execute the test
  4. Document actual results
  5. Update hypothesis ranking based on findings

Reasoning Principles

  1. Challenge assumptions - The "obvious" cause is often wrong after 2+ failures
  2. Follow the data - What do logs/errors actually say vs what's assumed?
  3. Consider timing - Race conditions, async issues, initialization order
  4. Check boundaries - Module interfaces, API contracts, type conversions
  5. Question the environment - Config, dependencies, network, state

Decision Framework

When choosing between approaches:

Factor Weight Considerations
Correctness Critical Does it actually solve the problem?
Simplicity High Prefer boring solutions over clever ones
Leverage High Use existing patterns/libraries/code
Developer Experience Medium How hard is it to debug/maintain?
Performance Low* *Unless performance IS the problem

Read the full file on GitHub · 121 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. 5d ago First seen · 121 lines · 45 tokens per session scan A 317144127730

Subscribe to this mod's changes

debugger is a skill published in the GitHub repository TechDufus/oh-my-claude (176 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 916 once invoked, about $0.0002 per session on Opus 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.