From Ālaya Memory Hooks
After every Claude response: runs bash "${CLAUDE_PLUGIN_ROOT}/scripts/alaya-session-save.sh". Before context compaction: runs bash "${CLAUDE_PLUGIN_ROOT}/scripts/alaya-precompact.sh".
2 events · 2 hooks
Ships in Ālaya Memory Hooks. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
bash "${CLAUDE_PLUGIN_ROOT}/scripts/alaya-session-save.sh"10sbash "${CLAUDE_PLUGIN_ROOT}/scripts/alaya-precompact.sh"30sWhere this hook configuration is defined
Defined in hooks/hooks.json
10 plugins ship this exact hooks config · first indexed Jan 11, 2026
npx claudepluginhub 27b-io/alaya --plugin alaya-memory-hooksOther plugins' hooks for the same job