How to give Claude stable memory of your preferences and context
언제 쓸까: Every new chat starts from scratch and you want continuity.
사전 조건
- uvx installed — brew install uv
흐름
-
Seed preferencesmemory_store: 'I work on iOS + Swift projects. Prefer MVVM with @Observable. Always comment in English.' with tags [preference, coding].✓ 복사됨→ Stored confirmation
-
In a future session, retrievememory_search: 'my coding style preferences'.✓ 복사됨→ Preferences returned, agent applies them
-
Decay cleanupShow me memories older than 90 days with no recent hits — offer to prune.✓ 복사됨→ Stale list for review
결과: Claude behaves like it remembers you.
함정
- Storing sensitive PII that becomes retrievable forever — Don't — treat memory like a public notebook. Use tags to compartmentalize.