Claude Code

Give Claude a Memory With claude-mem

claude-mem writes down what Claude does in every session and hands a short summary back next time. How to install it, how it works, the sign-in catch, and a prompt to check it is running

2min read
1prompts to copy
4numbered steps
4sections

Claude forgets your project the moment you close the session. claude-mem is an open-source Claude Code plugin, past 100,000 GitHub stars, that records what Claude does, squeezes it into short summaries and brings them back when you open the project again.

Here's how it works, how to install it, the one catch, and a prompt to test it.

How it works

  • Hooks write down what Claude does at the start, during and end of every session.
  • The notes are compressed into short summaries and stored on your computer in a SQLite database.
  • Next session, the summaries are put in front of Claude automatically.
  • Claude searches the summaries first and opens full details only for the ones it needs. The README claims about 10x fewer tokens this way.
  • Wrap anything sensitive in <private> tags and it is left out of storage.

Free, for your email

Get the full setup steps + the copy-paste setup prompt

The rest of this guide (3 more sections, 1 copy-paste prompt) opens right here. The setup prompt, one paste into Claude that sets it all up, comes by email only. Use your real address.

50,000+ follow where these guides come from. No spam, unsubscribe in one click.

Read next