๐Ÿง 

Auto Memory

Claude Code

Automatic context retention across sessions

Auto Memory is a feature that lets Claude Code remember important patterns, user preferences, and project structure across sessions. It auto-saves to a MEMORY.md file and automatically loads at the start of the next session. Say "remember this" to manually save specific information.

How to Use

1

Claude Code auto-detects and saves important patterns during work

2

Saved to ~/.claude/projects/project/memory/MEMORY.md

3

Manual save with "remember this", "always use bun", etc.

4

Delete specific memories with "forget this", "stop remembering X"

Tags

#memory #context #session #persistent #auto

Source

Anthropic Docs