Claude-Mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions.
Install
npx skills add thedotmack/claude-mem -a claude-code
npx skills add thedotmack/claude-mem -a claude-code -g
Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).
npx skills add thedotmack/claude-mem -a codex
npx skills add thedotmack/claude-mem -a codex -g
Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).
npx skills add thedotmack/claude-mem -a gemini-cli
npx skills add thedotmack/claude-mem -a gemini-cli -g
Or copy the skill folder into .agents/skills/ (project) or ~/.gemini/skills/ (all projects).
npx skills add thedotmack/claude-mem -a github-copilot
npx skills add thedotmack/claude-mem -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
npx skills add thedotmack/claude-mem -a opencode
npx skills add thedotmack/claude-mem -a opencode -g
Or copy the skill folder into .agents/skills/ (project) or ~/.config/opencode/skills/ (all projects).
npx skills add thedotmack/claude-mem -a openclaw
npx skills add thedotmack/claude-mem -a openclaw -g
Or copy the skill folder into skills/ (project) or ~/.openclaw/skills/ (all projects).
See the repository README for installation instructions.
When to use
Install it if you work on one project across many sessions and are tired of re-explaining the codebase and past decisions each time.
Claude-Mem gives a coding agent memory between sessions. The README's pain point is that every new session starts from zero, with the agent re-reading the same files, re-asking the same questions and repeating mistakes you already fixed together. Claude-Mem captures what the agent does during a session, compresses it with AI and injects the relevant context back into future sessions.
It has search tools for looking back through that history, along with documentation, configuration and troubleshooting guides. It works with Claude Code, Codex, Gemini CLI, OpenCode, Copilot and OpenClaw, and the README is translated into more than thirty languages.
Related skills
-
rea
Lets your agent reverse engineer an app from the outside, down to native binaries, and then build its own version.
-
superpowers
A set of development habits for your agent: test first, debug systematically, and plan before you code.
-
skills
The skills Matt Pocock uses in his own day-to-day engineering work.
-
ECC
A ready-made setup for coding agents that adds skills, persistent memory and security checks.