fable-recover

fable-recover is a skill for Claude Code, Codex from imMamdouhaboammar/get-fable. It costs 117 tokens per session (1,837 once invoked), scanned A, original, MIT.

A recovery guide for repeated command, test, or build failures. It gathers new evidence to find the cause before more code is changed.

In plain words
What is it for?
Use it to investigate recurring failures, stale build caches, branch drift, timing-dependent errors, and source code that appears not to affect execution.
Why use it?
It prevents an agent from repeating patches based on the same failed assumption, especially when output is stale or tests and runtime behavior disagree.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to investigate recurring failures, stale build caches, branch drift, timing-dependent errors, and source code that appears not to affect execution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/fable-recover
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 imMamdouhaboammar/get-fable --skill fable-recover
Clone the repo
git clone --depth 1 https://github.com/imMamdouhaboammar/get-fable

Made for: Claude Code, Codex.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 5 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 fable-recover

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-recover/github.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-recover)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-recover"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-recover/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 fable-recover

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-recover"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-recover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,837 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.00117 $0.01837
Opus 5 $0.00059 $0.00919
Sonnet 5 $0.00023 $0.00367
Haiku 4.5 $0.00012 $0.00184

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

Security

Grade A, and why

fable-recover 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 6d 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/fable-recover/SKILL.md · 204 lines

How it starts

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

Fable Recover

Stop spending mutations on a failing hypothesis. Rebuild causal confidence before changing code again.

Mission

Recovery exists for the moment an agent is most likely to become expensive and irrational: the same task has failed more than once, output contradicts expectations, or edits appear to have no effect.

The goal is not to "try something different." The goal is to explain why previous attempts failed, falsify competing causes, and issue one repair that is justified by new evidence.

Activate When

  • the same command/test/behavior fails after two materially similar implementation attempts;
  • output appears stale or unaffected by known source changes;
  • tests/runtime disagree;
  • evidence contradicts a load-bearing assumption;
  • failures alternate or depend on timing/environment;
  • the agent is about to repeat a command/patch without new diagnostic information.

Do Not Activate When

  • first failure is a trivial syntax/type error introduced by the current edit;
  • architecture is simply unknown and no repeated failure occurred (fable-discover);
  • expected RED in TDD is being observed correctly;
  • a narrow review finding already has an obvious bounded repair.

Failure Classification

Start by classifying the evidence, not the code.

Class Typical signals First probes
Harness assertion never reached, fixture/mock/setup error prove test path and fixture
Environment local/CI/OS/env-specific versions, env, cwd, permissions
Artifact/cache source changes not reflected entrypoint, build timestamps, cache, dist
Execution path edited code never executes tracing/instrumentation/registration
Dependency/version unexpected API/runtime semantics lockfile, resolved version, official source
Data/state only some fixtures/accounts/orders fail minimal failing state, persistence boundaries
Concurrency/timing intermittent/order-sensitive deterministic coordination, shared state
Product logic harness/path proven, assertion consistently wrong isolate algorithm/branch
Invariant/design local fixes move failure elsewhere identify violated cross-component rule

Read the full file on GitHub · 204 lines

Files

What ships with it

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

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. 6d ago First seen · 204 lines · 117 tokens per session scan A 5dc1cf5c7549

Subscribe to this mod's changes

fable-recover is a skill published in the GitHub repository imMamdouhaboammar/get-fable (4 stars, last pushed 2d ago), licensed MIT. It adds 117 tokens to every session and 1,837 once invoked, about $0.0006 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-09-05.

Related

Other skills, from other repositories

backpropagation

Trace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns.

LucasDuys/forge · 27 tokens

ts-debug

TypeScript/Node debugging expert. Use when the user needs to debug, profile, or trace TypeScript or Node.js code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function", "why won't the process exit".

berekvolgyipeter/dotclaude · 68 tokens

py-debug

Python debugging expert. Use when the user needs to debug, profile, or trace Python code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function".

berekvolgyipeter/dotclaude · 54 tokens

code

Use BEFORE generating, refactoring, reviewing, or debugging code. Trigger phrases include "write a function/script/class for X", "review this code/diff/PR", "refactor this", "debug this error", "is this implementation correct", "what's wrong with this code", "improve this code", "translate from X to Y", or any prompt…

ejentum/ejentum-mcp · 192 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens