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.
Install Persistent memory
Built from the published package, never by AI.
/plugin marketplace add ahmadhammoud56/MOAA
/plugin install persistent-memory@moaaType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
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 →Agentmemory gives coding agents persistent memory shared across sessions and tools. It captures supported session events through hooks and MCP, and lets agents recall decisions and fixes later. It is built for developers who use several coding agents on one project.
Adds agent skills for creating and editing Obsidian vault files, including Markdown, Bases, and Canvas. It is for people who use AI assistants with Obsidian vaults.
Claude-Mem gives Claude Code a memory that carries across sessions. A second agent records tool activity as short observations, and new sessions start with a compact index of them. It suits developers who want their agent to stop re-reading files and repeating past mistakes.
Claude-Mem gives Claude Code a persistent memory across sessions. It records tool activity, compresses it into observations, and injects relevant context into future sessions. Built for developers who want their coding agent to pick up where it left off.
Gives Claude Code persistent memory across sessions. A second observer agent takes notes, and each new session starts with a compact index of past work.
Gives Claude Code HNSW-indexed vector memory through AgentDB, part of the wider Ruflo agent toolkit. Aimed at developers who want agents to keep and search memory across tasks.
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.
