systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from DollarDill/beads-superpowers. It costs 21 tokens per session (3,015 once invoked), scanned A, original, MIT.

A step-by-step method for investigating bugs, failed tests, build failures, and other unexpected technical behavior.

In plain words
What is it for?
Use it to examine error messages, reproduce problems, trace their causes, and then choose a fix for software issues.
Why use it?
It prevents guesswork by requiring the underlying cause to be identified before anyone proposes a fix.

Skill for Claude CodeCodex

Part of the beads-superpowers plugin — 22 skills, 1 agent, 1 hook 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/dollardill/beads-superpowers/systematic-debugging
Any agent
npx skills add DollarDill/beads-superpowers --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/DollarDill/beads-superpowers

Made for: Claude Code, Codex.

Or install beads-superpowers, the plugin that ships this one along with the rest of its 22 skills, 1 agent, 1 hook.

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 systematic-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/dollardill/beads-superpowers/systematic-debugging.svg)](https://agentmods.dev/skills/dollardill/beads-superpowers/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/dollardill/beads-superpowers/systematic-debugging"><img src="https://agentmods.dev/badge/skills/dollardill/beads-superpowers/systematic-debugging.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,015 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.00021 $0.03015
Opus 5 $0.00010 $0.01507
Sonnet 5 $0.00004 $0.00603
Haiku 4.5 $0.00002 $0.00301

Measured 4d ago against content hash 78549f56e920, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

systematic-debugging 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (condition-based-waiting-example.ts, find-polluter.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/systematic-debugging/SKILL.md · 317 lines

How it starts

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

Systematic Debugging

Overview

Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.

Violating the letter of this process is violating the spirit of debugging.

The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you haven't completed Phase 1, you cannot propose fixes.

When to Use

Use for ANY technical issue:

  • Test failures
  • Bugs in production
  • Unexpected behavior
  • Performance problems
  • Build failures
  • Integration issues

Use this ESPECIALLY when:

  • Under time pressure (emergencies make guessing tempting)
  • "Just one quick fix" seems obvious
  • You've already tried multiple fixes
  • Previous fix didn't work
  • You don't fully understand the issue

Don't skip when:

  • Issue seems simple (simple bugs have root causes too)
  • You're in a hurry (rushing guarantees rework)
  • Manager wants it fixed NOW (systematic is faster than thrashing)

The Four Phases

You MUST complete each phase before proceeding to the next.

Phase 1: Root Cause Investigation

BEFORE attempting ANY fix:

  1. Read Error Messages Carefully

    • Don't skip past errors or warnings
    • They often contain the exact solution
    • Read stack traces completely
    • Note line numbers, file paths, error codes
  2. Reproduce Consistently

    • Can you trigger it reliably?
    • What are the exact steps?
    • Does it happen every time?
    • If not reproducible → gather more data, don't guess
  3. Check Recent Changes

    • What changed that could cause this?
    • Git diff, recent commits
    • New dependencies, config changes
    • Environmental differences
    • For workflow-level issues (blocked beads, stuck execution): bd ready --explain shows dependency reasoning
    • Check the knowledge store for this symptom before investigating further: bd memories <symptom-keywords> (prior root-cause/lesson memories) and bd list --label <topic> --status all (+ bd search "<symptom>" --status all for decision/design knowledge-beads; error strings are body terms: add --desc-contains "<error-string>"; >10 hits: narrow the query, never triage truncated titles). Then read — hits are pointers, not knowledge: bd show <ids> every plausibly-matching prior decision/design, and bd recall <key> every plausibly-matching memory (bd memories prints truncated previews) — full bodies, before investigating further. 0 relevant does not mean none exist — re-angle the query once before emitting KB check: none. Emit KB check: N hits, M read + a one-line disposition each. If a prior root cause or decision already covers this, use it — don't re-debug something already understood.

Read the full file on GitHub · 317 lines

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. 4d ago First seen · 317 lines · 21 tokens per session scan A 78549f56e920

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository DollarDill/beads-superpowers (26 stars, last pushed 12d ago), licensed MIT. It adds 21 tokens to every session and 3,015 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

beads-onboard

This skill should be used when the user asks to "onboard beads", "set up beads conventions", "configure beads for this project", "set up project labels", "improve my beads quality", "run beads onboard", "upgrade beads conventions", "re-run beads onboard", or when a project has .beads/ but no .beads/conventions/…

seanmartinsmith/sms-public-mkt · 96 tokens

compound-v

Use when superpowers:brainstorming is about to begin (pre-brainstorm recon), OR has produced a spec, OR when superpowers:writing-plans has produced a plan, OR when about to invoke superpowers:subagent-driven-development or superpowers:executing-plans. Sidekick that intercepts these four Superpowers transitions — runs…

procoders/superpowers-v · 103 tokens

backend-launcher

Use when Compound V's dispatcher needs to run one file-scoped job on a chosen backend (Claude subagent, headless Codex worker, headless Antigravity worker, headless Cursor worker, headless Devin worker, or headless opencode worker) and get back a canonical jobresult. The single jobspec → jobresult contract every…

procoders/superpowers-v · 91 tokens

pr-review

Use when the user wants to deeply review a pull/merge request or a local diff — "review this PR", "grill the MR", "stress-test this diff", "deep-dive code review", "code review before merge", or when they name a PR/MR URL, number, or feature branch. Works on GitHub (gh), GitLab (glab), or a plain local branch with no…

procoders/superpowers-v · 96 tokens

dolt-mcp-vcs

Universal Dolt version-control workflow. Step 0 auto-detects what kind of Dolt stack is present — every make and model (classic Dolt repo, live dolt sql-server on its ACTUAL bound port, bd embedded store, Doltgres, DoltLite single-file DB, DumboDB) — and emits a ready-to-use connection descriptor, then routes to work…

jeremylongshore/dolt-mcp-vcs-plugin · 252 tokens

linear-workspace

Linear issue management — routes work to specialized agents and slash commands. Use when: creating, updating, searching, bulk-editing, cleaning up, syncing Linear. TRIGGERS: "linear", "ticket", "issue", "create issue", "update issue", "search issues", "my issues", "bulk", "cleanup", "sync", "log bug", "file issue"…

Elnora-AI/elnora-linear · 126 tokens