npx claudepluginhub project-white-rabbit/peek-claude-plugin --plugin peekDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/process-tool-call"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-start"
}
],
"matcher": "startup"
},
{
"hooks": [
{
"type": "command",
"async": false,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-start"
}
],
"matcher": "resume"
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/handle-compaction"
}
],
"matcher": "compact"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/inject-memories"
},
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/process-prompt"
}
],
"matcher": ""
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": true, \"touchesFileWrites\": false}, \"typeStats\": {\"command\": 6}, \"eventStats\": {\"PreToolUse\": 1, \"SessionStart\": 3, \"UserPromptSubmit\": 2}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 6, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 6}}"