fable-dispatch

fable-dispatch is a skill for Claude Code from richkuo/rk-skills. It costs 0 tokens per session (1,582 once invoked), scanned A, original, MIT.

Instructions for sending work to Fable 5, including how to detect the current coding environment and which fallback method to use.

In plain words
What is it for?
Use them before dispatching a task to Fable 5. They cover the Claude Code path, a command-line fallback, retries, and how to interpret the returned result.
Why use it?
They make subagent dispatch predictable and help prevent work from silently running on the wrong model or through an unintended route.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the rk-skills plugin — 37 skills, 1 command shipped together

Good fit Use them before dispatching a task to Fable 5.

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

Made for: Claude Code.

Or install rk-skills, the plugin that ships this one along with the rest of its 37 skills, 1 command.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/richkuo/rk-skills/fable-dispatch.svg)](https://agentmods.dev/skills/richkuo/rk-skills/fable-dispatch)
Your own site
<a href="https://agentmods.dev/skills/richkuo/rk-skills/fable-dispatch"><img src="https://agentmods.dev/badge/skills/richkuo/rk-skills/fable-dispatch.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,582 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.00000 $0.01582
Opus 5 $0.00000 $0.00791
Sonnet 5 $0.00000 $0.00316
Haiku 4.5 $0.00000 $0.00158

Measured yesterday against content hash c7428ae3bb21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fable-dispatch 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 yesterday.

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-dispatch/SKILL.md · 69 lines

How it starts

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

Fable dispatch

How every fable skill reaches Fable 5.1 on the current harness. The calling skill owns the prompt, the subagent type, and what happens with the result. This skill owns the path to Fable 5.1. A downgrade to another model is the ladder's last step, and it is always reported.

1. Detect the harness

Run one Bash check before dispatching:

[ -n "$CLAUDECODE" ] && echo claude-code || echo other

Claude Code sets CLAUDECODE=1. Every other result means "not Claude Code". Do not probe for Cursor or Codex variables (their names are unverified), and never infer the harness from an Agent-call error: a harness that maps fable to another model raises no error. That silent substitution is the defect this ladder closes.

2. The fallback ladder

  1. Claude Code ($CLAUDECODE set): the Agent tool with model: fable, as the calling skill's dispatch step describes.
  2. Other harness, and command -v claude succeeds: the CLI shim (section 3). The work still runs on Fable 5.1 at the intended effort.
  3. Neither path, or a shim call that failed after the section 7 retry: the most capable model available, with the downgrade reported. In order: (a) the harness's own subagent facility with its most capable model, keeping the calling skill's isolation pattern; (b) a completed shim result that another model served, adopted per section 5; (c) no subagent facility at all: do the work inline in the main context and make no writes during it, so the calling skill's read-only promise holds. The report names both what failed and which model ran instead.

3. The CLI shim

Write the prompt to a file, then feed that file to stdin:

claude -p --model fable --effort <tier> \
  --output-format json --permission-mode plan \
  --allowedTools <read-only command list> \
  < <prompt-file>
  • Never interpolate the prompt into the command line. A prompt containing ", `, or $ breaks the quoting or executes (the class tests/prompt-shell-safety.test.js guards). Stdin from a file passes the prompt as data.
  • --permission-mode plan keeps the subagent read-only. --dangerously-skip-permissions must never appear in the shim.
  • --allowedTools names every read-only command the calling skill's procedure runs. Example: fable-validate runs gh issue view --comments and gh pr list, so its list is "Bash(gh issue view *)" "Bash(gh pr list *)". Add git log/git diff forms when the procedure reads history, and -R owner/repo forms when it reads another repo. An empty list is valid for a subagent that only reads files. Plan mode auto-approves built-in reads. A headless run has no user to answer any other prompt, so a missing entry lands in .permission_denials and the result is incomplete. The list carries read-only commands only: never a bare Bash, never an edit, comment, or push command. Plan mode does not block an allow-listed Bash write (verified live), so the read-only list is the shim's only guard against writes.
  • --effort carries the tier directly. Fable defaults to high; pass xhigh only when the user asked for it or stamped it.
  • Timeout. A Fable 5.1 run at high takes minutes and exceeds a host's default Bash timeout, which kills the call mid-run. Set the host's maximum timeout on the call, or start the CLI in the background with output redirected to a file and poll for exit.

Read the full file on GitHub · 69 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. yesterday Changed c7428ae3bb21
  2. 2d ago Changed · +1 lines 3b06f34c4505
  3. 7d ago First seen · 68 lines · 0 tokens per session scan A 68a0834c89e5

Subscribe to this mod's changes

fable-dispatch is a skill published in the GitHub repository richkuo/rk-skills (49 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,582 tokens. 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-30.