Setup
01Hook
Runs once when the project is set up for init and maintenance tool calls, executing ensure_deps.sh. From mem0ai/mem0.
Hook
Runs once when the project is set up for init and maintenance tool calls, executing ensure_deps.sh. From mem0ai/mem0.
Hook
Runs when a session starts on startup, resume and compact, executing ensure_deps.sh and on_session_start.sh (2 commands). From mem0ai/mem0.
Hook
Runs before the agent uses a tool for Write, Edit, MultiEdit, mcp__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…
Hook
Runs after a tool call finishes for mcp__mem0__.*, mcp__plugin_mem0_mem0__.* and Bash tool calls, executing on_post_tool_use.sh and on_bash_output.sh (2 commands). From mem0ai/mem0.
Hook
Runs when the agent finishes a response, executing on_stop.sh. From mem0ai/mem0.
Hook
Runs before the context is compacted, executing on_pre_compact.sh. From mem0ai/mem0.
Hook
Runs when you submit a prompt, before the agent sees it, executing on_user_prompt.sh. From mem0ai/mem0.