Development
Hook
Hooks
What memory-loop runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
$ npx -y skills add yucai0302/memory-loop --agent claude-codeShips with memory-loop. 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.
- Runs session-start.sh".
Stop
- Runs check-compress.sh".
Ships withmemory-loop
Persistent project-scoped memory for Claude Code. Auto-loads on session start, structured by schema, hot/cold layered.
Get the whole plugin, auto-invoked

