fableplan
/fableplan
Toggle "Fable Plan Mode" — plan with Fable 5, execute with Sonnet (opusplan-style). Use when the user runs /fableplan, optionally with "off" to revert, or "1m" to use the 1M-context Fable variant.
- Author
- bapttiste73 ↗
- Repository
- fableplan ↗
- Licence
- MIT
- Last repository change
- 10.06.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Toggle "Fable Plan Mode" — plan with Fable 5, execute with Sonnet (opusplan-style). Use when the user runs /fableplan, optionally with "off" to revert, or "1m" to use the 1M-context Fable variant.
Triggers from the description
Original author description
Toggle "Fable Plan Mode" — plan with Fable 5, execute with Sonnet (opusplan-style). Use when the user runs /fableplan, optionally with "off" to revert, or "1m" to use the 1M-context Fable variant.
How it works
- Arguments
- Enabling (no argument, or 1m)
- Disabling (off)
- Important caveats (mention them when enabling for the first time)
SKILL.md preview
---
name: fableplan
description: Toggle "Fable Plan Mode" — plan with Fable 5, execute with Sonnet (opusplan-style). Use when the user runs /fableplan, optionally with "off" to revert, or "1m" to use the 1M-context Fable variant.
---
# Fableplan — plan with Fable 5, execute with Sonnet
Claude Code has a built-in `opusplan` model setting ("Opus in plan mode, Sonnet otherwise") but no Fable equivalent. This skill recreates it by combining `opusplan` with the `ANTHROPIC_DEFAULT_OPUS_MODEL` environment variable override, which redirects the "opus" alias to Fable 5.
The target file is the user's **global** settings: `~/.claude/settings.json`.
## Arguments
- *(none)* — enable fableplan with `claude-fable-5`
- `1m` — enable fableplan with `claude-fable-5[1m]` (1M context window)
- `off` — revert to the previous configuration
## Enabling (no argument, or `1m`)
1. Read `~/.claude/settings.json`. If it does not exist, create it with an empty object first.
2. Merge the following keys, preserving every other existing setting:
- If a `model` key already exists and is different from `"opusplan"`, save its current value under the key `fableplanPreviousModel` (top-level, custom key — extra keys are allowed in settings.json) so it can be restored later.
- Set `"model": "opusplan"`.
- Under `"env"` (create the object if missing, preserve its other entries), set `"ANTHROPIC_DEFAULT_OPUS_MODEL"` to `"claude-fable-5"` (or `"claude-fable-5[1m]"` if the argument is `1m`).
3. Validate that the resulting file is valid JSON.
4. Tell the user:
- Fableplan is enabled: plan mode runs on Fable 5, execution runs on Sonnet.
- They must **restart their Claude Code session** for the model change to take effect.
- The UI will display "Opus Plan Mode" — that label is cosmetic; plan mode actually runs Fable 5.
## Disabling (`off`)
1. Read `~/.claude/settings.json`.
2. Remove `"ANTHROPIC_DEFAULT_OPUS_MODEL"` from `"env"`. If `"env"` becomes empty, remove the `"env"` key entirely.
3. Restore the model:
- If `fableplanPreviousModel` exists, set `"model"` to that value and remove the `fableplanPreviousModel` key.
- Otherwise remove the `"model"` key (falls back to the account default) and tell the user they can pick a model with `/model`.
4. Validate JSON and tell the user to restart the session.
## Important caveats (mention them when enabling for the first time)
- `ANTHROPIC_DEFAULT_OPUS_MODEL` is an undocumented override — a future CLI update could change or remove it.
- Fable 5 is not available on every plan/account. If requests fail after enabling, run `/fableplan off` to revert.
- Anything else that resolves the "opus" alias (e.g. fast mode) will also point to Fable while enabled.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · bapttiste73/fableplan | 90 | MIT |
| richkuo/rk-skills | 100 | MIT |
| richkuo/fableplan | 100 | MIT |
Database snapshot: 13.11.2026 · package version c244a126b3ab (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 85fable-validate-fableplan-loop
Use when the user asks to validate a GitHub issue with Fable 5.1, always plan it with Fable 5.1, and autonomously drive it to a reviewed PR in one shot — "fable-validate-fableplan-loop", "fable validate, fable plan, and work on #N", "fully automate #N with fable validation and… - 85fable-validate-fableplan
Use when the user asks to validate a GitHub issue with Fable 5.1 and always plan it with Fable 5.1, stopping once the plan is posted — "fable-validate-fableplan", "fable validate and fable plan #N", "validate and plan #N with fable, don't build it". Runs fable-validate,… - 90fable
Have Claude Fable 5 plan the current task, then run an automatic warm diff-review after you execute. You (the below-Fable driver — Sonnet or Opus) gather the evidence and execute; Fable is the context-blind PLANNER — one plan engagement at the start (it writes the plan,… - 90fable-mode
Run any model with Fable-class working discipline. Five gates: scope, evidence, attack, verify, report. Use when the user says 'fable mode', 'use fable mode', or 'think like Fable'; when a hard, high-stakes, or ambiguous problem deserves maximum rigour; or when a smaller model… - 100optimize-claude-fable-5-prompts
Clarify and rewrite prompts for Claude Fable 5. Use when optimizing, migrating, debugging, or designing a Fable 5 / Fabel prompt (including Fable/Fabel 提示词优化)—not for Claude Opus 5. - 90prompt-fable
Drafts a copy-pasteable prompt for Claude Fable 5 without dispatching anything. Use when the user says /prompt-fable, write me a fable prompt, draft a prompt for fable, help me prompt fable 5, or wants to hand a prompt to Fable somewhere else (the web app, another session, a…