systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from wsauret/flywheel. It costs 15 tokens per session (580 once invoked), scanned A, original, Apache-2.0.

A complete method for diagnosing a defect, testing the confirmed cause, applying the smallest fix, and checking the original behavior again.

In plain words
What is it for?
Use it for end-to-end bug fixing, including root-cause investigation, a diagnosis-focused regression test, the targeted code change, and independent verification.
Why use it?
It prevents fixes based on false explanations and requires new evidence to send the investigation back when the causal explanation no longer holds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for end-to-end bug fixing, including root-cause investigation, a diagnosis-focused regression test, the targeted code change, and independent verification.

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

Made for: Claude Code, Codex.

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/wsauret/flywheel/systematic-debugging/github.svg)](https://agentmods.dev/skills/wsauret/flywheel/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/wsauret/flywheel/systematic-debugging"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/systematic-debugging/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 systematic-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/systematic-debugging"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 580 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.00015 $0.00580
Opus 5.5 $0.00006 $0.00232
Sonnet 5.5 $0.00003 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 4d ago against content hash 26d79965b128, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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.

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.

src/agent-skills/systematic-debugging/SKILL.md · 33 lines

How it starts

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

Systematic Debugging

Diagnose first, then fix only the confirmed cause, then prove the original behavior independently.

Input

Start with a specific defect, expected behavior, available evidence, reproduction constraints, and permission to edit.

Method

  1. Run the composed root-cause-analysis method. A decisive no-defect result is successful completion with no edit. Stop unsuccessfully if it returns blocked or exhausted.
  2. Preserve the confirmed trigger-to-symptom causal chain and its evidence per edge.
  3. In interactive chat only, after confirmed, load the design skill and propose the fix through it; its scope check decides whether approval is needed, and approval resumes this method. Agents of a workflow and subagents follow their brief autonomously.
  4. Create the smallest diagnosis-scoped regression through the composed test-driven-development method. If honest RED cannot be established, use only that method's declared fallback or blocked result.
  5. If any new observation refutes a causal edge, return to diagnosis. Do not continue editing a disproved explanation.
  6. Implement the smallest fix at the point where valid behavior first becomes invalid. Change one causal mechanism, not a cluster of symptoms.
  7. Apply the composed verification method through fresh verification of the original symptom, focused regression, and intended diff on the present tree. Always observe the original symptom on the surface where the report observed it, such as the installed binary, the client, or the command that the user ran. A passing regression test never replaces this observation. Past observations, including GREEN from the fix, guide hypotheses only, never current acceptance. Run the fewest decisive fresh checks plus explicit repository gates; do not add an unrelated adjacent path or full suite. Within this verification pass, one fresh check may prove multiple claims; stop once the required evidence is complete.

Stop and result

Stop with fixed, no-defect, blocked, failed-verification, or escalated. For no-defect, report paths inspected now, fresh observations, and why they decisively settle the report. For a fix, preserve the causal chain and report changed files, RED and GREEN evidence or the declared fallback, fix summary, fresh final proof, and remaining risk. State confidence per the composed verification method.

Read the full file on GitHub · 33 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. 4d ago First seen · 33 lines · 15 tokens per session scan A 26d79965b128

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 580 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-11-03.

Related

systematic-debugging compared with skills from other repositories

systematic-debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic-debuggingwsauret/flywheelSkill19todayApache-2.0A15Claude Code, Codex
rust-checkHmbown/CodeWhaleSkill41k6d agoMITA15Claude Code, Codex
debugHmbown/CodeWhaleSkill41k6d agoMITA30Claude Code, Codex
feedbackHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex
test-fixpatriceckhart/zotSkill360yesterdayMITA17Claude Code
investigateAbyssCN/oh-my-dagSkill4427d agoMITA77Claude Code, Codex
bugfix-triageAbyssCN/oh-my-dagSkill4427d agoMITA37Claude Code, Codex