From m3 Memory
After every Claude response: runs command -v m3 >/dev/null 2>&1 || { echo '[m3-memory] chatlog NOT captured: m3 CL…. Before context compaction (auto): runs command -v m3 >/dev/null 2>&1 || { echo '[m3-memory] chatlog NOT captured: m3 CL…. And 2 more.
4 events · 4 hooks
Ships in m3 Memory. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
command -v m3 >/dev/null 2>&1 || { echo '[m3-memory] chatlog NOT captured: m3 CLI not on PATH. Run: pipx install m3-memory && pipx ensurepath' >&2; exit 1; }; m3 hook claude-capture; rc=$?; [ "$rc" -eq 2 ] && exec /bin/sh "$(mcp-memory chatlog hook-path)"; exit "$rc"30sautocommand -v m3 >/dev/null 2>&1 || { echo '[m3-memory] chatlog NOT captured: m3 CLI not on PATH. Run: pipx install m3-memory && pipx ensurepath' >&2; exit 1; }; m3 hook claude-capture; rc=$?; [ "$rc" -eq 2 ] && exec /bin/sh "$(mcp-memory chatlog hook-path)"; exit "$rc"30scommand -v m3 >/dev/null 2>&1 || { echo '[m3-memory] session summary NOT started: m3 CLI not on PATH. Run: pipx install m3-memory && pipx ensurepath' >&2; exit 1; }; exec m3 hook claude-session-endcommand -v m3 >/dev/null 2>&1 || { echo '[m3-memory] m3 CLI not on PATH. Run: pipx install m3-memory && pipx ensurepath, then m3 setup' >&2; exit 1; }; exec m3 hook claude-session-start30sWhere this hook configuration is defined
Defined in hooks/claude.json
27 plugins in 26 repositories ship this exact hooks config · first indexed Dec 31, 2025
npx claudepluginhub skynetcmd/m3-memory --plugin m3Other plugins' hooks for the same job