Executes custom commands when Claude Code stops or sends notifications.
npx claudepluginhub cuipengfei/promptsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bun ${CLAUDE_PLUGIN_ROOT}/hooks/notify.ts Stop",
"timeout": 5
}
],
"matcher": ".*"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "bun ${CLAUDE_PLUGIN_ROOT}/hooks/notify.ts Notification",
"timeout": 5
}
],
"matcher": ".*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"Stop": 1,
"Notification": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}