Defined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "command -v hcom >/dev/null 2>&1 || pip install -q hcom 2>/dev/null; if ! grep -q '\\${HCOM}' ~/.claude/settings.json 2>/dev/null; then VERSION=$(hcom -v 2>/dev/null); echo '{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":\"HCOM plugin loaded ('\"$VERSION\"'). Run hcom -v to install hooks, then restart Claude Code.\"}}'; fi"
}
],
"matcher": ""
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 1
},
"eventStats": {
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 1
}
}