fable-setup
Optional, recommended once. The plugin works with no setup (hook delivery, auto-detected mode, subagents covered). Use /fable-setup to move the base rules into a rules file (the recommended delivery, also the one for agent teams) or a CLAUDE.md section, pin interactive/unattended mode, see where effort comes from, or audit CLAUDE.md for conflicting rules. To see what is in effect, use /fable-status instead. Triggers: "/fable-setup", "fable 세팅", "환경 점검", "무인 모드로", "apply the Fable guide", "set up for Fable 5.1", "set up for Opus 5.5", "unattended mode", "rules file".
Junhan2 · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add Junhan2/oh-my-fable --skill fable-setupAbout this skill
name: fable-setup description: 'Optional, recommended once. The plugin works with no setup (hook delivery, auto-detected mode, subagents covered). Use /fable-setup to move the base rules into a rules file (the recommended delivery, also the one for agent teams) or a CLAUDE.md section, pin interactive/unattended mode, see where effort comes from, or audit CLAUDE.md for conflicting rules. To see what is in effect, use /fable-status instead. Triggers: "/fable-setup", "fable 세팅", "환경 점검", "무인 모드로", "apply the Fable guide", "set up for Fable 5.1", "set up for Opus 5.5", "unattended mode", "rules file".'
fable-setup · choose delivery and mode, see where effort comes from; audit conflicts
Blocks: ${CLAUDE_PLUGIN_ROOT}/hooks/always-on.md (+ autonomy-unattended.md, two paragraphs, for unattended mode;
and effort-high.md, block N, when the session starts at xhigh or max).
Guide reference: ${CLAUDE_PLUGIN_ROOT}/skills/fable/references/prompt-blocks.md.
Three layers: per request → /fable; always-on rules → hook by default, this skill can move them to a
file; settings → mode, where effort comes from, and an admin checklist. Nothing here is required: the defaults work without any file.
Arguments (skip the matching question)
auto (no questions, keep defaults) · hook (= hook only, the default) | rules-file (rules file + hook, recommended) | claude-md (delivery; hook-only is accepted as an alias of hook) ·
auto | interactive | unattended (mode) · medium | high (prints the /effort line for that level; this skill no longer writes effortLevel, see Step 3) · refresh (re-copy the rules file only, no
questions, see Step 7) · remove (undo everything, see Step 6). To see what is in effect without changing anything, use
/fable-status.
Step 1 · Detect (one batch of reads, silent)
./CLAUDE.md, ./.claude/CLAUDE.md, ~/.claude/CLAUDE.md, ~/.claude/settings.json, ./.claude/settings.json,
~/.claude/oh-my-fable.json, ./.claude/oh-my-fable.json, ~/.claude/rules/, ./.claude/rules/,
claude --version, and the environment variable CLAUDE_CODE_EFFORT_LEVEL.
Step 2 · Questions: one AskUserQuestion call with up to two questions
Bundle questions 1 and 2 into a single AskUserQuestion call (it supports several questions at once), each with one-line options and the recommended one marked. No preamble, no explanation paragraphs. The goal is zero manual steps for the user, so prefer asking over leaving something for them to do by hand.
- Where should the rules live?
Rules file + hook (recommended)· base rules in~/.claude/rules/oh-my-fable.md(auto-loaded; per the docs agent teammates load it, the hook does not reach them in a verified way); the hook adds only what depends on the session (the unattended paragraphs, block N atxhigh/max) and the short version for Explore/Plan subagents. Claude Code's hooks doc says to prefer CLAUDE.md-style files for instructions that never change, and that hook text framed as system commands can trigger prompt-injection defensesHook only (zero-setup default)· nothing written; the hook carries everything for the main session and sends the short version to every subagent. Always current after a plugin update, nothing to clean up on uninstallCLAUDE.md section· inside your CLAUDE.md, static, needs edit approval (not in auto mode)
- How do you mostly work?
Auto (recommended)· detects per session: unattended for headless/SDK/agent runs, interactive in the terminal or IDEInteractive· always as if you watch and steerUnattended· always adds the two unattended paragraphs ("the user is not watching" and the early-stop list), even in the terminal
Effort is not a question. Show this one line with the questions, in the user's language: "Effort is not written by this skill. Opus 5.5 and Sonnet 5.5 start at medium (their Claude Code default), Fable 5.1 and the other models at high. To save a level for the model you are on: /effort then Enter (saved per model in modelSettings); s applies it to this session only."
Ask afterwards, only when relevant, one more call: 4. Scope? (only when the current directory is a git repo with its own CLAUDE.md)
All projects (recommended)· global files under~/.claudeThis project only· files under./.claude
- Fix the conflicting rules for you? (only when Step 4 finds conflicts; ask after showing the table)
Yes, apply the suggested edits· edits CLAUDE.md, needs approval outside auto modeNo, just show me· you edit by hand
Ask in the user's language.
Step 3 · Apply
Config (always, global ~/.claude/oh-my-fable.json or project ./.claude/oh-my-fable.json):
{"enabled": true, "mode": "auto", "delivery": "hook"}
If the write is refused, print the JSON and path; defaults apply without a file.
Rules text = always-on.md, with autonomy-unattended.md inserted after the heading when unattended. English
regardless of the user's language. The rules file carries the base rules only; the unattended paragraphs are always
added by the hook per session, so auto mode works with the default delivery. Only the CLAUDE.md section is static.
hook(hook only, default): write nothing besides the config; make sure norules/oh-my-fable.mdwith the marker is left behind (delete one written earlier by this skill; never touch a file without the marker). Main session and every subagent get the rules from the hook.rules-file(rules file + hook): copy${CLAUDE_PLUGIN_ROOT}/hooks/rules-file.mdverbatim to~/.claude/rules/oh-my-fable.md(project scope:./.claude/rules/oh-my-fable.md). It starts with the marker<!-- oh-my-fable:rules v3which tells the hook to add only the unattended paragraphs per session. Claude Code loadsrules/*.mdfor the main session and for subagents and teams, so CLAUDE.md is not edited. Keep"delivery": "hook"in the