npx claudepluginhub milla-jovovich/mempalace --plugin mempalaceDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/mempal-precompact-hook.sh"
}
]
}
]
}"Executes mempal-stop-hook.sh bash script on Stop event and mempal-precompact-hook.sh on PreCompact event for lifecycle automation."