
Description
Debug Mantra is an agent skill that gives a coding agent a fixed four-step discipline for debugging. Before it begins, the skill asks the agent to recite a short mantra, then to work through the steps in order: reproduce the issue reliably, know the fail path, question the hypothesis, and treat every run as a breadcrumb to cross-reference. The first step insists on a runnable repro before any fix. The second says to use a debugger first, then a source trace with a list of knobs, then in-code instrumentation. The third asks what evidence would disprove the current theory. The fourth asks the agent to check each run against all the others it has collected. The discipline suits developers whose bugs appear intermittently or whose cause is unclear and who want an agent to avoid guessing. The skill is listed on skills.sh with about 4.8K installs, and its source is in the thananon/9arm-skills repository on GitHub.…
Highlights
- Four ordered steps: reproduce, trace, falsify, cross-reference
- Requires a runnable repro before any fix
- Debugger first, then source trace and instrumentation
- Keeps agent debugging sessions to a fixed method
Ratings & Reviews
No ratings yet
Be the first to rate debug-mantra.
People also visit

systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior
debug-mantra FAQ
What does the debug-mantra skill make the agent do?
It makes the agent recite a four-step debugging mantra and then work through reproduce, trace the fail path, falsify its hypothesis and cross-check every run.
When should I use it?
When a bug is intermittent or its cause is unclear, and you want the agent to reproduce it and test its theory before changing code.
How do I install it?
Run npx skills add https://github.com/thananon/9arm-skills --skill debug-mantra in your project.
What does the first step require?
A runnable reproduction of the issue, built before anything else, so every later check can be repeated.
What tools does the second step use?
A debugger first, then a source trace with enumeration of the knobs that affect the code path, and finally instrumentation added to the code.
Is it free?
The listing shows no fee, and the source is public in the thananon/9arm-skills repository on GitHub.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best debug-mantra alternatives?
Popular alternatives to debug-mantra include debug, diagnose and debug. See all debug-mantra alternatives


















