debug

debug is a skill for Claude Code from Langerrr/zforge. It costs 20 tokens per session (520 once invoked), scanned A, original, MIT.

A routing guide for handling a specific, repeatable software failure, such as a broken test, bug, or failed deployment. It selects debugging methods and puts them in order.

In plain words
What is it for?
Use it to investigate reproducible failures, check hypotheses before changing code, and apply extra reasoning when timing or asynchronous behavior may be involved.
Why use it?
It prevents developers from jumping straight to a fix without first investigating the cause and testing their explanation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: $skill-name invocation.

Part of the zforge plugin — 11 skills, 8 commands, 1 agent shipped together

Good fit Use it to investigate reproducible failures, check hypotheses before changing code, and apply extra reasoning when timing or asynchronous behavior may be involved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langerrr/zforge/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 Langerrr/zforge --skill debug
Clone the repo
git clone --depth 1 https://github.com/Langerrr/zforge

Made for: Claude Code.

Or install zforge, the plugin that ships this one along with the rest of its 11 skills, 8 commands, 1 agent.

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 debug

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/langerrr/zforge/debug"><img src="https://agentmods.dev/badge/skills/langerrr/zforge/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 520 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 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.00020 $0.00520
Opus 5.5 $0.00008 $0.00208
Sonnet 5.5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

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

Security

Grade A, and why

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.

codex/skills/debug/SKILL.md · 42 lines

How it starts

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

Debugging Router

A concrete failure — a broken test, a reproducible bug, a failing deploy. This skill owns no debugging opinion of its own; it names which methodology applies and in what order, because the failure mode is applying one of them and skipping the rest.

Not for open-ended exploration ("this feels wrong"). That is $compound-engineering:ce-ideate territory.

Sequence

1. $superpowers:systematic-debugging — start here when installed. Investigation discipline comes before any fix, including when the cause seems obvious. When Superpowers is unavailable, use the host's equivalent systematic-debugging workflow; do not skip the investigation step.

2. $compound-engineering:ce-debug — add when installed. Its hypothesis-and-prediction gate goes before any code change: state what you believe is wrong and what you expect to see if you are right, then check. Without Compound Engineering, apply that same hypothesis-and-prediction gate directly. A fix applied without a failed prediction is a guess that happened to be typed confidently.

3. $distributed-architect:async-reasoning — add when that compatible plugin is installed and the failure involves timing. Async state, race conditions, cache invalidation, init order, stale reads, write-then-read gaps within one component.

4. $distributed-architect:dist-debug — add when that compatible plugin is installed and the failure crosses a boundary. Cross-service, cross-process, distributed races. Backward tracing from the symptom to the boundary where the cause lives. Check the project's topology file first if it has one.

While debugging a planned feature

If the failure is in a feature with a zforge directory, its documents are evidence:

  • decision_review.md may already contain the decision that caused this.
  • The overview's ## Still owed may already name this gap.
  • The phase's ## Result says what was checked and against what, and so what was not.

After the fix

Record it where it will be found again:

Read the full file on GitHub · 42 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. 3d ago Changed fa48b68f15d1
  2. 24d ago Changed f5ff616b28c4
  3. 3mo ago First seen · 42 lines · 20 tokens per session scan A 86544ea34bda

Subscribe to this mod's changes

debug is a skill published in the GitHub repository Langerrr/zforge (12 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 520 once invoked, about $0.0001 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-08-31.

Related

debug compared with skills from other repositories

debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debugLangerrr/zforgeSkill123d agoMITA20Claude Code
trace-incidentmatheusPavaneli/workbenchSkill12mo agoMITA44Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill580todayMITA35Claude Code
skeptical-triageavelikiy/great_ctoSkill11718d agoMITA49Claude Code
anti-patternsavelikiy/great_ctoSkill11718d agoMITA59Claude Code
roslyn-queryNikiforovAll/claude-code-rulesSkill1441mo agoApache-2.0A44Claude Code
rubber-duckyharnessprotocol/harness-kitSkill13yesterdayApache-2.0A189Claude Code