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 Plan subagent on Opus by blocking Plan calls that request any other model, so plan mode gets maximum reasoning depth. A PreToolUse hook checks each Task call on its own; needs jq installed.
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
opus, plan-mode, subagent, model-selection, hooks, guardrails, pretooluse-hook, plan ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Enforces Opus model for the Plan subagent.
/plugin install plan-with-opus-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 or Sonnet, the Plan agent also uses that model, which may not provide optimal reasoning depth for complex architectural decisions.
This plugin enforces Opus for Plan, ensuring maximum reasoning capability for:
| Model | Allowed? |
|---|---|
opus | Allowed |
| Everything else | Blocked |
When blocked, Claude receives guidance to retry with Opus.
PreToolUse hook intercepts Task tool calls and checks:
subagent_type equal to "Plan"?model set to "opus"?If not Opus, 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-opus-enforcerPlugins from other owners that cover similar ground