Session memory
Plugin by thedotmack
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.
Install Session memory
Built from the published package, never by AI.
/plugin marketplace add siddu1004/SFP
/plugin install session-memory@sfpType 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
Session memory is the claude-mem plugin for Claude Code. Hooks pass each tool call, such as reads, edits and runs, to a small local worker. A second agent, called the observer, turns that activity into short observations and writes a summary when the session ends.
When a new session starts, Claude Code gets a compact index of the observations that matter for the project. Full details are opened only when needed. The mem-search skill searches project history in three steps: index, timeline and details. Memory is stored in ~/.claude-mem on your machine, and cloud sync is opt-in. It suits developers who want Claude Code to pick up where they left off.
Written from the project's README and checked against it.
What it can do
- Session indexOpens each new session with a compact index of past observations, loading full details only on demand.
- mem-search skillSearches project history in three steps: index, timeline and details.
- My Work viewerShows live requests, progress, human handoffs and a saved review queue at the worker URL.
- /learn-codebaseFront-loads a whole repository into memory, taking about 5 minutes on a typical repo.
- Private tagsContent wrapped in <private> tags is never stored.
- Screenshot handlingKeeps converted copies of tool screenshots locally by default, with a switch to turn this off.
- TeamBrainAn optional shared workspace where each person chooses what to share.
- Cloud SyncBacks up your memory to cmem.ai. It is opt-in.
What you need
- Claude Code
- Claude-Mem hooks and worker, installed via npx claude-mem install or the /plugin commands
- Browser sign-in to claude-mem, if you use the hosted memory provider
- A memory provider: the claude-mem observer, your own OpenRouter or Gemini key, or your Anthropic plan
Try asking
- Use mem-search to find the decision we made about the database schema.
- Search my project history for how we fixed the login bug last month.
- Run /learn-codebase on this repo so the next session starts with its context.
Good to know
- Claude Code only. It needs claude-mem's hooks and worker.
- Memory injection starts on your second session in a project.
- npm install -g claude-mem installs the SDK only and does not register the plugin hooks or worker.
- The observer's 30 day free trial asks for a payment method. Afterwards memory falls back to your Anthropic plan unless you subscribe.
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 Session 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 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.
Ruflo is an agent meta-harness for Claude Code and Codex that adds agents, hooks, memory and an MCP server to a project. The knowledge graph plugin is declared for entity extraction and relation mapping, but the source does not detail it. Built for developers who want multi-agent work.
Compare with Agentmemory, Obsidian or Claude mem
Session memory: common questions
Where is my memory stored?
Memory lives in ~/.claude-mem on your machine. Cloud sync to cmem.ai is opt-in.
Does it send usage data?
Anonymous usage analytics are on by default. Running npx claude-mem telemetry disable turns them off.
How do I keep sensitive text out of memory?
Wrap anything in <private> tags and it is never stored.
How do I install Session memory?
Inside Claude Code, add the marketplace with /plugin marketplace add siddu1004/SFP, then install the plugin with the second command shown above.
Is Session memory free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Session 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 Session memory?
Similar plugins: Agentmemory, Obsidian, Claude mem, Claude mem.
