Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By it-bens Verified Orgv1.0.0MITIn 1 marketplace
Keeps the built-in Plan subagent on Sonnet so plan-mode architecture reasoning isn't done on a weaker model. A PreToolUse hook blocks Plan calls set to any other model and tells Claude to retry with Sonnet.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
sonnet, plan-mode, subagent, model-selection, hooks, guardrails, plan, quality
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Enforces Sonnet model for the Plan subagent.
/plugin install plan-with-sonnet-enforcer@itb-ai-tools
Restart Claude Code after installation for hooks to take effect.
The built-in Plan subagent uses inherit by default, which means it uses whatever model the parent conversation uses. When the parent uses Haiku (for cost optimization), the Plan agent also uses Haiku, which can cause:
This plugin enforces Sonnet for Plan, ensuring consistent planning quality.
| Model | Allowed? |
|---|---|
sonnet | Allowed |
| Everything else | Blocked |
When blocked, Claude receives guidance to retry with Sonnet.
PreToolUse hook intercepts Task tool calls and checks:
subagent_type equal to "Plan"?model set to "sonnet"?If not Sonnet, exits with code 2 (block) and helpful message.
jq (usually pre-installed)MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub it-bens/ai-tools --plugin plan-with-sonnet-enforcerPlugins from other owners that cover similar ground