/model-routing:cost-optimizationfrom model-routing
Enforces cost-effective model selection when spawning Task subagents. Always active.
Ships in model-routing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When spawning Task subagents, set the model parameter based on task complexity. Sonnet is the default:
Use for:
Limitation: haiku does not support
tool_referenceblocks (Sonnet 4+ / Opus 4+ only). Tool search — the API feature that lets Claude dynamically discover tools from large catalogs, reducing context by 85%+ — is automatically disabled for haiku subagents. If an agent needs to work with a large or deferred tool catalog, use sonnet instead.
Use for:
Use only when:
When the user asks to interact with Notion, Linear, Jira, or Confluence, use the dedicated agents:
subagent_type: "notion-handler" (runs on haiku, has all Notion MCP tools)subagent_type: "linear-handler" (runs on haiku, has all Linear MCP tools)subagent_type: "jira-handler" (runs on haiku, has all Jira MCP tools)subagent_type: "confluence-handler" (runs on haiku, has all Confluence MCP tools)model: haiku configured, no need to overrideWhen a task involves multiple validation commands (JSON checks, syntax checks, version checks, hook extraction, etc.) that are read-only and produce small output, bundle them into a single haiku subagent instead of running them in the main session. This keeps the main context clean and uses the cheaper model for work that requires no reasoning beyond pass/fail interpretation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mvasilenko/mv-claude-code-marketplace --plugin model-routing