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.5 | $0.00037 | $0.00730 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (3 stars, last pushed 12d ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,826 once invoked, about $0.0004 per session on Opus 5.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.
diagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session…
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…
fix-bug
Resolves one bug from any evidence (Dash0 link, stack trace, error, file:line, screen recording, Linear ticket, or symptom): triages complexity, locks a failing repro, runs root-cause analysis, and at confidence >= 92 % hands off to a verified draft PR via the fast or standard lane. Flags --analyse-only…
measurable
Ensures every delivery ships the telemetry that proves its impact and surfaces its regressions — RUM events, OpenTelemetry traces, metrics, logs, and explicit error paths; modes guide, implement, audit, setup. Triggers on "is this measurable", "add telemetry", "instrument this endpoint", "will we know if this…
playwright-trace-analyzer
Analyzes Playwright trace.zip archives (or a GitHub Actions run URL) — action timeline, network, console errors — to name the race behind a flake and rank test or app fixes by measured impact. Invoke with /playwright-trace-analyzer for "why is this test flaky" or "why did playwright time out".