/plugin marketplace add jcmrs/jcmrs-plugins/plugin install claude-pms@jcmrs-pluginsDefined in ./hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash $CLAUDE_PLUGIN_ROOT/hooks/stop.sh",
"timeout": 15
}
],
"matcher": "*"
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "bash $CLAUDE_PLUGIN_ROOT/hooks/precompact.sh",
"timeout": 30
}
],
"matcher": "*"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "bash $CLAUDE_PLUGIN_ROOT/hooks/session-end.sh",
"timeout": 30
}
],
"matcher": "*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash $CLAUDE_PLUGIN_ROOT/hooks/session-start.sh",
"timeout": 10
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 4
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"SessionEnd": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}