npx claudepluginhub kanopi/claude-toolbox --plugin claude-dev-insightsDefined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-end/session-end.sh",
"timeout": 60000,
"description": "Log session statistics to CSV and optionally sync to Google Sheets"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start/session-start.sh",
"description": "Log session start context and development environment"
}
],
"matchers": {
"source": [
"startup",
"clear"
]
}
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-submit/user-prompt-submit.sh",
"description": "Extract ticket numbers and topics from structured commands (#ticket:, #topic:)"
}
]
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": false, \"touchesFileWrites\": false}, \"typeStats\": {\"command\": 3}, \"eventStats\": {\"SessionEnd\": 1, \"SessionStart\": 1, \"UserPromptSubmit\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 3, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 2}}"