Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Persistent memory

Plugin by thedotmack

Gives Claude Code a persistent memory across sessions. A second agent takes notes on tool activity, and each new session starts with a short index of past observations. Built for developers whose coding agent forgets its work between sessions.

  • Score 89
  • 120k stars
  • Apache-2.0
  • Updated
Works withClaude Code

Install Persistent memory

Built from the published package, never by AI.

/plugin marketplace add ahmadhammoud56/MOAA
/plugin install persistent-memory@moaa

Type both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

Step-by-step: install Persistent memory in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Persistent memory is the listing for claude-mem, a Claude Code plugin that compresses context across sessions. Hooks pass each tool call, such as reads, edits and runs, to a small local worker. A second agent turns that activity into short observations and writes a summary when the session ends.

The next session opens with a compact index of observations for the project, and pulls in full details only when needed. Memory is stored in ~/.claude-mem on your machine, and cloud sync is opt-in. Memory injection starts on your second session in a project, so it suits developers who keep working on the same codebase.

Written from the project's README and checked against it.

What it can do

  • Session continuityStarts each new session with a compact index of past observations for the project.
  • mem-search skillSearches project history in three steps: index, timeline and details.
  • My Work viewerShows live requests, progress, human handoffs and a review queue at the worker URL.
  • TeamBrainOptional shared workspace with team work lists and linked findings, chosen per person.
  • Claude Desktop searchLets you search your memory from Claude Desktop conversations.
  • Private tagsContent wrapped in private tags is never stored.
  • Screenshot handlingKeeps converted copies of tool screenshots locally, with a Keep images switch in Settings.
  • Injection settingsFine-grained settings control what context a new session starts with.
  • Observation IDsEvery observation has an ID you can cite through the worker API or web viewer.

What you need

  • Claude Code
  • A claude-mem account for the hosted observer (optional, sign-in by email magic link)
  • An OpenRouter or Gemini key, or an Anthropic plan, for the memory provider

Try asking

  • Search my project memory for the auth bug we fixed last week
  • Show what we decided about the database schema in earlier sessions
  • Wrap this API token in private tags so it is never stored

Good to know

  • Copilot CLI, Goose, Roo Code, Warp and Zed can search memory, but their sessions are not recorded.
  • The npm package installs the SDK or library only and does not register the plugin hooks.
  • Cloud sync is opt-in and off by default.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://install.cmem.ai/openclaw.sh | bash

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Persistent memory

All alternatives →

Compare with Agentmemory, Obsidian or Claude mem

Persistent memory: common questions

Does my memory stay on my computer?

Memory lives in ~/.claude-mem on your machine. Cloud sync is opt-in and backs up memory to cmem.ai.

Which agents does claude-mem work with?

The source lists Claude Code, Codex, Cursor, OpenCode and 11 more agents. Copilot CLI, Goose, Roo Code, Warp and Zed can search memory but do not record sessions.

Is installing from npm enough?

No. The npm package installs only the SDK or library and does not register the plugin hooks or set up the worker service.

How do I install Persistent memory?

Inside Claude Code, add the marketplace with /plugin marketplace add ahmadhammoud56/MOAA, then install the plugin with the second command shown above.

Is Persistent memory free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Persistent memory safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Persistent memory?

Similar plugins: Agentmemory, Obsidian, Claude mem, Claude mem.

Persistent memory Install

Add to stack

Loading.