Fable Sonnet
Agent Buildingfable-sonnetFable Sonnet is an Agent Skill for agent building published in the mrtooher/fable-mode repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run fable-mode execution discipline on Claude Sonnet. Routes the task to the @fable-worker-sonnet agent, whose definition carries the staged loop with step-3 verification enforced hardest (Sonnet's known gap), optionally followed by a cold @fable-verifier pass. Trigger when the user explicitly asks for thorough/systematic/"deep work" handling on Sonnet ("fable on sonnet", "stage this on sonnet", "deep work mode, sonnet"). The balanced default between Haiku (cheap/fast) and Opus (peak reasoning). Do NOT use for ordinary single-pass tasks.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/mrtooher/fable-mode/blob/HEAD/fable-sonnet/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fable-sonnet, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Fable Mode — Sonnet (v3, agent-routed)
v3 change: the worker is a real agent definition (agents/fable-worker-sonnet.md)
invoked by name, not a prose briefing the model can soft-ignore. Its system
prompt carries the loop and the operational rules; this skill only routes.
If a task has one obvious correct approach and fits in a single pass, skip this loop and do it directly.
How to run it
- Confirm
fable-worker-sonnetappears in the available agent types. If not, fall back to inline: spawn a general-purpose Sonnet agent and pass it the rules verbatim fromagents/fable-worker-sonnet.md. - Spawn @fable-worker-sonnet via the Task tool (
subagent_type: "fable-worker-sonnet"). Brief it with: the task, the exact output path(s), relevant context, and the pass condition its deliverable must satisfy — name the check, don't leave it to taste. - For independent sub-parts, spawn multiple workers concurrently and merge. Cap concurrency at a handful. Workers do not spawn workers.
- For high-stakes deliverables, follow with @fable-verifier, briefed with only the spec and the artifact path — not the worker's report.
- Relay results and anything marked unverified.