systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from wazimmerman/zimster. It costs 23 tokens per session (513 once invoked), scanned A, original, MIT.

A debugging guide for finding the actual cause of a software failure through reproduction, evidence, competing explanations, and a regression test.

In plain words
What is it for?
It helps capture reliable failure details, trace incorrect data or state backward through the system, test competing hypotheses, and preserve the fix with a regression test.
Why use it?
It prevents fixes based only on guesses and helps separate the visible error from the earlier event that caused it.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the zimster plugin — 12 skills, 1 command, 4 agents, 1 hook shipped together

Good fit It helps capture reliable failure details, trace incorrect data or state backward through the system, test competing hypotheses, and preserve the fix with a regression test.

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

Made for: Claude Code, Codex.

Or install zimster, the plugin that ships this one along with the rest of its 12 skills, 1 command, 4 agents, 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/wazimmerman/zimster/systematic-debugging/github.svg)](https://agentmods.dev/skills/wazimmerman/zimster/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/wazimmerman/zimster/systematic-debugging"><img src="https://agentmods.dev/badge/skills/wazimmerman/zimster/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/wazimmerman/zimster/systematic-debugging"><img src="https://agentmods.dev/badge/skills/wazimmerman/zimster/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 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.00023 $0.00513
Opus 5.5 $0.00009 $0.00205
Sonnet 5.5 $0.00005 $0.00103
Haiku 4.5 $0.00002 $0.00051

Measured 1mo ago against content hash 75651be10d1e, 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 1mo 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.

plugins/zimster/skills/systematic-debugging/SKILL.md · 84 lines

How it starts

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

Systematic Debugging

Do not begin with a plausible patch. Begin with a verified symptom and an explanation that accounts for the evidence.

1. Reproduce

Capture the smallest reliable reproduction:

  • exact command, input, environment, and observed output;
  • whether the failure is deterministic;
  • the last known good version or condition when available;
  • the component boundary where expected behavior first diverges.

If the reported problem cannot be reproduced, gather logs or instrumentation. Do not manufacture certainty.

2. Establish the causal chain

Trace data and control flow backward from the bad observation:

  1. What value or state is wrong?
  2. Which producer created it?
  3. What assumptions did that producer make?
  4. Which upstream event violated those assumptions?
  5. Why did existing validation or tests not catch it?

For distributed, asynchronous, or native boundaries, record timestamps, identifiers, generations, ownership, and cleanup, not only error strings.

3. Form competing hypotheses

List the few explanations consistent with the evidence. Rank them by how much they explain, not by convenience. Design the smallest discriminating experiment for the leading hypotheses.

Change one variable at a time. Instrument before rewriting. A failed hypothesis is useful evidence; remove its instrumentation when finished.

4. Confirm root cause

A root-cause explanation must predict:

  • the original failure;
  • at least one nearby edge case;
  • why the obvious or prior fix was insufficient;
  • the location where a durable invariant can prevent recurrence.

If the same attempted fix fails twice, stop cycling. Re-examine the model, consult one bounded diagnostician, or revise the design.

5. Fix through TDD

Load test-driven-development:

  • encode the smallest regression proof;
  • observe RED on the defective behavior;
  • implement the invariant-level fix;
  • observe GREEN;
  • perform a revert or mutation check;
  • run affected tests and any concurrency/resource cleanup checks.

Read the full file on GitHub · 84 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 84 lines · 23 tokens per session scan A 75651be10d1e

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository wazimmerman/zimster (2 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 513 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

Other skills, from other repositories

java-testing-junit-mockito

Use when writing tests for Java (Quarkus or Spring) code - JUnit Jupiter structure, Mockito for collaborators, test slices, Testcontainers, and framework-native integration tests, test-first.

makifbaysal/tasktrooper · 46 tokens

wicked-garden-qe-flaky-test-hunter

Flake detection + root-cause specialist. Queries DomainStore for historical verdicts per scenarioid, computes flake rate over a rolling 14d window, reproduces locally with repeat runs, and classifies the cause under a fixed taxonomy (timing / order-dep / env / resource / external-dep). Never proposes "add retry" as a…

mikeparcewski/wicked-garden · 240 tokens

debugging

Investigate failures whose root cause is still unknown — narrow the search space, instrument, and test falsifiable hypotheses. Use for intermittent or environment-dependent behavior, unexplained stack traces, regressions with no known trigger, or any symptom without a confirmed cause. Ends once the root cause is…

thixpin/pitway · 86 tokens

testing

Strategy and rules for writing or improving automated tests. Use when adding tests, improving coverage, fixing flaky tests, setting up a test suite, or deciding what and how to test. Emphasizes deterministic tests, testing behavior over implementation, and a tight validation loop. For diagnosing production failures…

thixpin/pitway · 85 tokens

bug-fix

Regression-first workflow for fixing a defect whose cause is known. Reproduce the confirmed defect, fix the root cause minimally, protect it with a regression test, and verify. If the root cause is still unknown, use the debugging skill first.

thixpin/pitway · 52 tokens

testing

A guide to software testing, including unit tests for small pieces of code, integration tests for connected parts, and functional tests for complete behaviours. It also explains TDD, a method where tests are written before the code.

AntheaLaffy/the-missing-semester-skills · 80 tokens