oh-my-fable

Reviewed at commit c995467

Anthropic's prompting-guide rules for Claude Code, always on (Opus 5.5, Fable 5.1; Sonnet 5.5, Haiku 5.5, Opus 5 and Sonnet 5 too): install and forget: the…

Made by
Junhan2
What we checked

Adds a fixed set of working rules to Claude's context at every session start and to subagents, based on Anthropic's prompting guides, and draws the improved request from /fable as a card. It reads your Claude settings only to show the effort level, makes no network calls, and stores only the last version it saw. The setup skill writes a rules file only when you run it.

Review details

Static review of the source at the pinned commit; not run. Full re-review of version 2.8.0 against the previous reviewed commit b062e2c. Registers command hooks (hooks.json) for SessionStart, SubagentStart and PostModelSwitch that run bash hooks/session-start.sh, plus a module hooks/card/register.tsx with one ui.render hook on AssistantMessage that matches replies titled 'Improved request' and redraws the fenced block as a card (parsing in parse.ts, markdown rendered through the Markdown component, no tool calls). The shell script reads its own Markdown rule files, the optional oh-my-fable.json in the Claude config dir and project .claude folder, the user's settings.json (model, effortLevel, maxEffortLevel only, via grep and sed), CLAUDE.md and rules/oh-my-fable.md to see which delivery is active, and environment variables (CLAUDE_CODE_ENTRYPOINT, CLAUDE_EFFORT, model and provider variables). It prints JSON with additionalContext (rules text) and a systemMessage status line; nothing is sent anywhere. The only write is a last-version file in CLAUDE_PLUGIN_DATA, guarded to paths containing oh-my-fable. A project config file can only switch the plugin off, not change its mode. Skills (prompts file): fable rewrites a request and carries it out; fable-audit is read-only (Edit, Write disallowed); fable-status is limited to running the plugin's own status script and claude --version; fable-setup, run by the user, can write ~/.claude/rules/oh-my-fable.md and oh-my-fable.json or insert a marked section into CLAUDE.md with the normal edit approval, and can delete those files on request. No allowed-tools pre-approve anything else, no npm dependencies, no downloads, no network. The injected rules change how Claude behaves (finish tasks, stop after checks, report findings first) but only as the documented purpose. The 9 files not in the bundle are rule texts and docs read by the script; always-on.md was read and contains no instructions to run programs or reach hosts, the other rule texts were not opened. Settings.json is read as plain text and never modified.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Anthropic's prompting-guide rules for Claude Code, always on (Opus 5.5, Fable 5.1; Sonnet 5.5, Haiku 5.5, Opus 5 and Sonnet 5 too): install and forget: the working rules load at every session start and reach subagents, unattended sessions are detected automatically and get the early-stop rules, sessions at xhigh or max effort get the stop-after-checks rule, /fable turns a rough request into a guide-aligned prompt, /fable-status shows what is in effect, /fable-audit finds which guide sections your own rules are missing, /fable-setup moves the rules into a rules file (recommended once).

Made this mod? Add a badge to your README

modsforClaude badge for oh-my-fable

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/oh-my-fable.svg)](https://modsforclaude.com/mods/oh-my-fable/)

← All mods