- Added matcher: "*" (required for plugin hooks) - Added "bash" prefix to command - This should fix the hook not triggering on /exit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
344 B
JSON
18 lines
344 B
JSON
{
|
|
"description": "Claude Learn hooks - session end reminders",
|
|
"hooks": {
|
|
"SessionEnd": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/session-end-reminder.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|