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 agentmods add skills/johnqtcg/awesome-skills/systematic-debuggingnpx skills add johnqtcg/awesome-skills --skill systematic-debugginggit clone --depth 1 https://github.com/johnqtcg/awesome-skillsWrote 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/johnqtcg/awesome-skills/systematic-debugging)<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/systematic-debugging"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/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.00049 | $0.05117 |
| Opus 5 | $0.00024 | $0.02559 |
| Sonnet 5 | $0.00010 | $0.01023 |
| Haiku 4.5 | $0.00005 | $0.00512 |
Grade A, and why
systematic-debugging scanned grade A with 1 finding 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 6d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
allowed-tools: Read, Grep, Glob, Bash(go test*), Bash(go build*), Bash(go run*), Bash(go vet*), Bash(go mod graph*), Bash(go generate*), Bash(go clean*), Bash(git log*), Bash(git diff*), Bash(npm ls*), Bash(python3 -m un How it starts
The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Systematic Debugging
Overview
Random fixes waste time and create new bugs. Quick patches mask underlying issues and usually force a second debugging cycle.
Core principle: ALWAYS find root cause before attempting a permanent fix. Symptom fixes are failure.
Debugging report quality is part of the job. A report that lists guesses without evidence is not a passing debugging result.
The Iron Law
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
Phase 1 always applies. How much of Phases 2-4 apply, and what the final report requires, is set by Severity Triage and Scope & Mode below — read both before investigating.
Diagnostic Instrumentation Exemption
Adding temporary code to collect evidence is NOT a fix. Permitted during Phase 1: print/log statements, temporary breakpoints or debug flags, probe scripts, temporary test harnesses, system commands (df -h, lsof, strace, tcpdump) to observe runtime state. "Permitted" here is about scope (it's investigation, not a fix), not about pre-approval — tcpdump and env specifically are not pre-approved in allowed-tools and require asking first; see references/safety-and-authorization.md.
Rules: mark diagnostic code clearly (// DEBUG-INVESTIGATION or # DIAG), remove it after root cause is identified, and it must not change program behavior — only observe.
When to Use
Use for any technical issue: test failures, bugs in production, unexpected behavior, performance problems, build failures, integration issues, flaky tests, race conditions, Configuration drift, third-party breakage.
Use this ESPECIALLY when: under time pressure, "just one quick fix" seems obvious, you've already tried multiple fixes, a previous fix didn't work, or you don't fully understand the issue.
Severity Triage (Do This First)
+----------+---------------------+------------------------------+------------------+
| Severity | Characteristics | Investigation | Time Budget |
+----------+---------------------+------------------------------+------------------+
| P0 | Production down, | Mitigate first (P0 Protocol),| Mitigate: <15min |
| Critical | data loss, revenue | root cause after stable | Root cause: async|
| | impact, security | | |
+----------+---------------------+------------------------------+------------------+
| P1 | Feature broken, | Full 4-phase process, | 30-60min |
| High | blocking users, | no shortcuts | |
| | test suite failing | | |
+----------+---------------------+------------------------------+------------------+
| P2 | Minor bug, cosmetic | Phase 1 required; Phase 2 | 15-30min |
| Medium | edge case, non- | skippable if cause is | |
| | blocking | obvious; Phase 3 collapses | |
| | | to one hypothesis line | |
+----------+---------------------+------------------------------+------------------+
What ships with it
27 files 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.
- references/bad-good-debugging-reports.md 2.4 KB
- references/bug-type-strategies.md 8.0 KB
- references/condition-based-waiting-example.ts 4.9 KB runs code
- references/condition-based-waiting.md 3.8 KB
- references/debugging-report-scorecard.md 4.5 KB
- references/defense-in-depth.md 6.0 KB
- references/output-contract-template.md 5.7 KB
- references/root-cause-tracing.md 5.6 KB
- references/safety-and-authorization.md 7.5 KB
- references/scope-and-severity.md 6.9 KB
- scripts/find-polluter.sh 3.3 KB runs code
- scripts/run_regression.sh 323 B runs code
- scripts/tests/COVERAGE.md 11 KB
- scripts/tests/golden/001_flaky_race_async_cache.json 512 B
- scripts/tests/golden/002_root_cause_trace_deep_stack.json 541 B
- scripts/tests/golden/003_perf_regression_profile_first.json 537 B
- scripts/tests/golden/004_multi_component_config_propagation.json 519 B
- scripts/tests/golden/005_dependency_break_no_code_change.json 564 B
- scripts/tests/golden/006_build_failure_generated_code.json 569 B
- scripts/tests/golden/007_p0_mitigate_then_investigate.json 530 B
- scripts/tests/golden/008_three_failed_fixes_question_architecture.json 590 B
- scripts/tests/golden/009_p0_blocked_no_repro_honest_report.json 669 B
- scripts/tests/golden/010_goroutine_leak_masked_as_latency.json 665 B
- scripts/tests/golden/011_timezone_locale_environment_drift.json 604 B
- scripts/tests/test_find_polluter.py 6.1 KB runs code
- scripts/tests/test_golden_scenarios.py 4.3 KB runs code
- scripts/tests/test_skill_contract.py 17 KB runs code
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.
- 6d ago First seen · 321 lines · 49 tokens per session scan A e79c583c8f65
systematic-debugging is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed 10d ago), licensed MIT. It adds 49 tokens to every session and 5,117 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
manage-skills
세션 변경사항을 분석하여 검증 스킬 누락을 탐지합니다. 기존 스킬을 동적으로 탐색하고, 새 스킬을 생성하거나 기존 스킬을 업데이트한 뒤 프로젝트 CLAUDE.md를 관리합니다.
systematic-debugging
Structured debugging methodology — use before proposing fixes for any error or failure. Covers: code bugs, build errors, deploy failures, config conflicts, dependency issues, infra problems. Also use when previous fix attempts failed or root cause is unclear.
review-loop
Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…
eval-hooks
Audit Claude Code hooks defined in settings.json files for validity, performance safety, and correctness. Resolves each command against the filesystem, checks exit-code strategy for blocking hooks, flags missing timeouts, and reviews interactive vs async patterns. Use when setting up hooks for the first time…
check-cache-bugs
Audit Claude Code setup for cache bugs (CC#40524): sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5.
sandbox-unblock
Diagnostic protocol to run before reporting a sandbox blocker or asking for a configuration change. Eight checks that eliminate false positives, then a report template the person holding the settings can act on. On one measured day, six of eight reported blockers turned out to be false, all from the same handful of…