Claude Tips mascot
Claude Tips & Tricks
Claude Code intermediate

Use Claude's Memory to Persist Preferences

Claude Code has a built-in memory system that remembers your preferences, project context, and feedback across conversations.

Claude Code can remember things across conversations. Just tell it to remember:

Remember that I prefer functional components over class components.
Remember that our team uses conventional commits (feat:, fix:, chore:).

What to Tell Claude to Remember

  • Code style preferences - “Always use arrow functions,” “Never use default exports”
  • Project conventions - “We use pnpm, not npm,” “Tests go in tests directories”
  • Personal workflow - “I like detailed explanations,” “Keep responses short”
  • Correction feedback - “Don’t add comments to obvious code,” “Stop suggesting try/catch everywhere”

Memory Persists Across Sessions

Once Claude remembers something, it applies in every future conversation in that project. You don’t need to repeat yourself.

To Forget

Forget that preference about arrow functions.

Claude will remove it from memory.

Paste into Claude Code
Remember that I prefer concise responses, no emojis, and I want you to always run tests after making changes. Also remember that this project uses strict TypeScript with no any types allowed.