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 vanja-emichi/a0_agent_skills --skill debugging-and-error-recoverygit clone --depth 1 https://github.com/vanja-emichi/a0_agent_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/vanja-emichi/a0_agent_skills/debugging-and-error-recovery)<a href="https://agentmods.dev/skills/vanja-emichi/a0_agent_skills/debugging-and-error-recovery"><img src="https://agentmods.dev/badge/skills/vanja-emichi/a0_agent_skills/debugging-and-error-recovery/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.
<a href="https://agentmods.dev/skills/vanja-emichi/a0_agent_skills/debugging-and-error-recovery"><img src="https://agentmods.dev/badge/skills/vanja-emichi/a0_agent_skills/debugging-and-error-recovery.svg" alt="Reviewed on agentmods" width="80" 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.00043 | $0.02676 |
| Opus 5.5 | $0.00017 | $0.01070 |
| Sonnet 5.5 | $0.00009 | $0.00535 |
| Haiku 4.5 | $0.00004 | $0.00268 |
Grade A, and why
debugging-and-error-recovery 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 3mo 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.
→ Confirm the resource exists via code_execution_tool (curl/fetch) How it starts
The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debugging and Error Recovery
Overview
Debug systematically, not randomly. The most common debugging mistake is jumping to a fix before understanding the problem. Premature fixes mask symptoms, introduce new bugs, and waste time. The correct approach: reproduce the bug, read the error carefully, form a hypothesis, verify it, fix the root cause, confirm the fix.
When to Use
- Encountering an error message or exception
- Tests are failing unexpectedly
- A feature works in some cases but not others
- Recent changes broke something that was working
- Runtime behavior doesn't match what the code suggests
The Debugging Protocol
Step 1: Read the Error (Don't Skim)
The error message contains the answer most of the time. Read it in full:
READ THE ERROR:
→ What is the error type? (TypeError, ReferenceError, 404, etc.)
→ What is the exact message?
→ What file and line number?
→ What is the full stack trace (not just the first line)?
→ Is there a "caused by" or inner exception?
Use code_execution_tool to capture full error output:
# Run with full stack trace
node --stack-trace-limit=50 script.js 2>&1
# Python with full traceback
python -m traceback script.py 2>&1
# Capture test failures in full
npx vitest run --reporter=verbose 2>&1
Step 2: Reproduce Reliably
Before fixing, make the bug reproducible on demand:
REPRODUCTION QUESTIONS:
- Can I trigger this consistently?
- What exact inputs/conditions trigger it?
- Does it happen in isolation, or only with other code?
- Does it happen in test environment? Production? Both?
- Did it ever work? If so, what changed?
If you can't reproduce it, you can't verify when it's fixed. Use code_execution_tool to write a minimal reproduction:
// Minimal reproduction — remove everything not needed to trigger the bug
const { processTask } = require('./task-processor');
const task = { id: '123', title: '', status: 'pending' };
const result = processTask(task);
console.log(result); // Should trigger the bug
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.
- 3mo ago First seen · 385 lines · 43 tokens per session scan A e509470d0d37
debugging-and-error-recovery is a skill published in the GitHub repository vanja-emichi/a0_agent_skills (6 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 2,676 once invoked, about $0.0002 per session on Opus 5.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-31.
debugging-and-error-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debugging-and-error-recoveryvanja-emichi/a0_agent_skills | Skill | 6 | 3mo ago | MIT | A | 43 | Claude Code, Codex |
| systematic-debuggingmateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 16 | Claude Code, Codex |
| systematic-debuggingfurkangonel/cowrangler | Skill | 1 | 2mo ago | MIT | A | 14 | Claude Code, Codex |
| systematic-debuggingcamilooscargbaptista/cto-toolkit | Skill | 9 | 8mo ago | MIT | A | 136 | Claude Code |
| Error DebuggingGetSkill-Agent/getskill-skills | Skill | 2 | 8mo ago | none | A | 14 | Claude Code, Codex |
| tracejeremylongshore/tons-of-skills-marketplace | Skill | 3.0k | yesterday | MIT | A | 84 | Claude Code |
| analyze-logsHugoRCD/evlog | Skill | 2.0k | yesterday | MIT | A | 53 | Claude Code, Codex |