npx claudepluginhub layerdynamics/lore --plugin mcp-trigger-gatewayDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/gateway-session-end.sh",
"timeout": 5
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/gateway-event-relay.sh",
"timeout": 10
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/gateway-session-start.sh",
"timeout": 5
}
]
}
]
}"Saves tool observations on PostToolUse, session summaries on Stop, and runs memory init on SessionStart matching startup|clear|compact. Executes bash scripts."