error-recovery

error-recovery is a skill for Claude Code from brunob54/superpowers-orchestrator. It costs 71 tokens per session (551 once invoked), scanned A, original, MIT.

A project file named known-issues.md that records recurring errors and their fixes for future debugging sessions.

In plain words
What is it for?
Use it to look up a known solution before debugging and to save fixes for errors likely to happen again.
Why use it?
It prevents developers from investigating the same setup, configuration, test, or platform problem repeatedly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superpowers-orchestrator plugin — 28 skills, 2 agents, 6 hooks shipped together

Good fit Use it to look up a known solution before debugging and to save fixes for errors likely to happen again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brunob54/superpowers-orchestrator/error-recovery
Install

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.

Any agent
npx skills add brunob54/superpowers-orchestrator --skill error-recovery
Clone the repo
git clone --depth 1 https://github.com/brunob54/superpowers-orchestrator

Made for: Claude Code.

Or install superpowers-orchestrator, the plugin that ships this one along with the rest of its 28 skills, 2 agents, 6 hooks.

Wrote 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.

agentmods badge for error-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/error-recovery/github.svg)](https://agentmods.dev/skills/brunob54/superpowers-orchestrator/error-recovery)
Your own site
<a href="https://agentmods.dev/skills/brunob54/superpowers-orchestrator/error-recovery"><img src="https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/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.

agentmods 80×15 button for error-recovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/brunob54/superpowers-orchestrator/error-recovery"><img src="https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/error-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00551
Opus 5 $0.00036 $0.00275
Sonnet 5 $0.00014 $0.00110
Haiku 4.5 $0.00007 $0.00055

Measured 10d ago against content hash d4c8585e3b64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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 10d 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.

skills/error-recovery/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Error Recovery Intelligence

Maintain a project-level error→solution mapping to avoid rediscovering known problems.

File Location

known-issues.md at the project root (same level as package.json, Cargo.toml, etc.).

When to Consult

Before starting any debugging investigation:

  1. Check if known-issues.md exists.
  2. Search it for the error message, error code, or failing test name.
  3. If a match is found, try the documented solution first before full investigation.

When to Update

After resolving a bug that is likely to recur:

  • Environment-dependent errors (missing services, port conflicts, env vars)
  • Configuration errors (wrong versions, missing dependencies, build flags)
  • Test failures caused by external state (database needs seeding, service needs starting)
  • Platform-specific issues (Windows vs. Unix path handling, line endings)
  • Errors that took significant investigation to diagnose

Do NOT record:

  • One-off logic bugs (the fix is in the code; the commit message has the context)
  • Errors already documented in the project's README or docs
  • Transient network/API failures

Entry Format

Each entry must be concise and actionable:

## [Short description]

**Error:** `exact error message or pattern`
**Cause:** One sentence explaining why this happens.
**Fix:**
```bash
exact command or steps to resolve

Context: When this typically occurs (e.g., "after fresh clone", "on Windows", "when DB is not running").


## File Management

- Keep `known-issues.md` under 50 entries. If it grows beyond that, prune entries that haven't been relevant in months.
- Group entries by category (Environment, Dependencies, Tests, Build, Platform).
- When a known issue is permanently fixed (e.g., the root cause was removed from the codebase), delete the entry.

## Integration

- `systematic-debugging` consults this file in Phase 1 (Investigate) before generating hypotheses.
- `using-superpowers` reads this file during the entry sequence when it exists.
- After resolving a debugging session, offer to add the error→solution mapping if it meets the "When to Update" criteria.

Read the full file on GitHub · 68 lines

Changes

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.

  1. 10d ago First seen · 68 lines · 71 tokens per session scan A d4c8585e3b64

Subscribe to this mod's changes

error-recovery is a skill published in the GitHub repository brunob54/superpowers-orchestrator (3 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 551 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

compound-docs

Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds institutional knowledge from solved problems. Use when consulting past solutions before investigating new issues.

oliver-kriska/claude-elixir-phoenix · 38 tokens

esp32-expert

This skill should be used for ESP32-specific hardware and runtime work in ESP-IDF, Arduino-ESP32, or PlatformIO projects: target/build detection, FreeRTOS tasks and ISRs, memory/DMA, peripherals, power, networking/security, OTA, crash diagnosis, and unattended reliability. Trigger on "debug this ESP32 crash", "review…

johnkozaris/jko-claude-plugins · 137 tokens

verify

Execution verification for CLI/script features — runs commands and captures output for human review. Use after /exec for script changes.

sequant-io/sequant · 26 tokens

Closure Scope Retention Guard

Detects long-lived objects (caches, listeners, singletons) that capture an entire enclosing scope via closures/environment capture, keeping large arrays or buffers alive, and proposes copying only the needed fields.

s977043/river-review · 46 tokens

capturing-learnings

Records a real failure-and-fix pair as a project-local lesson, with the specifics that make it recognisable next time. Use when a bug, leakage mistake, or validation error was found and corrected and should not recur. Use when someone asks to save what was learned from an experiment that went wrong.

StamKavid/last-ds-mile · 66 tokens

vibe-debugging-journal

Records resolved bugs in a persistent journal — symptom, root cause, difficulty, fix, prevention. Organized by category for future reference.

ash1794/vibe-engineering · 33 tokens