npx claudepluginhub cogni-work/insight-wave --plugin cogni-consultingDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"name": "phase-gate-guard",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/phase-gate-guard.sh",
"enabled": true,
"timeout": 5,
"description": "Warns if consulting phase prerequisites are incomplete before allowing phase skills to execute"
}
],
"matcher": "Skill"
}
]
}"Intercepts WebFetch, WebSearch, and tavily-extract tool calls on PreToolUse, routing to Tavily search/extract APIs via Python scripts. No bash or file writes."