How to use
- Copy the installation command and review the source package before installing it in your own agent environment.
- Check the source document for required tools, credentials and supported hosts.
- Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/smartworldarafath/rea_skill --skill claude-memBefore you start
- Installation does not include a model subscription, API allowance or permission to access your files.
- Repository stars and installation counts describe activity, not an independent quality or security test.
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
Claude-Mem
Persistent memory compression system built for Claude Code.
What It Does
Claude-Mem compresses conversation transcripts and project context into compact memory snapshots that persist across sessions, enabling:
- Cross-session memory: Claude remembers what was done in previous sessions without manually re-loading context
- Knowledge graph compression: Project knowledge is distilled into structured memory entries
- Team cowork: Share memory across multiple agents working on the same project
- Multi-tool support: Works with Claude Code, Cursor, Grok Bot, Windsurf, OMP, Hermes, Pi, and more
Installation
npx claude-mem installOr via the Claude Code plugin marketplace:
/plugin marketplace add thedotmack/claude-memHow It Works
- Compress: At the end of a session, Claude-Mem analyzes the conversation transcript and extracts key decisions, code changes, and context
- Store: Compressed memory is stored as structured YAML/JSON in your project's
.claude-mem/directory - Load: On the next session start, memory is loaded and injected into Claude's context window
- Cowork: Multiple agents can read and write to the shared memory store
Commands
/mem compress # Compress current session into memory
/mem load # Load project memory at session start
/mem status # Show what's in memory
/mem search <query> # Search memory for specific information
/mem forget <topic> # Remove memory entries
/mem cowork # Enable multi-agent memory sharingConfiguration
Memory is stored in .claude-mem/ in your project root (add to .gitignore if private). Configure in .claude-mem/config.json:
{
"compression": "aggressive",
"max_entries": 100,
"include": ["decisions", "code_changes", "context"],
"cowork": false
}Reference
- Source: github.com/thedotmack/claude-mem
- License: Apache 2.0