A Claude Code skill that delegates implementation planning to a Fable 5 planning subagent, then builds from that plan in your main session — and, when a GitHub issue is referenced, posts the vetted plan to the issue as a comment.
The idea: let a dedicated planning model (Fable 5) produce a concrete, ordered implementation plan before any code is written, review it against the real codebase, preserve it on the tracker, and only then build — in an isolated git worktree so your working tree is never touched.
Trigger it with /fableplan, "fableplan this", or "plan this with fable", plus a task description and optionally a GitHub issue (#N, a full URL, or owner/repo#N).
The skill then runs a 7-step flow:
- Resolve the GitHub issue (only if one is referenced) so the planner works from the real requirements, not a paraphrase.
- Dispatch the Fable 5 Plan subagent, confirm it made no edits, and save the plan verbatim to a scratch file.
- Sanity-check the plan against the actual codebase (files, symbols, conventions). It stops and asks you if the plan is structurally wrong rather than silently re-planning.
- Post the vetted plan to the GitHub issue as a comment (only if one was referenced).
- Present the plan to you.
- Set up an isolated git worktree so the build never touches your current workspace.
- Build the task from the plan, inside that worktree.
This repo is a Claude Code plugin marketplace. Inside any Claude Code session:
/plugin marketplace add richkuo/fableplan
/plugin install fableplan@fableplan
The skill is picked up automatically from the plugin's skills/ directory, and updates flow through the plugin system.
Published to npm as @fableplan/fableplan. One command copies the skill into ~/.claude/skills/:
npx @fableplan/fableplanAdd --project to install into the current repo's .claude/skills/ instead of your personal directory.
Paste this straight into a Claude Code prompt:
Install the fableplan skill from https://github.com/richkuo/fableplan into ~/.claude/skills — fetch skills/fableplan/SKILL.md and place it at ~/.claude/skills/fableplan/SKILL.md
If you use Vercel Labs' skills CLI, it discovers the skills/fableplan/SKILL.md layout automatically:
npx skills add richkuo/fableplanThis installs into .claude/skills/ (and any other agents it detects). It's a third-party tool, separate from the official plugin marketplace above.
A Claude Code skill is just a directory containing a SKILL.md, so you can also install it with one command — no clone needed:
mkdir -p ~/.claude/skills/fableplan && curl -fsSL https://raw.githubusercontent.com/richkuo/fableplan/master/skills/fableplan/SKILL.md -o ~/.claude/skills/fableplan/SKILL.mdThis puts it in your personal skills directory (~/.claude/skills/), available in every project. To scope it to a single project instead, put the file at <repo>/.claude/skills/fableplan/SKILL.md.
Start a new Claude Code session (or restart the current one), then run:
/fableplan <task to plan>
- Claude Code with access to the
fablemodel for the planning subagent. gh(GitHub CLI), authenticated, if you want the issue-comment step.- A git repository for the build step (the skill stops and asks if the working directory isn't one).
- The planning subagent always runs on Fable 5 regardless of your main session's model.
- The skill adapts to the target repo's conventions (e.g. its
CLAUDE.md); behavior isn't hardcoded to any one project.
MIT — see LICENSE.