Plugin Claude Code
Plugin marketplace listing 1 plugin: claude-router.
Plugin Claude Code
Plugin marketplace listing 1 plugin: claude-router.
Plugin Claude Code
Model-tier router: on agent spawns, an LLM classifies the brief and injects a cost-appropriate Claude model (Haiku/Sonnet/Opus) via a PreToolUse hook (Anthropic API, or claude -p fallback). Also ships a model-router skill.
Hook
Runs when a session starts, executing capture-model.sh. From mpandzo/claude-router.
Hook
Runs before the agent uses a tool for ^Agent$ tool calls, executing route-agent.sh. From mpandzo/claude-router.
Skill Claude CodeCodex
How to choose an agent's model and subagenttype when spawning any agent through the Agent tool. A modelless agent inherits the session's model, and a PreToolUse hook auto-routes trivial spawns to a cheaper model — never a pricier one. The rule when you set a model yourself is the same: only ever DOWNGRADE (never cost…