Agent skill

08 Debug

by ai-driven-dev in ai-driven-dev/framework

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation.

MITAuto-check passedDevelopment

Install 08 Debug

skills CLI
$ npx skills add ai-driven-dev/framework --skill 08-debug -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ai-driven-dev/framework 08-debug --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ai-driven-dev/framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aidd-dev/skills/08-debug .claude/skills/08-debug && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
08-debug
GitHub stars
510
Token cost
~442 tokens
SKILL.md length
176 words
Files
6 (incl. references, assets)
Skills in repo
52
Repo updated
First seen
Licence
MIT

At a glance

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation.

  • The user wants to fix a bug
  • SKILL.md covers Actions, Transversal rules, Assets and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Find why something breaks

What it does

08 Debug is an agent skill from ai-driven-dev/framework. Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. Use when the user wants to fix a bug, find why something breaks, or reopen a stuck investigation. Not for building a feature or reviewing a diff.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files and assets (for example `actions/01-reproduce.md`, `actions/02-debug.md` and `actions/03-reflect-issue.md`).

It sits in Development, covering Root cause analysis. The repository describes itself as: Marketplace Framework AI-Driven Dev : Context Engineering, Plugins, Agents, Skills, Hooks, Templates, SDLC. The licence is MIT.

When your agent uses it

  • The user wants to fix a bug
  • Find why something breaks
  • Reopen a stuck investigation

Example prompts

  • “/08-debug”

What it can do on your machine

Read from SKILL.md and the folder at commit 6e30640. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

08 Debug loads about 442 tokens when it runs, and up to ~720 if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~442
With references · SKILL.md plus every file in references/, read only if the agent opens them
~720

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ai-driven-dev/framework at commit 6e30640, republished under its MIT licence (© ai-driven-dev). 176 words, ~442 tokens.

Download SKILL.mdSave it as .claude/skills/08-debug/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
08-debug
description
Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. Use when the user wants to fix a bug, find why something breaks, or reopen a stuck investigation. Not for building a feature or reviewing a diff.
argument-hint
bug | symptom
model
opus

Skill: debug

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

Actions

#ActionWhen to use
01reproduceA known bug must be fixed end to end: reproduce, test-driven fix, branch, PR
02debugRoot cause unknown: enumerate hypotheses, validate each, confirm the cause
03reflect-issueStuck 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.

© ai-driven-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references, assets) in plugins/aidd-dev/skills/08-debug of ai-driven-dev/framework.

  • SKILL.md
  • actions/01-reproduce.md
  • actions/02-debug.md
  • actions/03-reflect-issue.md
  • assets/task-template.md
  • references/mermaid-conventions.md

Open the folder on GitHubat commit 6e30640

Compare with similar skills

08 Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

08 Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
08 Debug this skillai-driven-dev/framework510—~442Automated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
Bug Finder for daisyUIsaadeghi/daisyui43k—~2.3kAutomated safety check: PassMIT
Root Cause Debugginggarrytan/gstack136k—~1.4kAutomated safety check: PassMIT
Graph-Based Bug Tracingtirth8205/code-review-graph32k1 repos~287Automated safety check: PassMIT

Similar skills

  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 4 days ago
    DevelopmentAuto-check: notes
  • Bug Finder for daisyUI

    saadeghi/daisyui

    Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.

    43k GitHub stars~2.3k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Root Cause Debugging

    garrytan/gstack

    Investigates bugs, errors and stack traces in phases and requires a root-cause hypothesis to be confirmed before any fix is written.

    136k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Graph-Based Bug Tracing

    tirth8205/code-review-graph

    Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.

    32k GitHub starsUsed in 1 repo~287 tokens
    DevelopmentAuto-check passed
  • Om Auto Fix Issue

    go-musicfox/go-musicfox

    Fix or implement a tracker issue end to end from a single command — takes an issue id or a plain problem description (filed first via om-prepare-issue), classifies, then drives the bug autofix chain…

    2.6k GitHub starsUsed in 1 repo~5k tokens
    DevelopmentAuto-check: notes

More from ai-driven-dev/framework

All 52 skills in this repo
  • 00 Async Dev

    ai-driven-dev/framework

    Drive the async-dev pipeline from one entry point, whether setup, run, or review.

    510 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • 01 Plan

    ai-driven-dev/framework

    Turn a request, ticket, or file into a phased implementation plan.

    510 GitHub stars~517 tokensUpdated today
    Auto-check passed
  • 01 Sdlc

    ai-driven-dev/framework

    Autonomously orchestrates a request from framing to a draft pull request, isolating implementation, independent review, and final outcome challenge.

    510 GitHub stars~583 tokensUpdated today
    Auto-check passed
  • 02 Backlog

    ai-driven-dev/framework

    Orchestrates a product backlog end to end. An agent skill from ai-driven-dev/framework.

    510 GitHub stars~613 tokensUpdated today
    Auto-check passed
  • 00 Onboard

    ai-driven-dev/framework

    Guide a project's journey through AIDD, from first setup to shipping a feature.

    510 GitHub stars~242 tokensUpdated today
    Auto-check passed
  • 01 Acceptance QA

    ai-driven-dev/framework

    Validate a reviewed candidate's observable behavior against its acceptance criteria and record short named videos as reviewer evidence.

    510 GitHub stars~434 tokensUpdated today
    Auto-check passed

Categories

Questions about 08 Debug

What does 08 Debug do?

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. 08 Debug is an agent skill from ai-driven-dev/framework. Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation.

When should I use 08 Debug?

08 Debug fits situations like: the user wants to fix a bug; find why something breaks; reopen a stuck investigation.

How do I install 08 Debug in Claude Code?

Run `npx skills add ai-driven-dev/framework --skill 08-debug -a claude-code`. Or copy the skill folder (plugins/aidd-dev/skills/08-debug in ai-driven-dev/framework) into .claude/skills/08-debug in your project. Claude Code loads it when a task matches its description.

How do I install 08 Debug in Codex?

Run `npx skills add ai-driven-dev/framework --skill 08-debug -a codex`. Or copy the skill folder (plugins/aidd-dev/skills/08-debug in ai-driven-dev/framework) into .agents/skills/08-debug in your project. Codex loads it when a task matches its description.

Can I use 08 Debug in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ai-driven-dev/framework --skill 08-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/08-debug, .gemini/skills/08-debug, .github/skills/08-debug and .opencode/skills/08-debug in your project.

What does 08 Debug need to run?

SKILL.md names no scripts, command-line tools or credentials: 08 Debug is instructions for the agent only.

Does 08 Debug access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 08 Debug safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 08 Debug use?

08 Debug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 08 Debug use?

About 442 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 278 tokens, read only when the agent opens those files.

What are the alternatives to 08 Debug?

Skills that share tags, products or a category with 08 Debug: Code Design Rationale Investigator (cursor/plugins, 10k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), Bug Finder for daisyUI (saadeghi/daisyui, 43k stars) and Root Cause Debugging (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 08 Debug?

ai-driven-dev (a GitHub organization) maintains it in ai-driven-dev/framework, which has 510 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 7, 2026.

Source: ai-driven-dev/framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.