From mempalace
After every Claude response: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh". Before context compaction: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-precompact-hook.sh". When a session ends: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-session-end-hook.sh".
3 events · 3 hooks
Ships in mempalace. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
bash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh"30sbash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-precompact-hook.sh"90sbash "${CLAUDE_PLUGIN_ROOT}/hooks/mempal-session-end-hook.sh"10sWhere this hook configuration is defined
Defined in hooks/hooks.json
memory-management, session-cleanup, stop-hook, precompact-hook
7 plugins ship this exact hooks config · first indexed Feb 4, 2026
npx claudepluginhub mempalace/mempalace --plugin mempalaceOther plugins' hooks for the same job