systematic-debug

systematic-debug is a skill for Claude Code from mtvrkan/senior-dev-kit. It costs 76 tokens per session (439 once invoked), scanned A, original, MIT.

A method for investigating bugs whose cause is unclear, intermittent, or dependent on the machine, timing, input, or environment.

In plain words
What is it for?
Use it for flaky tests, regressions without useful error traces, race conditions, wrong results, and “works on my machine” failures.
Why use it?
It replaces guess-and-patch debugging with reproduction, controlled experiments, change bisection, and a recorded hypothesis for each attempt.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Good fit Use it for flaky tests, regressions without useful error traces, race conditions, wrong results, and “works on my machine” failures.

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

Made for: Claude Code.

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-debug

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtvrkan/senior-dev-kit/systematic-debug"><img src="https://agentmods.dev/badge/skills/mtvrkan/senior-dev-kit/systematic-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 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.00076 $0.00439
Opus 5.5 $0.00030 $0.00176
Sonnet 5.5 $0.00015 $0.00088
Haiku 4.5 $0.00008 $0.00044

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

Security

Grade A, and why

systematic-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 today.

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.

antigravity/skills/systematic-debug/SKILL.md · 25 lines

What it actually says

systematic-debug

The bug-fix skill assumes the evidence points at a file. This one is for when it does not — guessing and patching is how a flaky bug becomes two.

  1. REPRODUCE: find a command that shows the failure, and its rate (e.g. 3/20 runs). No reproduction → gather evidence first (logs, timestamps, inputs, environment diff); never fix what you cannot observe.
  2. BISECT the change: last known good vs first known bad — git bisect run <repro> when history is the variable, halving the input when data is, toggling config/env one key at a time when the environment is.
  3. HYPOTHESIS LOG: one hypothesis per attempt, the observation that would falsify it, the result. Change one variable per run. Two falsified in a row → widen the evidence, don't narrow the guess.
  4. FIX at the proven cause only, then rerun the reproduction enough times to beat the observed failure rate. Add the reproduction as a regression test.
  5. Race, timing or ordering cause → name the shared state and the missing ordering (lock, await, idempotency, transaction); a sleep or retry is not a fix.
  6. Guarded area implicated (auth, payment, schema, CI) → stop and escalate per HARD STOPS with the log so far.

Output

REPRO: [command] — [failure rate before → after]
CAUSE: [proven cause] — [the evidence that proved it]
LOG: H1 [..] ✗ · H2 [..] ✓
FIX: [file:line — what changed] | TEST: [regression test]
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. today Changed · -4 lines · +24 tokens per session f418e4b09067
  2. 2mo ago First seen · 29 lines · 52 tokens per session scan A 337a557e2cea

Subscribe to this mod's changes

systematic-debug is a skill published in the GitHub repository mtvrkan/senior-dev-kit (11 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 439 once invoked, about $0.0003 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-09-29.

Related

systematic-debug compared with skills from other repositories

systematic-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic-debugmtvrkan/senior-dev-kitSkill11yesterdayMITA76Claude Code
autonomous-tdd-debuggerroedyrustam/vibes-plugSkill1315d agoMITA43Cursor
dead-code-huntermagic5644/Graph-It-LiveSkill64yesterdayMITA165Claude Code
graph-it-livemagic5644/Graph-It-LiveSkill64yesterdayMITA160Claude Code
graph-it-refactormagic5644/Graph-It-LiveSkill64yesterdayMITA52Claude Code
debugging-workflowsCrowdStrike/foundry-skillsSkill38yesterdayMITA90Claude Code
app-auditCrowdStrike/foundry-skillsSkill38yesterdayMITA104Claude Code