Debug Mantra
Four-step debugging discipline that requires a reliable repro and falsification before any fix is proposed.
- CCM score
- 68 of 100
- skills.sh installs
- 5.2K
- GitHub stars
- 3.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers reproduction, fail-path tracing, hypothesis falsification, and a running ledger of every experiment in the session
- Includes a verbatim mantra block recited at session start, with debugger-first, source-trace, and in-code instrumentation tactics in escalating order
- Enforces no proposed fix before a reliable repro exists, and no hypothesis accepted until it survives disproof and matches all prior runs
- Triggers on
/debug-mantraand whenever a user reports a bug, pastes a stack trace, or asks to diagnose an issue
Install
$ npx -y skills add thananon/9arm-skills --skill debug-mantra -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Debug Mantra
Four-step discipline for any debug session. Recite verbatim, then apply in order.
Recite this — verbatim, as the first thing in your first response
Mantra:
- First is reproducibility. Can the issue be reproduced reliably?
- Know the fail path. Debugger first; then source trace + knob enumeration; then in-code instrumentation.
- Question your hypothesis. What would disprove it?
- Every run is a breadcrumb. Cross-reference all of them.
Then begin work.
1. Reproduce reliably
Build a runnable repro before anything else.
- Reliable repro → capture the exact steps, inputs, and environment as a runnable artifact: failing test, curl script, CLI invocation, replay harness.
- Flaky repro → the bug is not yet debuggable. Raise the rate first: loop the trigger, parallelise, add stress, narrow timing windows, inject sleeps. 50% flake is debuggable; 1% is not.
- No repro at all → stop. Say so explicitly. Ask the user for env access, captured artifacts (HAR, log dump, core), or permission to instrument. Do not proceed to hypothesise.
Details
- Repository
- github.com/thananon/9arm-skills
- Category
- Debugging
- First seen
- Jul 14, 2026
Questions
What does the debug-mantra skill do?
The debug-mantra skill enforces a four-step debugging discipline: reproduce the bug reliably, trace the fail path, falsify the hypothesis, and cross-reference every breadcrumb. It has the agent recite the mantra block at the start of a debug session and apply the steps in order before proposing any fix.
How do I install the debug-mantra skill?
Run npx -y skills add thananon/9arm-skills --skill debug-mantra -y in your project to install it. Once installed, it triggers on /debug-mantra and whenever a bug, error log, or stack trace comes up.
Where does debug-mantra rank in the Debugging category?
debug-mantra is in the Debugging category on Claude Marketplaces and ranks in the top 100 there. Other skills in the category include diagnosing-bugs, systematic-debugging, safe-debug, azure-messaging and sentry-cli.
Who is debug-mantra for?
It suits developers who want an agent to debug methodically rather than guess at fixes. The skill asks for a runnable repro first and ranks several hypotheses before committing to one.
More from thananon/9arm-skills
All 6Similar to Debug Mantra
More Debuggingdebugging-wizardjeffallan/claude-skills5.6K installsSystematic, hypothesis-driven debugger that reproduces, isolates, and verifies fixes for bugs and crashes.
debuganthropics/knowledge-work-plugins6.2K installsStructured debugging session that reproduces, isolates, diagnoses, and fixes issues from error messages or symptoms.
diagnosing-bugsmattpocock/skills969.6K installsStructured diagnosis loop that builds a red-capable feedback command before any hypothesising or fixing.
debugging-strategiessickn33/agentic-awesome-skills425 installsSystematic debugging method that reproduces, isolates, and verifies bugs before any fix is applied.
debugging-and-error-recoveryaddyosmani/agent-skills81.5K installsGuided root-cause debugging that triages failures, localizes the layer, and fixes the cause rather than the symptom.