claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Integrations & Connectors

fables

Two Claude Code plugins for spending Claude Fable 5 tokens where they change the outcome: consult up (fable-advisor) and delegate down (fable-orchestrator).

// Integrations & Connectors[ cli ][ api ][ web ][ mobile ][ claude ]#claude#integrationsMIT$open-sourceupdated about 1 hour ago
// install
git clone https://github.com/czlonkowski/fables

fables

Two Claude Code plugins for one problem: Claude Fable 5 is the best model and the most expensive one.

Each plugin is a small fable about using Fable 5 well, and both share a moral — judgment belongs on the strongest model, tokens belong on the cheapest one that can do the leg. Same economics, opposite directions:

PluginDirectionFor sessions running onOne line
fable-advisorconsult upOpus (or any model below Fable)Buy Fable judgment rarely, at costly-to-revert inflection points, with a compact brief
fable-orchestratordelegate downFable 5 (or any premium model)Plan big, execute small: push bulk reading to cheap parallel workers, keep only distilled findings at Fable rates

Install one or both:

/plugin marketplace add czlonkowski/fables
/plugin install fable-advisor@fables
/plugin install fable-orchestrator@fables

fable-advisor (consult up)

Spend Fable 5 tokens only where they change the outcome.

Teaches an Opus orchestrator to consult Claude Fable 5 the way you'd use a top-dollar consultant: rarely, at the right moment, with a well-prepared brief, for a terse verdict. Day-to-day work runs on Opus. Fable gets called at inflection points: the decisions that are costly to revert once you start building.

Why

Fable 5 is billed at $10 / $50 per MTok — exactly 2× Opus 4.8 ($5 / $25). Left undisciplined, an orchestrator either never uses it (leaving quality on the table) or uses it lazily — full-context dumps, chatty back-and-forth, delegating generation — which burns money for nothing.

The protocol is adapted from Anthropic's advisor tool (executor + advisor pattern), rebuilt for local Claude Code orchestration where the advisor is a subagent and sees only what you send it — which is exactly where the token savings live.

A disciplined consult costs roughly $0.15–0.50. A wrong architecture costs hours of rework, thousands of Opus tokens, and your time.

What's inside

ComponentWhat it does
Skill fable-advisorThe decision protocol: when to consult (and when not to), hard budget caps, the briefing-packet format, how to weigh the advice
Agent fable-advisorA read-only subagent pinned to model: fable with a system prompt that enforces terse, committed verdicts (Verdict → Why → Risks → Would change my mind, ≤300 words)

Recommended: add this line to your project or global CLAUDE.md — it makes the skill fire deterministically instead of relying on Claude's own skill-triggering judgment (see Making it fire reliably for why):

Before committing to any costly-to-revert decision (architecture, DB schema, API/webhook
contracts, technology selection, production migration plans), before starting any
unattended loop/schedule/routine, or when stuck after 2+ failed fix attempts, consult
the fable-advisor skill first.

Requirements: Claude Code with Fable 5 available as a subagent model. Designed for sessions where the base model is Opus (works from any orchestrator model below Fable).

Making it fire reliably

We benchmarked the skill's triggering on 20 realistic queries (10 should-fire, 10 tricky near-miss negatives) across four description variants, ~200 runs on Opus. Result: zero false-fires in every variant — the skill never triggered on trivial changes, decided architectures, or questions about Fable — but recall on bare decision prompts plateaued around 50–60% regardless of description wording. The cause is structural: Claude Code consults skills only for tasks it can't handle alone, and Opus believes (correctly, in a narrow sense) that it can answer a design question itself. That belief is the exact failure mode this skill exists to counter.

If you want deterministic triggering, use the one-line CLAUDE.md setup above. Naming it also works: prompts that mention Fable, a "second opinion", or "check with a stronger model" trigger far more reliably (see Prompts to try below).

How it works

The gate — two questions before every consult:

  1. Is this decision costly to revert, or am I genuinely stuck?
  2. Is there a real fork in the road, with evidence to weigh?

If either is "no", the orchestrator decides on its own.

The five triggers:

  1. Costly-to-revert decision, before building — architecture, DB schema, API/webhook contracts, n8n workflow topology, technology selection
  2. Stuck escalation — 2+ genuinely different failed attempts, evidence in hand
  3. Plan review — a draft implementation plan embedding a costly-to-revert choice
  4. Pre-completion review — before declaring done on production deploys, migrations, client-facing deliverables
  5. Unattended-automation design — before starting a loop, schedule, or routine (/loop, /schedule, /goal, cron-style agents) that runs without a human watching. A loop multiplies its design flaws — a bad stop condition or interval fails on every iteration — so Fable reviews stop conditions, interval-to-change-rate match, per-iteration verification, blast radius, and cost per iteration, once, before it runs. (Read-only, easily-cancelled polling doesn't need this.)

The budget (hard rules):

  • Default one consult per task, hard cap three Fable interactions
  • Every consult announced to the user in one line before it happens
  • One spawn + at most one reconcile follow-up per question
  • Generation work (code, docs, configs, workflows) never goes to Fable

The briefing packet: decision in the first line, options with a stated leaning, hard constraints, curated evidence, ≤5 file pointers the advisor may read narrowly — and an explicit answer-format request, because advisor output is the biggest cost driver (Anthropic measured ~7× output reduction from capping, with no quality loss).

What a consult looks like

Consulting Fable on sync architecture (trigger: costly-to-revert, consult 1/3).

→ Fable verdict: nightly batch delta sync; per-document webhooks add SharePoint
  subscription-renewal failure modes your one-person team can't absorb. Revisit if
  freshness requirements drop below 4 hours.

Prompts to try

In the style of the Claude Code prompt library:

plan how to migrate our API from REST to gRPC — this is hard to undo once services depend on it, so get a Fable verdict on the approach before finalizing
I'm torn between Postgres LISTEN/NOTIFY and a proper queue for job dispatch. decide, and check the decision with Fable before we build around it
review my deploy plan for Saturday's production migration and fix anything risky before I run it
I'm about to turn this on for the weekend: /schedule every 15 min, triage new support tickets and reply automatically. get a Fable review of the loop design first — stop conditions, interval, what could go wrong unattended

The skill can also trigger without Fable being named when a task hits a costly-to-revert decision, a stuck debugging loop, or a pre-production review — but unnamed triggering is ~50–60% reliable in our benchmark. For deterministic behavior, use the one-line CLAUDE.md setup from What's inside.

Evals

The repo ships the eval scenarios used to develop the skill (evals/): an architecture-decision task (should consult once), a trivial-change task (should not consult at all), and a production-migration plan review (should consult before finalizing). Runs compare with-skill vs. no-skill orchestrators on consult discipline, briefing compactness, and outcome quality.

Measured results (v0.1, 3 scenarios × with/without skill, Opus orchestrators):

  • Consult discipline was perfect: exactly 1 consult on each costly-to-revert task, 0 on the trivial task. Briefings came in at ~511 words — well under budget — and every consult was announced to the user with the verdict relayed afterward.
  • On the trivial task the skill added zero overhead (same duration as baseline, ~half the output tokens).
  • The consults earned their keep: in the architecture task Fable corrected the polling cadence and contributed the failure-mode list; in the migration review it confirmed the orchestrator's 8 fixes and added 3 gaps the orchestrator had missed (window pre-staging, owner-account ordering before credential import, webhook re-registration verification).
  • Trigger benchmark: ~200 runs across 4 description variants — zero false-fires, which is why the budget rules can afford to be generous about consulting.

fable-orchestrator (delegate down)

Plan big, execute small.

Teaches a session running on Fable 5 to work like the coordinator in Anthropic's plan-big-execute-small cookbook: Fable plans, decomposes, and synthesizes — but never pulls bulk material into its own context. Cheap parallel workers (Sonnet/Haiku) do the token-heavy reading in their own context windows and report back distilled findings.

Why

Most substantial tasks are two jobs in one: a little judgment and a lot of mechanical reading. On a Fable session both bill at $10/$50 per MTok — 5× Sonnet 5, 10× Haiku 4.5 — unless the reading is moved.

And there's a trap that makes naive delegation useless: subagents inherit the session model. On a Fable session, an un-pinned Explore or general-purpose spawn runs on Fable too — same reading, same premium rate, plus spawn overhead. The rate split only exists when workers are explicitly pinned to a cheap model, which is the one mechanical habit this skill enforces.

The cookbook measured the split honestly against a rigor-matched solo frontier agent: roughly 2.5× cheaper and 3× faster, with 84–98% of input tokens billed at worker rates. (Their numbers, on web research; we haven't re-measured in Claude Code yet.)

What's inside

ComponentWhat it does
Skill fable-orchestratorThe delegation protocol: the delegate-or-read gate, five workload shapes, the worker brief format, model-tier choice, brief granularity, premise verification, and when NOT to split
Agent workerA read-only reader (Read, Grep, Glob, WebFetch, WebSearch) pinned to model: sonnet (override to haiku per-spawn) whose system prompt enforces the distilled-report contract: findings with evidence pointers, never raw dumps

Recommended: for deterministic firing, add this line to your project or global CLAUDE.md (same reasoning as the advisor's — Claude under-consults skills for work it believes it can do itself, and "just read everything myself" is exactly such work):

When this session runs on Fable 5 or another premium model and a task requires bulk
reading — sweeping code, triaging logs, reviewing documents, researching the web —
consult the fable-orchestrator skill before reading the material yourself.

Requirements: Claude Code with Sonnet/Haiku available as subagent models. Designed for sessions where the base model is Fable 5; the protocol applies from any premium orchestrator.

How it works

The gate — two questions before any bulk read:

  1. Is the reading mandatory and voluminous (more than a handful of files or pages)?
  2. Can a cheap model extract what's needed, or does the judgment live in the raw material itself?

Mandatory + voluminous + extractable → fan out. Anything else → Fable reads it itself.

The five workload shapes: codebase sweep · log triage · document review · web research · coverage verification (N facts × M sources — the shape the cookbook measured).

The worker brief: SUB-QUESTION (one line) / SCOPE (exact paths, globs, URLs) / REPORT (shape + length cap — worker output is what enters premium context) / DON'T (out of scope, rabbit holes). Independent briefs go out in one message, in parallel. Fewer, bigger briefs: each spawn has a floor cost, and the cookbook found over-splitting raised the bill.

The discipline:

  • haiku for mechanical sweeps, sonnet for reading judgment, never Fable for workers
  • Decisions, plans, and synthesis never delegated down — workers report facts
  • One premise-verification worker when the fan-out rests on an assumed list (the cookbook's own run verified 20 facts perfectly against a park list that was wrong)
  • Failed worker → re-assign the brief once; don't quietly read it yourself at 5× the rate
  • Reports are trusted: no re-reading what a worker read, spot-checks only narrow and only for load-bearing surprises
  • The final message tells the user the shape of the run: how many workers, which models, what stayed at Fable rates

What a fan-out looks like

Fan-out: 6 workers (4 haiku, 2 sonnet) read ~90 files; only their reports entered
Fable context. Premise check included (service list verified against docker-compose).

Prompts to try

audit all ~80 workflows on the n8n instance for hardcoded credentials and http:// endpoints — keep the token bill sane
go through last week of logs in /var/log/hermes and figure out why memory climbs every night around 02:00
research current pricing and rate limits for the top 5 managed vector DB providers, verified against official docs (not blog posts), and recommend one for our scale
sweep the monorepo and inventory every call to the OpenAI API with file:line, model used, and whether it goes through our retry wrapper

Triggering — read this before relying on it

We ran the same 20-query trigger benchmark that shaped fable-advisor (10 realistic bulk-reading tasks that should fire, 10 tricky near-misses that shouldn't), 3 probes each across 5 description variants. Fable wasn't available as the CLI model at test time, so this ran on Opus 4.8 as a proxy — read the numbers as indicative, not as true Fable behavior.

  • Zero false-fires (precision 100%) on every variant. The skill stayed quiet on all ten near-misses — single-file reads, "explain the pattern" questions, a second-opinion prompt that belongs to fable-advisor, and pure generation tasks.
  • Recall was near-zero regardless of wording. Opus rarely consulted the skill on genuine bulk-reading tasks, and none of four rewrites moved the needle — the original description was kept as best. This is the same structural effect measured for fable-advisor, and it's stronger here: Claude Code consults a skill only for work it can't easily do alone, and "read a pile of files myself" is exactly the work a capable model is confident it can do. That confidence is the failure mode this skill counters — and a stronger model (the real Fable target) tends to under-consult more, not less.

So don't rely on unnamed triggering — use the CLAUDE.md line above. It's the deterministic mechanism; the description's job is mainly to not false-fire, which it does well. Naming the skill, or flagging cost / "fan out" / "at Fable prices" in the prompt, also helps.

Full eval scenarios (a coverage-shaped task graded on worker fan-out and rate split, a narrow task graded on zero overhead) are still planned. The ~2.5×/3×/84–98% figures above remain the cookbook's, on its web-research workload — not yet re-measured in Claude Code.


Author

Built by Romuald Członkowski @aiadvisors.

License

MIT — © 2026 Romuald Członkowski @aiadvisors

// compatibility

Platformscli, api, web, mobile
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguagePython

// faq

What is fables?

Two Claude Code plugins for spending Claude Fable 5 tokens where they change the outcome: consult up (fable-advisor) and delegate down (fable-orchestrator).. It is open-source on GitHub.

Is fables free to use?

fables is open-source under the MIT license, so it is free to use.

What category does fables belong to?

fables is listed under integrations in the Claudeers registry of Claude-compatible tools.

0 views
14 stars
unclaimed
updated about 1 hour ago

// embed badge

fables on Claudeers
[![Claudeers](https://claudeers.com/api/badge/fables.svg)](https://claudeers.com/fables)

// retro hit counter

fables hit counter
[![Hits](https://claudeers.com/api/counter/fables.svg)](https://claudeers.com/fables)

// reviews

// guestbook

0/500

// related in Integrations & Connectors

🔓

Use claude code and codex for free in the terminal, VSCode extension, and discord like OpenClaw (voice supported)

// integrationsAlishahryar1/Python39,205MIT[ claude ]
🔓

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat…

// integrationschenhg5/Go13,605[ claude ]
🔓

All parts of Claude Code's system prompt, 27 builtin tool descriptions, sub agent prompts (Plan/Explore/Task), utility prompts (CLAUDE.md, compact, statusli…

// integrationsPiebald-AI/JavaScript11,624MIT[ claude ]
🔓

Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig

// integrationsnullclaw/Zig7,737MIT[ claude ]
→ see how fables connects across the ecosystem