Stats
Actions
Tags
From mem0
Automates mem0 memory management for Claude Code. Blocks file writes to prevent corruption, enforces metadata defaults on mem0 operations, loads context on session start, and runs relevance checks on user prompts. Uses bash scripts.
7 events · 11 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
${CLAUDE_PLUGIN_ROOT}/scripts/on_stop.sh30msinit|maintenance${CLAUDE_PLUGIN_ROOT}/scripts/ensure_deps.sh120ms${CLAUDE_PLUGIN_ROOT}/scripts/on_pre_compact.shWrite|Edit|MultiEdit${CLAUDE_PLUGIN_ROOT}/scripts/block_memory_write.shmcp__mem0__add_memory|mcp__plugin_mem0_mem0__add_memory|mcp__mem0__search_memories|mcp__plugin_mem0_mem0__search_memories|mcp__mem0__get_memories|mcp__plugin_mem0_mem0__get_memories|mcp__mem0__delete_all_memories|mcp__plugin_mem0_mem0__delete_all_memories${CLAUDE_PLUGIN_ROOT}/scripts/enforce_metadata_defaults.sh3msRead${CLAUDE_PLUGIN_ROOT}/scripts/on_file_read.sh5msmcp__mem0__.*|mcp__plugin_mem0_mem0__.*${CLAUDE_PLUGIN_ROOT}/scripts/on_post_tool_use.sh3msBash${CLAUDE_PLUGIN_ROOT}/scripts/on_bash_output.sh5msdiff -q "${CLAUDE_PLUGIN_ROOT}/requirements.txt" "${CLAUDE_PLUGIN_DATA:-$HOME/.mem0/plugin-data}/requirements.txt" >/dev/null 2>&1 || "${CLAUDE_PLUGIN_ROOT}/scripts/ensure_deps.sh"60msstartup|resume|compact${CLAUDE_PLUGIN_ROOT}/scripts/on_session_start.sh${CLAUDE_PLUGIN_ROOT}/scripts/on_user_prompt.sh8msnpx claudepluginhub mem0ai/mem0 --plugin mem0