Skip to content
Data
Hook

Hooks

What episodic-memory runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
episodic-memory
4781 skill1 agent1 hook1 MCP
Install
> /plugin marketplace add obra/episodic-memory
> /plugin install episodic-memory@episodic-memory-dev

Ships with episodic-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.

  • Matchesstartup|resume|clearnode "${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/cli/episodic-memory.js" sync --background
Read hooks/hooks.json
Ships withepisodic-memory

Semantic search for Claude Code, Codex, Cursor, opencode, and Oh My Pi (OMP) conversations. Remember past discussions, decisions, and patterns.

Get the whole plugin
Stats
478
Stars
137
Forks
Active
Maintenance
TypeScript
Language
MIT
License
8d ago
Last commit
11mo ago
Created

Repo: obra/episodic-memory