npx claudepluginhub masseater/claude-code-plugin --plugin discord-notifyDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entry/send-discord.ts"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "cd ${CLAUDE_PLUGIN_ROOT} && bun install --production 2>/dev/null || true"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entry/create-thread.ts"
}
]
}
]
}"Runs bash guard script on Stop events and session-start script on SessionStart events matching startup, clear, or compact. Executes shell commands."