Hooks
What model-routing runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add AqueGen/model-routing --agent claude-codeShips with model-routing. 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 routing-anchor.md".
PostToolUse
- Runs dispatch-counter.mjs".
Where it lives
- hooks/dispatch-counter.mjsGitHub
- hooks/dispatch-counter.test.mjsGitHub
- hooks/update-check.mjsGitHub
- hooks/update-check.test.mjsGitHub
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.
Tiered model routing for Claude Code token economy: **the strongest model thinks, cheaper models grind.** Planning and architecture stay in your main session on the best model you have.
Repo: AqueGen/model-routing

