claude-mem

claude-mem is a plugin for Claude Code from thedotmack/claude-mem. Its manifest loads nothing; the 25 skills it bundles cost 1,537 tokens per session together, scanned A, a copy of claude-mem, Apache-2.0.

A memory and context system for Claude Code, an AI coding assistant. It compresses and keeps information between sessions.

In plain words
What is it for?
Use it to retain coding-task context across Claude Code sessions.
Why use it?
It reduces the need to repeat earlier context when work continues in a later session.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

▶ Give Claude Persistent Memory in 5 Minutes Better Stack · about claude-mem · on YouTube →

Good fit Use it to retain coding-task context across Claude Code sessions.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem
About the project

Claude-Mem, now presented as Grok Mem, records an agent's work, compresses it with AI, and brings relevant notes into later sessions so the agent can remember decisions and next steps. It is intended for persistent context across agent conversations and supports multiple coding-agent environments. The catalogue add-ons provide the workflows and integrations used to operate this memory system.

thedotmack/claude-mem · 120,667 stars · on GitHub · claude-mem.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/thedotmack/claude-mem

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-mem

README.md
[![agentmods](https://agentmods.dev/badge/plugins/thedotmack/claude-mem/plugin/github.svg)](https://agentmods.dev/plugins/thedotmack/claude-mem/plugin)
Your own site
<a href="https://agentmods.dev/plugins/thedotmack/claude-mem/plugin"><img src="https://agentmods.dev/badge/plugins/thedotmack/claude-mem/plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-mem

Your own site · 80×15
<a href="https://agentmods.dev/plugins/thedotmack/claude-mem/plugin"><img src="https://agentmods.dev/badge/plugins/thedotmack/claude-mem/plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 25 skills cost 1,537 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

claude-mem scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to claude-mem — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugin/.claude-plugin/plugin.json · 25 lines

What it actually says

{
  "name": "claude-mem",
  "version": "17.1.1",
  "description": "Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more.",
  "author": {
    "name": "Alex Newman"
  },
  "repository": "https://github.com/thedotmack/claude-mem",
  "license": "Apache-2.0",
  "keywords": [
    "claude",
    "claude-code",
    "claude-agent-sdk",
    "mcp",
    "plugin",
    "memory",
    "compression",
    "knowledge-graph",
    "transcript",
    "typescript",
    "nodejs"
  ],
  "homepage": "https://github.com/thedotmack/claude-mem#readme"
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed f828fb151caa
  2. 3d ago Changed 243f51f14d50
  3. 4d ago Changed 39f9ee31d341
  4. 5d ago Changed 973c4ccfd646
  5. 6d ago Changed 9973a7b2def4
  6. 7d ago Changed 2d9ff7dcff74
  7. 8d ago Changed a8cb860a25a3
  8. 9d ago Changed 3f1abb93688a
  9. 10d ago Changed f466317ae8f2
  10. 11d ago First seen · 25 lines scan A 216dcd4e6a67

Subscribe to this mod's changes

claude-mem is a plugin published in the GitHub repository thedotmack/claude-mem (120,667 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. It is 100% identical to claude-mem, differing in 0 lines, and is treated as a copy.

Related

claude-mem compared with plugins from other repositories

claude-mem next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-memthedotmack/claude-memPlugin121ktodayApache-2.0A—Claude Code
hivemind marketplaceactiveloopai/hivemindPlugin1.7k19d agoApache-2.0A—Claude Code
hivemindactiveloopai/hivemindPlugin1.7k19d agoApache-2.0A—Claude Code
hivemindactiveloopai/hivemindPlugin1.7k19d agoApache-2.0A—Claude Code
claude-dejavucmg8431/claude-dejavuPlugin26mo agoMITA—Claude Code
mnemoverse-memorymnemoverse/mcp-memory-serverPlugin306d agoMITA—Gemini CLI
longhandWynelson94/longhandPlugin177d agoMITA—Claude Code