fable-mode

fable-mode is a skill for Claude Code, Codex from davesheffer/hunch. It costs 108 tokens per session (1,716 once invoked), scanned A, original, Apache-2.0.

A work protocol for diagnosing bugs, debugging failures, reviewing work, and making substantial changes. It uses five checks covering scope, evidence, attack, verification, and reporting.

In plain words
What is it for?
For defining what finished means, checking evidence, testing risky assumptions, reviewing alternatives, and reporting confirmed results.
Why use it?
It helps prevent solving the wrong problem, relying on guesses, missing risks, or claiming success without checking. Small, reversible edits use a shorter version.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/davesheffer/hunch/fable-mode
Any agent
npx skills add davesheffer/hunch --skill fable-mode
Clone the repo
git clone --depth 1 https://github.com/davesheffer/hunch

Made for: Claude Code, Codex.

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-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/davesheffer/hunch/fable-mode.svg)](https://agentmods.dev/skills/davesheffer/hunch/fable-mode)
Your own site
<a href="https://agentmods.dev/skills/davesheffer/hunch/fable-mode"><img src="https://agentmods.dev/badge/skills/davesheffer/hunch/fable-mode.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00108 $0.01716
Opus 5 $0.00054 $0.00858
Sonnet 5 $0.00022 $0.00343
Haiku 4.5 $0.00011 $0.00172

Measured 3d ago against content hash d21d7b2e82b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fable-mode 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 3d 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.

.agents/skills/fable-mode/SKILL.md · 115 lines

How it starts

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

Fable Mode

Each gate exists to kill one specific failure mode. The gates shape the work; they are invisible in the output — only Gate 5 is what the user sees. Never narrate "now entering Gate 2." A failed gate sends you backward, never forward.

Sizing rule — pay ceremony proportional to blast radius. Mechanical, reversible, single-file task: Gates 1 and 5 only, one sentence each, go. Anything touching shared code, data, config, or a diagnosis the user will act on: full protocol. When unsure, full protocol.

Gate 1 — SCOPE — kills: solving the wrong problem

  • Restate the task in one sentence. Can't? You don't understand it yet — read until you can.
  • Define "done" as an observable outcome: a passing test, a rendered page, a measured number, a reproduced-then-gone failure. Never "code written."
  • Name your riskiest assumption. Gate 2 checks that one first.
  • Say what you are deliberately NOT doing. Scope creep dies here, not in review.

Gate 2 — EVIDENCE — kills: acting on memory and guesswork

  • Never state from memory what you can check. Read the file, run the command, fetch the doc.
  • Every claim gets a source observed this session: file:line, command output, test result. "I believe" and "typically" are not sources.
  • Read before you write. Enough surrounding code to match its idiom and find the existing helper you'd otherwise duplicate.
  • Batch independent lookups in one parallel round, not a serial drip. Delegate broad sweeps to a cheap scout subagent and keep only conclusions — spend your own context on reasoning, not raw file dumps.
  • Distinguish three grades and keep them straight: know (observed it), infer (follows from observations), guess (plausible). Only "know" supports action; a guess is a to-verify item, not a fact.

Gate 3 — ATTACK — kills: anchoring on the first plausible answer

  • Two-candidate rule. Never act on a diagnosis or design until you have written a second candidate and can say what evidence discriminates between them. No second candidate = you haven't compared, you've anchored.
  • Run the cheapest discriminating test first — the one observation that splits your candidates, not the most convenient one that confirms your favorite.
  • Try to kill your own answer: what input breaks it? what file did you not read? what simpler explanation fits the same evidence?
  • Bug diagnosis must explain ALL symptoms — timing, scope, "why now," why it ever worked. A cause that explains only the loudest symptom is a co-incident, not a root cause.
  • If the attack lands, return to Gate 2. One survived honest attack outweighs three optimistic re-reads.

Read the full file on GitHub · 115 lines

Files

What ships with it

5 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. 3d ago First seen · 115 lines · 108 tokens per session scan A d21d7b2e82b3

Subscribe to this mod's changes

fable-mode is a skill published in the GitHub repository davesheffer/hunch (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 108 tokens to every session and 1,716 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.

Related

Other skills, from other repositories

opensrc

Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…

vercel-labs/opensrc · 103 tokens

release-cli

Release a new version of the tokenmaxxing CLI to npm. Use when explicitly asked to release or publish @851-labs/tokenmaxxing, including checking main, bumping apps/cli/package.json, updating CHANGELOG.md, committing, tagging cli-vX.Y.Z, pushing, monitoring generated native package publishing, and smoke testing the…

851-labs/tokenmaxxing · 73 tokens

ship-mobile-app

Build, change, debug, and prepare production mobile apps across domain meaning, local and server state, lifecycle, platform, and release boundaries. Use for non-trivial Flutter, React Native, iOS, or Android work involving persistence, sync, auth, offline behavior, notifications, permissions, native integrations…

aiopshwang/ship-mobile-app · 103 tokens

verify-regression-tests

Verify that a regression test actually detects the defect it claims to guard against. Use after adding or reviewing a bug-fix guard, reproducing the original failure after a fix, or investigating a suspiciously green regression test. Do not use for general TDD, broad test-suite audits, mutation-score optimization…

aiopshwang/verify-regression-tests · 75 tokens

repository-bootstrap

Audit and establish or upgrade the canonical repository governance baseline. Use only when explicitly asked to bootstrap, standardize, or upgrade a repository; do not use for feature development or source-code restructuring.

cz1993/vibe-coding-repository-standard · 41 tokens

repository-hygiene

Perform a read-only evidence-based audit of stale docs, agent files, scripts, generated artifacts, duplicate code, and optional tools. Use only when explicitly asked for cleanup or governance review; do not delete or refactor during the audit.

cz1993/vibe-coding-repository-standard · 52 tokens