error-recovery

error-recovery is a skill for Claude Code from troykelly/claude-skills. It costs 26 tokens per session (1,962 once invoked), scanned C, original, no licence file.

A failure-handling process that assesses severity, preserves evidence, chooses whether to roll back, and checks the system after recovery.

In plain words
What is it for?
Use it when development or deployment work fails and you need to decide on recovery or rollback.
Why use it?
It provides a structured response to failures while reducing the risk of losing useful evidence or leaving the system in a bad state.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the issue-driven-development plugin — 61 skills, 9 agents, 4 hooks, 4 MCP servers shipped together

Good fit Use it when development or deployment work fails and you need to decide on recovery or rollback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/troykelly/claude-skills/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 troykelly/claude-skills --skill error-recovery
Clone the repo
git clone --depth 1 https://github.com/troykelly/claude-skills

Made for: Claude Code.

Or install issue-driven-development, the plugin that ships this one along with the rest of its 61 skills, 9 agents, 4 hooks, 4 MCP servers.

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/troykelly/claude-skills/error-recovery/github.svg)](https://agentmods.dev/skills/troykelly/claude-skills/error-recovery)
Your own site
<a href="https://agentmods.dev/skills/troykelly/claude-skills/error-recovery"><img src="https://agentmods.dev/badge/skills/troykelly/claude-skills/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/troykelly/claude-skills/error-recovery"><img src="https://agentmods.dev/badge/skills/troykelly/claude-skills/error-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,962 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00026 $0.01962
Opus 5 $0.00013 $0.00981
Sonnet 5 $0.00005 $0.00392
Haiku 4.5 $0.00003 $0.00196

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

Security

Grade C, and why

error-recovery scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules dist build .cache

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -I https://service.example.com/health
skills/error-recovery/SKILL.md · 406 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 11d ago First seen · 406 lines · 26 tokens per session scan C 8354735e5432

Subscribe to this mod's changes

error-recovery is a skill published in the GitHub repository troykelly/claude-skills (11 stars, last pushed 8mo ago), with no licence file. It adds 26 tokens to every session and 1,962 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

triage-issue

Verify an issue, persisted audit finding, or unresolved review finding against current code, classify it, and write only the contracted forge/ledger outcome. Supports independent batches and an immediate-fix review-finding route. Triggers: "triage-issue", "triage issue N", "triage this finding", "is this trigger met".

gtrabanco/agentic-workflow · 74 tokens

skill-creator

Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.

luongnv89/asm · 54 tokens

investigate

Systematically investigate bugs, test failures, build errors, performance issues, or unexpected behavior by cycling through characterize-isolate-hypothesize-test steps. Use when the user asks to "investigate this bug", "debug this", "figure out why this fails", "find the root cause", "why is this broken"…

tobihagemann/turbo · 107 tokens

audit

Project-wide health audit pipeline that fans out to all analysis skills in parallel, evaluates findings, and produces a unified report at .turbo/audit.md. Use when the user asks to "audit the project", "run a full audit", "project health check", "audit my code", "codebase audit", or "comprehensive review".

tobihagemann/turbo · 71 tokens

sonarqube-mcp

Provides SonarQube and SonarCloud integration patterns via the Model Context Protocol (MCP) server. Enables quality gate monitoring, issue discovery and triaging, pre-push code analysis, and rule education directly in the agent workflow. Use when the user wants to check quality gates, search for Sonar issues, analyze…

giuseppe-trisciuoglio/developer-kit · 127 tokens

qwen-coder

Provides Qwen Coder CLI delegation workflows for coding tasks using Qwen2.5-Coder and QwQ models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Qwen for tasks such as code generation, refactoring, debugging, or architectural analysis. Triggers…

giuseppe-trisciuoglio/developer-kit · 117 tokens