From mem0
After every Claude response: runs python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" stop --plugin-data-dir "…. Before context compaction: runs python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" flush --reason pre-compa…. And 7 more.
9 events · 9 hooks
Ships in mem0. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" stop --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"3spython3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" flush --reason pre-compact --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"5spython3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" flush --reason session-end --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"5s.*python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" post-tool --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"3sstartup|resume|clear|compactpython3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" session-start --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"5s^mem0:sidekick$python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" sidekick-stop --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"5s^mem0:sidekick$python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" sidekick-start --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"5spython3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" user-prompt --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"6s.*python3 "${CLAUDE_PLUGIN_ROOT}/adapters/claude/hook.py" post-tool-failure --plugin-data-dir "${CLAUDE_PLUGIN_DATA}"3sWhere this hook configuration is defined
Defined in hooks/hooks.json
5 plugins ship this exact hooks config · first indexed Sep 29, 2026
npx claudepluginhub mem0ai/mem0 --plugin mem0Other plugins' hooks for the same job