npx claudepluginhub iliaal/compound-engineering-plugin --plugin compound-engineeringDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/inject-skills.sh",
"timeout": 5,
"statusMessage": "Injecting relevant skills..."
}
],
"matcher": "Task"
}
]
}"Runs Node.js prereq-enforcer.mjs script on PreToolUse before Agent and Skill tool calls, with 10s timeout per hook."