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

Part of the zimster plugin — 12 skills, 1 command, 4 agents, 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/wazimmerman/zimster/systematic-debugging
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.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.svg" alt="Measured on agentmods" 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. 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.00023 $0.00513
Opus 5 $0.00012 $0.00257
Sonnet 5 $0.00005 $0.00103
Haiku 4.5 $0.00002 $0.00051

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

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. 3d 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 15d ago), licensed MIT. It adds 23 tokens to every session and 513 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-31.

Related

Other skills, from other repositories

treework-manual

Use TreeWork Manual when the user asks for it, or when the Agent judges that organizing ongoing, multi-part work as a persistent Markdown Tree would improve direction, continuity, recovery, or handoff. Adapt the Tree's depth and document detail to the user's needs, domain, and situation rather than a fixed threshold.

Johnny-xuan/TreeWork · 68 tokens

treework

Use TreeWork, a tree-guided development plugin for complex or evolving software projects that need staged alignment, pre-coding technical Specs, declarative project-tree planning, branch-scoped Git worktrees, durable recovery, and protected completion. It teaches the Agent to move through development along the Tree…

Johnny-xuan/TreeWork · 68 tokens

单元测试自动生成

为核心函数、边界条件和回归场景生成单元测试。.

cdavid817/vanehub-ai · 23 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

hf.check-test-counterpart

Skill "hf.check-test-counterpart" from T-rav/hydraflow, covering hf.check-test-counterpart, fires on pretooluse for write tool, does not block (exit 0) - only shows a reminder, only check python source files and skip test files, configs, init, migrations, scripts.

T-rav/hydraflow · 11 tokens

repository-bootstrap

Audit and establish or upgrade the canonical repository governance baseline. Use only when explicitly asked to bootstrap, standardize, or upgrade a repository; do not use for feature development or source-code restructuring.

cz1993/vibe-coding-repository-standard · 41 tokens