Resume a multi-week project without re-briefing Claude every morning
何时使用: You spend the first 10 minutes of every session re-explaining context that Claude had yesterday.
前置条件
- Claude Code installed — npm install -g @anthropic-ai/claude-code
- claude-mem installed — npx claude-mem install (registers hooks in ~/.claude)
步骤
-
Work normallyJust use Claude Code. claude-mem is passive — hooks capture events automatically.✓ 已复制→ localhost:37777 shows the memory stream updating as you work
-
Start tomorrow's sessionWhere did we leave off on the migration branch?✓ 已复制→ Claude recalls concrete facts + cites observation IDs
-
Correct misrememberingThat's wrong about the DB schema — we decided to keep the v1 field. Mark that observation as corrected.✓ 已复制→ mem-search writes a correction; future recall prioritizes it
结果: Sessions feel continuous. The re-briefing ritual disappears.
注意事项
- Memory recalls stale facts after you change course — Explicitly mark corrections; mem-search respects recency and overrides
- Sensitive code snippets get captured — Wrap them in
<private>...</private>tags; hooks skip private blocks