Skip to content
Development
Hook

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.

Install
$ npx -y skills add AqueGen/model-routing --agent claude-code

Ships 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".
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 withmodel-routing

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.

Get the whole plugin, auto-invoked
Stats
3
Stars
0
Views
0
Forks
Active
Maintenance
JavaScript
Language
MIT
License
13h ago
Last commit
29d ago
Created

Repo: AqueGen/model-routing