Claude Code

Hooks — run by themselves

| Hook | When | What it does | |---|---|---| | session-start.py | every session start, and after a compaction | Loads the working agreement, your MEMORY.md , the newest handoff and the knowledge in

| Hook | When | What it does | |---|---|---| | session-start.py | every session start, and after a compaction | Loads the working agreement, your MEMORY.md , the newest handoff and the knowledge index. Warns when memory is over its caps, when a path in memory no longer exists, when a spec is waiting for your ratification, and when your project wires its own copy of a kit hook it would run twice . | | pre-compact.sh | before the conversation is co…