01
Captures automatically
Six hooks sit on Claude Code's own lifecycle: loading relevant memories when a session starts, checking for related lessons before a file edit, recording every commit, turning a session's fixed errors into a structured lesson when it stops, and rescuing knowledge before context gets compacted. Nothing to remember by hand — it accumulates from normal work.
- Six auto-capture hooks across the whole session lifecycle
- Failures become structured lessons automatically (error, root cause, fix, prevention)
- Opt out any time: MEMESH_AUTO_CAPTURE=false