Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/slack-notify.js session_end",
"description": "Send Slack notification when Claude Code exits"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/inject-plugin-guide.js",
"description": "Auto-inject NDF plugin guidelines to project CLAUDE.md",
"suppressOutput": false,
"continueOnError": true
}
],
"enabled": true,
"matcher": "startup|resume",
"priority": 50,
"description": "Inject NDF Plugin Guide to project CLAUDE.md"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"Stop": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}