Install
1
Install the plugin$
npx claudepluginhub it-bens/claude-code-plugins --plugin plan-with-sonnet-enforcerWant just this hook?
Then install: npx claudepluginhub u/[userId]/[slug]
Source
Defined in hooks/hooks.json
Configuration
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/enforce-sonnet-plan.sh",
"timeout": 5
}
],
"matcher": "Task"
}
]
}Summary
{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 1
},
"eventStats": {
"PreToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars0
Forks0
Last CommitJan 28, 2026