npx claudepluginhub cofin/flow --plugin flowDefined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start"
}
],
"matcher": "startup|clear|compact"
}
]
}"Executes Windows batch script run-hook.cmd session-start on SessionStart events matching startup, resume, clear, or compact. Command type hook, no bash or file writes."