From basic-memory
Before context compaction: runs uv run --quiet --script "${CLAUDE_PLUGIN_ROOT}/hooks/pre_compact.py". When a session starts: runs uv run --quiet --script "${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py".
2 events · 2 hooks
Ships in basic-memory. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
uv run --quiet --script "${CLAUDE_PLUGIN_ROOT}/hooks/pre_compact.py"120suv run --quiet --script "${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py"45sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub basicmachines-co/basic-memory --plugin basic-memory87 plugins ship this exact hooks config · first indexed Nov 28, 2025
Other plugins' hooks for the same job