Hooks
What ensue-memory runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
> /plugin marketplace add mutable-state-inc/ensue-skill > /plugin install ensue-memory@ensue-memory-network
Ships with ensue-memory. Installing the plugin gets these hooks.
What fires, and when
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
bash ${CLAUDE_PLUGIN_ROOT}/scripts/session-start.sh
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
bash ${CLAUDE_PLUGIN_ROOT}/scripts/on-message.sh
PostToolUse
- Matches
Write|Edit|Bash|Taskbash ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.sh
PreCompact
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pre-compact.sh
Stop
bash ${CLAUDE_PLUGIN_ROOT}/scripts/on-stop.sh
SessionEnd
bash ${CLAUDE_PLUGIN_ROOT}/scripts/session-end.sh
Get smarter alongside your AI. Your intelligence shouldn't reset every conversation. Ensue is a persistent knowledge tree that grows with you - what you learn today enriches tomorrow's reasoning.
Repo: mutable-state-inc/ensue-skill

