AI for Developers
Agent skill (SKILL.md) Open source Apache-2.0 117.9k

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

For this project
$ npx skills add thedotmack/claude-mem -a claude-code
For every project
$ npx skills add thedotmack/claude-mem -a claude-code -g

Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).

For this project
$ npx skills add thedotmack/claude-mem -a codex
For every project
$ npx skills add thedotmack/claude-mem -a codex -g

Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).

For this project
$ npx skills add thedotmack/claude-mem -a gemini-cli
For every project
$ npx skills add thedotmack/claude-mem -a gemini-cli -g

Or copy the skill folder into .agents/skills/ (project) or ~/.gemini/skills/ (all projects).

For this project
$ npx skills add thedotmack/claude-mem -a github-copilot
For every project
$ npx skills add thedotmack/claude-mem -a github-copilot -g

Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).

For this project
$ npx skills add thedotmack/claude-mem -a opencode
For every project
$ npx skills add thedotmack/claude-mem -a opencode -g

Or copy the skill folder into .agents/skills/ (project) or ~/.config/opencode/skills/ (all projects).

For this project
$ npx skills add thedotmack/claude-mem -a openclaw
For every project
$ 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

All skills