debug-systematic

debug-systematic is a skill for Claude Code from travisjneuman/.claude. It costs 33 tokens per session (1,191 once invoked), scanned A, original, MIT.

A four-phase method for investigating difficult, intermittent, or unexplained software bugs: reproduce the issue, narrow its scope, identify the cause, and verify the fix.

In plain words
What is it for?
Use it to document reliable reproduction steps, compare environments, narrow changes with techniques such as Git bisect, and confirm that a repair works.
Why use it?
It replaces guesswork with recorded evidence, making it easier to find the actual cause of race conditions, regressions, and environment-specific failures.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter.

Good fit Use it to document reliable reproduction steps, compare environments, narrow changes with techniques such as Git bisect, and confirm that a repair works.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/debug-systematic"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/debug-systematic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.01191
Opus 5 $0.00016 $0.00596
Sonnet 5 $0.00007 $0.00238
Haiku 4.5 $0.00003 $0.00119

Measured 5d ago against content hash 861e2bddc83e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

debug-systematic 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 5d 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.

skills/debug-systematic/SKILL.md · 207 lines

How it starts

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

Systematic Debugging Protocol

A disciplined, evidence-based approach to debugging that prevents guessing and ensures root cause discovery.

The 4-Phase Protocol

Phase 1: REPRODUCE (Establish Ground Truth)

Goal: Create reliable reproduction steps before ANY investigation.

Actions:

  1. Document exact steps to trigger the bug
  2. Record environment specifics (OS, versions, config, memory, network)
  3. Determine frequency: Always? Sometimes? Specific conditions?
  4. Capture exact error messages, stack traces, screenshots
  5. Test on different environments to isolate variables

Key Questions:

  • When did it last work correctly?
  • What changed since then? (code, deps, config, infrastructure)
  • Is it environment-specific?
  • Is it data-specific?
  • Is it timing-specific?

Output: Clear reproduction steps that reliably trigger the issue.


Phase 2: ISOLATE (Narrow the Scope)

Goal: Reduce the search space from "entire codebase" to "specific component."

Techniques:

Binary Search:

  1. Identify two points: working state and broken state
  2. Test the midpoint
  3. Recurse into the broken half
  4. Continue until the change is identified

Git Bisect (for regressions):

git bisect start
git bisect bad HEAD
git bisect good <known-good-commit>
# Git will checkout commits for testing
# After each test:
git bisect good  # or git bisect bad
# Continue until culprit found

Code Elimination:

  • Comment out sections to isolate the problem
  • Create minimal reproduction case
  • Strip away everything non-essential

Environment Isolation:

  • Test in isolation (unit test the failing path)
  • Compare working vs broken environments
  • Use fresh installs to eliminate pollution

Output: "The bug is in [specific component/function/line range]"


Phase 3: DIAGNOSE (Understand Root Cause)

Goal: Know exactly WHY the bug occurs, not just WHERE.

Scientific Method:

  1. Observe: What exactly is happening?
  2. Hypothesize: Why might this be happening?
  3. Predict: If hypothesis is correct, what else would be true?
  4. Test: Verify predictions with evidence
  5. Iterate: Refine hypothesis based on results

Read the full file on GitHub · 207 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. 5d ago First seen · 207 lines · 33 tokens per session scan A 861e2bddc83e

Subscribe to this mod's changes

debug-systematic is a skill published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 1,191 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

code-review-loop

Use when opening a PR for review or when receiving review feedback. Activate for keywords like "code review", "PR review", "request review", "review feedback", "address comments", "reviewer said". Covers both ends of the loop: preparing a reviewable PR and acting on feedback rigorously. Always engage with every…

duthaho/claudekit · 79 tokens

evidence-driven-debugging

Use during active debugging when you have a hypothesis to test or need to instrument a running system. Activate for keywords like "debug", "instrument", "log", "trace", "breakpoint", "what's happening at runtime", "production behavior". Pair to investigate-root-cause for the doing-it phase. Always record what you…

duthaho/claudekit · 87 tokens

investigate-root-cause

Use when encountering ANY bug, error, test failure, or unexpected behavior. Activate for keywords like "bug", "error", "failing", "broken", "doesn't work", "unexpected", "crash", "exception", "TypeError", "undefined", stack traces, or any error message. Also trigger when tests fail unexpectedly, when behavior differs…

duthaho/claudekit · 121 tokens

release-and-changelog

Use when cutting a release, bumping a version, or writing release notes. Activate for keywords like "release", "version bump", "changelog", "release notes", "tag", "publish", "ship a release", "v1.x", "v2.x". Enforces version hygiene: SemVer respect, changelog discipline, atomic commits, tagged release. Always reflect…

duthaho/claudekit · 99 tokens

map-codebase

Use when entering an unfamiliar codebase or area, before making non-trivial changes, when onboarding to a new system, or when planning a refactor that touches multiple modules. Activate for keywords like "explore", "map", "find where", "trace", "how does X work", "what calls Y", "scope of change". Produces an…

duthaho/claudekit · 112 tokens

troubleshoot-worktree

Troubleshoot git worktree, branch, and refname issues.

dryvist/claude-code-plugins · 19 tokens