Ivo Nikolov All free resources

free guide1 page · 5 min read

The claude-mem setup guide

A short guide to claude-mem for Claude Code: what you need first, what Claude Code already remembers, the install that stays on your own Claude plan, which provider to pick, what it stores and touches, and how to remove it. As of November 6, 2026. Free.

Hi, it's Ivo.

claude-mem is a free, open source plugin on GitHub (thedotmack/claude-mem, Apache-2.0, 113,716 stars on November 6, 2026). It's made by Alex Newman, not by Anthropic. While Claude Code works, it records what Claude did, compresses that into short notes and hands the notes to your next session.

What you need first

What Claude Code already remembers

Check this before you add anything, because you may not need the plugin.

Every Claude Code session starts with a fresh context window. Two built-in things carry over:

There's also claude --continue, which reopens your last session, and claude --resume, which lists older ones. That's the whole conversation coming back, not a short summary.

The gap is in Anthropic's own docs: "Claude skips anything it can derive from the codebase, such as architecture, file paths, or debugging fixes." So auto memory won't keep what you fixed on Tuesday. claude-mem keeps exactly that.

The install

Inside Claude Code, type these two lines:

Copy this
/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem

Restart Claude Code. This route has no installer step, so your notes run on your own Claude plan, which is the plugin's default setting (CLAUDE_MEM_PROVIDER = claude).

Two things to expect:

Don't use npm install -g claude-mem. That installs the library only, without the hooks, so nothing gets recorded.

Which provider to pick

Something has to compress your sessions into notes. That's the provider, and it's the one real choice you make. The terminal route, npx claude-mem install, asks you. It has CMEM Pro pre-selected.

Provider Where your sessions go What it costs you
Your Claude plan (--provider claude)To Anthropic, as usualShares your plan's usage
CMEM Pro (pre-selected)To cmem.ai, their hosted service30-day free trial, then subscribe or fall back to your plan
Your own OpenRouter keyTo OpenRouterYour OpenRouter credit
Your own Gemini keyTo GoogleYour Gemini key

My pick for a first week: your Claude plan. If you use the terminal route, run npx claude-mem install --provider claude and the sign-in step is skipped. Local installs still contact cmem.ai once, at signup, with a numbers-only usage summary, according to their docs.

Cloud Sync is a separate thing that comes with cmem.ai. It uploads your notes and your full prompt text to your cmem.ai account. Their own warning: don't enable it if that content must stay on your machine.

What it touches

Keep something out of the notes by wrapping it in <private> tags:

Copy this
<private>
This content will not be stored in memory
</private>

Put passwords and client details in there, or better, keep them out of the session.

How to use it

Mostly you don't do anything. Work as usual, and each new session starts with recent notes.

How to remove it

Run npx claude-mem uninstall. It removes the launcher and prints the line to take out of your shell settings. Your notes are in ~/.claude-mem, so delete that folder if you want them gone.

The honest part