/plugin marketplace add johnlindquist/claude-session-hooks-template/plugin install johnlindquist-session-hooks-template@johnlindquist/claude-session-hooks-templateDefined in ./hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bun run ${CLAUDE_PLUGIN_ROOT}/scripts/Stop.ts"
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bun run ${CLAUDE_PLUGIN_ROOT}/scripts/PreToolUse.ts"
}
],
"matcher": "*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bun run ${CLAUDE_PLUGIN_ROOT}/scripts/PostToolUse.ts"
}
],
"matcher": "*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bun run ${CLAUDE_PLUGIN_ROOT}/scripts/SessionStart.ts"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bun run ${CLAUDE_PLUGIN_ROOT}/scripts/UserPromptSubmit.ts"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": true,
"touchesFileWrites": false
},
"typeStats": {
"command": 5
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1,
"PostToolUse": 1,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 5,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 5
}
}