claude-mem

claude-mem is a plugin for Claude Code from thedotmack/claude-mem. Its manifest loads nothing; the 19 skills, 1 MCP server it bundles cost 1,203 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.

▶ 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 · 101,048 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 19 skills, 1 MCP server cost 1,203 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 2d ago.

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": "13.39.0",
  "description": "Memory compression system for Claude Code - persist context across sessions",
  "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. 2d ago Changed ba3a1295b404
  2. 3d ago Changed 56e37bf875d4
  3. 6d ago Changed 6ac11d5c18be
  4. 9d ago Changed 93ba95b8d112
  5. 10d ago Changed e858c7ac7ce1
  6. 11d ago Changed 7251f58b7add
  7. 12d ago Changed 3a8f9432f44c
  8. 19d ago Changed 81b675b641c4
  9. 24d ago Changed 24f9f5575942
  10. 26d ago First seen · 25 lines scan A 8393c342ffc4

Subscribe to this mod's changes

claude-mem is a plugin published in the GitHub repository thedotmack/claude-mem (101,048 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.