Agent skill

Debug

by av in av/mi

Fix bugs, crashes, errors, or failing tests. An agent skill from av/mi.

No licenceAuto-check passedTesting & QA

Install Debug

skills CLI
$ npx skills add av/mi --skill debug -a claude-code

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

GitHub CLI
$ gh skill install av/mi 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/av/mi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/debug .claude/skills/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
debug
GitHub stars
102
Token cost
~871 tokens
SKILL.md length
476 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
None found

At a glance

Fix bugs, crashes, errors, or failing tests. An agent skill from av/mi.

  • Works in 6 steps: Reproduce. Write a minimal repro before… → Observe. Capture actual vs expected… → Hypothesize. State one explanation… → …
  • Getting an error
  • Calls python3
  • Test is failing

What it does

Debug is an agent skill from av/mi. Fix bugs, crashes, errors, or failing tests. Use when "it's broken", "getting an error", "test is failing", or the cause isn't obvious.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Debugging and Failing and flaky tests. The repository describes itself as: self-extending sandboxed agentic harness. a loop, two tools and an llm.

When your agent uses it

  • Getting an error
  • Test is failing
  • The cause isnt obvious

Example prompts

  • “s broken”
  • “getting an error”
  • “test is failing”
  • “/debug”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Reproduce. Write a minimal repro before touching the suspected code. Either
  2. Observe. Capture actual vs expected side-by-side. Collect stack traces, logs, and intermediate state (print/console.log, set -x, a…
  3. Hypothesize. State one explanation explicitly: "I believe X because Y." One at a time. If you have several, pick the cheapest to test…
  4. Test the hypothesis. Change exactly one variable, re-run the repro, record the result. If the hypothesis is wrong, revert the change…
  5. Verify the fix. The repro now passes AND nothing else broke. Before declaring done, call skill("verify") and follow its body for the…
  6. Add tests if requested. If the original prompt included "add tests" or "write tests", the fix is confirmed — now call skill("tdd") and…

What it can do on your machine

Read from SKILL.md and the folder at commit 2bf50c9. 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

    Shell commands in SKILL.md call:

    • python3

    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

Debug loads about 871 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 476 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~871

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 476 words (~871 tokens).

“Do not propose a fix before step 1 completes. A bug you cannot reproduce is a bug you cannot fix.”

— opening of SKILL.md by av
name
debug

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/debug of av/mi.

Open the folder on GitHubat commit 2bf50c9

Compare with similar skills

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.

Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debug this skillav/mi102—~871Automated safety check: PassNone
Pester Failure AnalysisPowerShell/PowerShell56k—~5.1kAutomated safety check: PassMIT
Testingkortix-ai/suna20k—~3.6kAutomated safety check: NotesCustom licence
OpenLogi Change VerificationAprilNEA/OpenLogi23k—~1.4kAutomated safety check: PassApache-2.0
RustPython Test Failure InvestigationRustPython/RustPython22k—~467Automated safety check: PassMIT
Issue To Regression Testbrunosabot/streamline-card269—~529Automated safety check: PassMIT

Similar skills

  • Pester Failure Analysis

    PowerShell/PowerShell

    Investigates failing Pester tests in PowerShell CI jobs by following a six-step workflow from pull request status to documented fix recommendations.

    56k GitHub stars~5.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Testing

    kortix-ai/suna

    A skill your agent uses for every Kortix test task, behavior change, bug fix, refactor, API route change, CLI change, SDK change, browser journey, test failure, coverage question, local benchmark…

    20k GitHub stars~3.6k tokensUpdated today
    Testing & QAAuto-check: notes
  • Plans the smallest check that could disprove a code change in the OpenLogi project, then escalates through reproduction, focused tests and a final gate before a push.

    23k GitHub stars~1.4k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Investigates a failing RustPython test by comparing it with CPython, then either fixes it or gathers the details for an incompatibility report.

    22k GitHub stars~467 tokensUpdated today
    Testing & QAAuto-check passed
  • Issue To Regression Test

    brunosabot/streamline-card

    A skill your agent uses when the user asks to fix a bug, references a GitHub issue number, or describes an issue and wants a fix.

    269 GitHub stars~529 tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Ue Test Authoring

    JasonMa0012/MooaToon

    A skill your agent uses when writing or modifying UE automated tests (Automation, CQTest, Functional, Gauntlet, LowLevel) with Rider MCP available.

    749 GitHub stars~2.1k tokensUpdated 19 days ago
    Testing & QAAuto-check: notes
  • Writes plain-English integration test specs with verifiable steps and expectations, then runs each one through a subagent that reports pass or fail with logs.

    102 GitHub stars~908 tokensUpdated 11 days ago
    Auto-check passed
  • Anneal

    av/mi

    A skill your agent uses when the user wants to systematically fix AI code slop — duplicated logic, over-engineering, silent error swallowing, convention drift, cargo-cult patterns, and other…

    102 GitHub stars~3.8k tokensUpdated 11 days ago
    Auto-check passed
  • Scans a codebase to tag every fact as draft, spec or implemented based on what the code actually shows, adding missing facts and fixing or removing wrong ones.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed
  • Implements every @spec fact from a project's fact sheet in code, tags each one @implemented once done, and reports exactly what is left if it cannot finish.

    102 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Works with you to turn draft behavioral facts into precise, implementable spec facts, resolving vague labels, gaps and contradictions one at a time through discussion.

    102 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Ideate

    av/mi

    Timeboxed ideation on a topic using propose-and-critique subagent pairs.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed

Questions about Debug

What does Debug do?

Fix bugs, crashes, errors, or failing tests. An agent skill from av/mi. Debug is an agent skill from av/mi. Fix bugs, crashes, errors, or failing tests.

When should I use Debug?

Debug fits situations like: getting an error; test is failing; the cause isnt obvious.

How do I install Debug in Claude Code?

Run `npx skills add av/mi --skill debug -a claude-code`. Or copy the skill folder (skills/debug in av/mi) into .claude/skills/debug in your project. Claude Code loads it when a task matches its description.

How do I install Debug in Codex?

Run `npx skills add av/mi --skill debug -a codex`. Or copy the skill folder (skills/debug in av/mi) into .agents/skills/debug in your project. Codex loads it when a task matches its description.

Can I use 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 av/mi --skill 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/debug, .gemini/skills/debug, .github/skills/debug and .opencode/skills/debug in your project.

What does Debug need to run?

Going by SKILL.md and its folder, Debug needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does 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 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 Debug use?

No licence was found for Debug or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Debug use?

About 871 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Debug?

Skills that share tags, products or a category with Debug: Pester Failure Analysis (PowerShell/PowerShell, 56k stars), Testing (kortix-ai/suna, 20k stars), OpenLogi Change Verification (AprilNEA/OpenLogi, 23k stars) and RustPython Test Failure Investigation (RustPython/RustPython, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debug?

av (a GitHub user) maintains it in av/mi, which has 102 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 26, 2026.

Source: av/mi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.