08-debug

08-debug is a skill for Claude Code from ai-driven-dev/framework. It costs 52 tokens per session (380 once invoked), scanned A, original, MIT.

A structured workflow for investigating and fixing software bugs, whether the cause is known or still unclear.

In plain words
What is it for?
It helps reproduce bugs, test possible causes, confirm the root cause, and apply a test-driven fix. It can also reopen an investigation when earlier fixes failed.
Why use it?
It turns a stuck or uncertain bug investigation into a series of checked hypotheses and keeps fixes limited to the reported problem.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aidd-dev plugin — 10 skills, 2 agents shipped together

Good fit It helps reproduce bugs, test possible causes, confirm the root cause, and apply a test-driven fix. It can also reopen an investigation when earlier fixes failed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-driven-dev/framework/08-debug
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.

Any agent
npx skills add ai-driven-dev/framework --skill 08-debug
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code.

Or install aidd-dev, the plugin that ships this one along with the rest of its 10 skills, 2 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 08-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/08-debug/github.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/08-debug)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/08-debug"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/08-debug/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 08-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/08-debug"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/08-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 380 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 5
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00052 $0.00380
Opus 5.5 $0.00021 $0.00152
Sonnet 5.5 $0.00010 $0.00076
Haiku 4.5 $0.00005 $0.00038

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

Security

Grade A, and why

08-debug 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 3d 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/aidd-dev/skills/08-debug/SKILL.md · 34 lines

What it actually says

Skill: debug

Diagnose and fix issues through structured hypothesis validation, root-cause analysis, and a test-driven fix.

Actions

# Action When to use
01 reproduce A known bug must be fixed end to end: reproduce, test-driven fix, branch, PR
02 debug Root cause unknown: enumerate hypotheses, validate each, confirm the cause
03 reflect-issue Stuck or prior fixes failed: reopen the search space, instrument logs first

Pick the one action matching the intent; never default to 01. Triggers like "reproduce and fix" route to 01, "why does this happen" to 02, "I'm stuck" or "previous fixes didn't work" to 03. Ask one question when the intent is ambiguous. Before running an action, read its file in actions/, not only the table or assets.

Transversal rules

  • One action per run: follow only the matching action file.
  • Scope each fix to its bug: never bundle drive-by refactors.
  • Confirm the root cause before fixing; the diagnostic actions stop at a confirmed cause.

Assets

  • assets/task-template.md: the per-hypothesis tracking file the debug action fills.

References

  • references/mermaid-conventions.md: the project's Mermaid conventions for the action-path flowchart.
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. 3d ago Changed · -1 lines afc8699c7a13
  2. 1mo ago First seen · 35 lines · 52 tokens per session scan A e00fa9e06a77

Subscribe to this mod's changes

08-debug is a skill published in the GitHub repository ai-driven-dev/framework (522 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 380 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-09-03.