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 shennawardana23/skillme --skill debugging-and-error-recoverygit clone --depth 1 https://github.com/shennawardana23/skillmeWrote 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/shennawardana23/skillme/debugging-and-error-recovery)<a href="https://agentmods.dev/skills/shennawardana23/skillme/debugging-and-error-recovery"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/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/shennawardana23/skillme/debugging-and-error-recovery"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/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.00092 | $0.01826 |
| Opus 5 | $0.00046 | $0.00913 |
| Sonnet 5 | $0.00018 | $0.00365 |
| Haiku 4.5 | $0.00009 | $0.00183 |
Grade A, and why
debugging-and-error-recovery 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 11d 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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debugging and Error Recovery
Where debug is a tight four-phase loop for one already-identified bug, this skill is the surrounding policy: what to do the instant something breaks, which triage tree applies to which failure class, and two extra practices that class-specific triage requires — bisection for regressions and safe-fallback design for degraded operation.
The stop-the-line rule
The instant something unexpected happens:
1. STOP adding features or making changes
2. PRESERVE evidence (error output, logs, repro steps)
3. DIAGNOSE using the triage tree for this failure class
4. FIX the root cause
5. GUARD against recurrence
6. RESUME only after verification passes
Don't push past a failing test or broken build to work on the next feature — errors compound, and an unfixed bug in step 3 makes everything built on top of it wrong too.
Triage trees by failure class
Test failure:
Did you change code the test covers?
├── YES → is the test or the code wrong?
│ ├── Test outdated → update the test
│ └── Code has a bug → fix the code
├── Changed unrelated code → likely a side effect: check shared state, imports, globals
└── Test was already flaky → check timing issues, order dependence, external dependencies
Build failure: type error → read it, check types at the cited location; import error → confirm the module exists and paths/exports match; config error → check build config syntax/schema; dependency error → check the manifest, reinstall; environment error → check runtime version/OS compatibility.
Runtime error: TypeError/nil dereference → trace where the value should have been set, not just where it was used; network/CORS error → check URLs, headers, server CORS config; render error/blank screen → check the error boundary, console, component tree; wrong behavior with no error → add logging at key points, verify data at each step.
Reproducing the non-reproducible
Cannot reproduce on demand:
├── Timing-dependent? → add timestamps around the suspected area; widen race windows with artificial delays; run under load to raise collision probability
├── Environment-dependent? → compare runtime/OS/env vars; compare data shape (empty vs populated); reproduce in CI where the environment is clean
├── State-dependent? → check for leaked state between tests/requests (globals, singletons, shared caches); run the scenario isolated vs. after other operations
└── Truly random? → add defensive logging at the suspected site; alert on the specific error signature; document conditions and revisit when it recurs
What ships with it
1 file 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.
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.
- 11d ago First seen · 139 lines · 92 tokens per session scan A 6884746c38a2
debugging-and-error-recovery is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 13d ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,826 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
ego-lite-simplify
Find and implement evidence-backed simplifications in the ego-lite repository. Use when reviewing the codebase for dead code, duplicated state or APIs, speculative abstractions, unnecessary compatibility layers, hand-written infrastructure, excessive tests or documentation, or when the user asks to reduce code size or…
coding-protocol
Risk-scaled repo execution and code-evidence protocol. Skip architecture-only work, explanation, contract-preserving prose, and status. Use for contract changes, debugging, code review, implementation plans, and Git mutation; mixed tasks: only those parts.
fix-bug
Resolves a single bug from any starting evidence — Dash0 telemetry (span / log / web event / RUM error link), raw stack trace, error message, code pointer (file:line), screen recording, Linear ticket URL, or free-text symptom. Classifies the input, triages complexity (Phase 0.5) to pick between a fast lane and a full…
holistic-analysis
Forces a full holistic re-analysis when a fix or refactor isn't working. Instead of continuing to patch in isolation, this skill triggers a structured step-back analysis that traces the entire execution path end-to-end — from entry point to exit — analyzing each block, every contract boundary, and the full data flow.…
ci-auto-fix
Diagnoses a failed CI check, classifies it with an explicit verdict (code-bug | workflow-bug | dep-bug | env-bug | flaky | unsure), confidence-gates the fix (>=90 auto, 80-89 ask, <80 escalate), applies it, pushes, and iteratively verifies until CI passes — reverting the last commit if a brand-new failure appears.…