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.
npx skills add VersoXBT/claude-initial-setup --skill systematic-debugginggit clone --depth 1 https://github.com/VersoXBT/claude-initial-setupWrote 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.
[](https://agentmods.dev/skills/versoxbt/claude-initial-setup/systematic-debugging)<a href="https://agentmods.dev/skills/versoxbt/claude-initial-setup/systematic-debugging"><img src="https://agentmods.dev/badge/skills/versoxbt/claude-initial-setup/systematic-debugging.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01899 |
| Opus 5 | $0.00025 | $0.00949 |
| Sonnet 5 | $0.00010 | $0.00380 |
| Haiku 4.5 | $0.00005 | $0.00190 |
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.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Systematic Debugging
Find bugs efficiently through hypothesis testing, binary search, and structured elimination rather than trial and error.
When to Use
- A bug report or unexpected behavior is described
- Tests are failing for unknown reasons
- Something "used to work" and now does not
- The user says "it does not work" without a clear cause
- A production issue needs rapid root cause identification
Core Patterns
The Debugging Loop
Follow this process for every bug:
1. REPRODUCE — Confirm the bug exists and get consistent repro steps
2. HYPOTHESIZE — Form 2-3 theories about the cause
3. TEST — Design the smallest experiment to confirm/reject each theory
4. ISOLATE — Narrow down to the exact line/condition
5. FIX — Apply the minimal fix
6. VERIFY — Confirm the fix resolves the issue without regressions
# Step 1: Reproduce reliably
# Write down exact steps, inputs, and expected vs actual output
# Step 2: Form hypotheses
# "The null pointer is because user.address is undefined when user has no profile"
# "The timeout is because the database connection pool is exhausted"
# Step 3: Test one hypothesis at a time
# Add a focused log or assertion, not 20 print statements
Binary Search Debugging
When you know something worked at point A and is broken at point B, bisect to find the breaking change:
# Git bisect for finding the breaking commit
git bisect start
git bisect bad # Current commit is broken
git bisect good v2.1.0 # This version worked
# Git checks out a midpoint — test it
# Mark as good/bad, repeat until the breaking commit is found
git bisect good # or: git bisect bad
# ... repeat ...
git bisect reset # When done
# Automated bisect with a test script
git bisect start HEAD v2.1.0
git bisect run npm test
Apply the same principle to code:
// Binary search within a function: comment out half the logic
// If bug disappears, the problem is in the commented half
// If bug remains, the problem is in the active half
// Repeat until isolated
async function processOrder(order: Order): Promise<Result> {
const validated = validateOrder(order); // Phase 1
const enriched = await enrichWithPricing(validated); // Phase 2
const reserved = await reserveInventory(enriched); // Phase 3
const result = await chargePayment(reserved); // Phase 4
return result;
}
// Does the bug occur after Phase 2?
// Comment out Phase 3 and 4 → test → narrow down
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.
- 3d ago First seen · 259 lines · 50 tokens per session scan A a2da118262b3
systematic-debugging is a skill published in the GitHub repository VersoXBT/claude-initial-setup (4 stars, last pushed 4mo ago), licensed MIT. It adds 50 tokens to every session and 1,899 once invoked, about $0.0003 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.
Other skills, from other repositories
test-runner
Use this skill when orchestrating agentic end-to-end tests. Resolves target + profile, dispatches the right driver(s) (playwright for web today, peekaboo for macOS (issue #381)), invokes the ux-evaluator agent (opus, read-only) against driver artifacts, reconciles findings with the open issue tracker via…
fix-bug
Run the Fix Validation pipeline to investigate, fix, and validate a bug. Ensures deterministic pipeline execution with IssueAnalyzer, FixWriter, TestWriter (conditional), TestAudit (conditional), and FixValidator stages.
backpropagation
Trace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns.
test-triage
Classify failing tests as flaky vs. real regressions and propose a next step for each. Invoke when the user pastes failing test output, asks to triage CI failures, or asks "are these tests flaky".
vcontainer
VContainer dependency injection for Unity — LifetimeScope hierarchy, registration patterns, constructor injection for plain C#, [Inject] for MonoBehaviours. Lightweight alternative to Zenject.
learner
Post-debugging knowledge extraction — captures non-obvious, codebase-specific learnings that pass quality gates. Invoke after resolving tricky bugs or discovering surprising behavior.