Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Claude-Mem 🧩 Skill Freemium

Persistent, compressed session memory for Claude Code via hooks, a local worker and MCP search

Development workflow skills · Freemium ★ 95k · +495 this week · Apache-2.0 · updated 2026-10-02

7.2editor score
Visit Claude-Mem ↗
GitHub stars
95k
Stars this week
+495
Forks
8.4k
Licence
Apache-2.0
Last push
2026-10-02
Maintainer
thedotmack
Installnpx claude-mem install

Third-party agent skills run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

About Claude-Mem

What it does

Claude-Mem, by Alex Newman, gives Claude Code a long-term memory that lasts across sessions. It hooks into the session lifecycle, records what the agent does with its tools, and uses a model to compress those records into short observations and summaries. It then injects the relevant parts into later sessions. The result is that a new session starts with context about decisions, bug fixes and project history instead of from nothing.

What is inside

  • Lifecycle hooks: session start, prompt submit, post-tool-use, stop and session end.
  • A local worker service: runs on Bun, with an HTTP API and a web viewer that shows the memory stream.
  • Storage: SQLite with full-text search, plus a Chroma vector database for semantic search.
  • Search tools: search, timeline and get_observations, served over MCP, plus a mem-search skill. Together they fetch a compact index first and full details only for the records you need.
  • Controls: <private> tags to keep content out of storage, context-injection settings, and language modes.

Works with

Claude Code is the main target, installed as a plugin. The installer also supports OpenCode, Antigravity CLI, OpenClaw gateways and a Grok bot. The repository description claims support for more agents, but the README documents only these.

How to install

npx claude-mem install

Or, inside Claude Code:

/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem

Maintenance and safety

Apache 2.0 and very actively developed, with stable and early-access branches. By default the installer asks you to sign in to a hosted "CMEM Pro" memory service, free for 30 days. You can skip this with an explicit --provider flag or CLAUDE_MEM_ONLINE_OPTIN=false. The plugin stores detailed records of your sessions on disk, and a cloud sync option is available, so decide what should leave your machine. It also auto-installs Bun and uv if they are missing. The README promotes a third-party crypto token linked to the project. That token has nothing to do with using the tool.

Who should use it

Heavy Claude Code users on long-running projects who lose time re-explaining context. Teams with strict data rules should run it local-only.

memory context-persistence hooks mcp sqlite

Pros

  • Automatic capture and injection of past session context
  • Token-efficient layered search over SQLite and Chroma
  • Private tags and local-only mode available

Cons

  • Installer defaults to a hosted sign-in trial unless you opt out
  • Stores detailed session records; README promotes a crypto token

Superpowers 🧩 SkillFree

A skills library that makes coding agents plan, test-first and debug systematically

★ 294k · +2.7k this week

Matt Pocock's Skills 🧩 SkillOpen source

Small, composable engineering skills: grilling, TDD, specs, tickets and architecture review

★ 274k · +4.9k this week

8.4 Visit ↗

Agent Skills (Addy Osmani) 🧩 SkillOpen source

25 lifecycle skills and commands that make agents spec, test, review and ship with discipline

★ 100k · +1.4k this week

8.3 Visit ↗

Ponytail 🧩 SkillOpen source

Makes your coding agent write the minimum code a task needs, without cutting safety

★ 151k · +5.3k this week

8.0 Visit ↗

Understand Anything 🧩 SkillOpen source

Turns a codebase into an interactive knowledge graph with tours, search and Q&A

★ 85k · +858 this week

8.0 Visit ↗

Archify 🧩 SkillOpen source

Validated, interactive architecture, sequence and data-flow diagrams compiled from typed JSON

★ 76k · +4.5k this week

7.9 Visit ↗

Popular searches