Skip to content
Development
Hook

Hooks

What fable-baton runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add realgarit/fable-baton --agent claude-code

Ships with fable-baton. Installing the plugin gets these hooks.

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Runs session-start.sh".

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • Runs prompt-nudge.sh".

PostToolUse

  • Runs inline-counter.sh".
Read hooks/hooks.json

Where it lives

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withfable-baton

Fable 5 holds the baton. The orchestra plays. A Claude Code plugin that makes Fable 5 the orchestrator. Fable keeps the judgment, tiered subagents on Opus, Sonnet and Haiku do the labor. Install once and every new session in every repo starts this way.

Get the whole plugin, auto-invoked
Stats
21
Stars
0
Views
0
Forks
Active
Maintenance
HTML
Language
MIT
License
2d ago
Last commit
26d ago
Created

Repo: realgarit/fable-baton