Overview
Claude Mem is an open-source workflow skill for Claude Code, Codex, Gemini CLI, GitHub Copilot, and OpenCode, published by thedotmack. Its author describes it as: “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. Works with Claude Code, OpenClaw…”. The project has 89k stars on GitHub and is available under the Apache-2.0 license. Add it to your setup with `/plugin marketplace add thedotmack/claude-mem`.
Best for
Installation
Add Claude Mem to your agent with:
/plugin marketplace add thedotmack/claude-mem Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — named in the skill.md
- Codex — named in the skill.md
- Gemini CLI — named in the skill.md
- OpenCode — named in the skill.md
- GitHub Copilot — named in the skill.md
License
Claude Mem is published under the Apache-2.0 license.
Strengths
- Clear Apache-2.0 license — safe to read and adapt within its terms
- Ships in thedotmack/claude-mem, an established project with 89,023 GitHub stars
- Works with Claude Code, Codex, Gemini CLI, OpenCode, GitHub Copilot
- Actively maintained — repository updated in the last 90 days
Author
Topics
Frequently asked questions
- What does Claude Mem do?
- 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. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
- How do I install Claude Mem?
- Run /plugin marketplace add thedotmack/claude-mem in your agent, then reload your skills. Review the source at https://github.com/thedotmack/claude-mem before installing.
- Is Claude Mem free to use?
- Yes. Claude Mem is free and open source under the Apache-2.0 license, so you can read, run, and adapt it within that license's terms.
- Which agents does Claude Mem work with?
- Claude Mem lists Claude Code, Codex, Gemini CLI, OpenCode, and GitHub Copilot — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does Claude Mem come from?
- Claude Mem ships inside thedotmack/claude-mem, a repository that contains 25 catalogued skills in total. The repository's 89,023 GitHub stars apply to that whole collection, not to this skill on its own.