thedotmack/claude-memPublic

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

AI summary: A persistent memory compression system that captures and injects project context into Claude AI sessions.

Stars
96K
+493 today
Forks
8.5K
Watchers
305
Open issues
57
Open PRs
71
Contributors
~237
Commits
3K
Branches
707

TypeScriptApache-2.0Created Aug 31, 2025Last push todayLatest release v13.29.0+1.2K stars this week+2.8K this month

Quick answers

What is claude-mem?
A persistent memory compression system that captures and injects project context into Claude AI sessions.
What does claude-mem do?
Claude-mem provides a structured, long-term memory layer specifically designed for applications utilizing Anthropic's Claude AI models and Claude Code. It acts as an intelligent intermediary that intercepts conversations, extracts key observations, tool usage, and critical context, and stores them in a persistent SQLite database. When new interactions or sessions occur, the system automatically retrieves relevant historical context via hybrid Chroma vector search and dynamically injects it into the prompt. This allows Claude to maintain deep continuity across multiple sessions and remember specific project details without constantly exhausting the context window.
Who is claude-mem for?
AI developers and prompt engineers building deep applications around the Claude API who require robust, long-term context management.
How do I get started with claude-mem?
npx claude-mem install
How popular is claude-mem on GitHub?
thedotmack/claude-mem has 96,035 stars and 8,482 forks on GitHub, and gained 1,236 stars in the last 7 days.
What license does claude-mem use?
thedotmack/claude-mem is released under the Apache-2.0 license.

Star history

since Jul 29, 2026
025K50K75KJul 2026Aug 2026Sep 2026Oct 2026
96K stars as of Oct 4, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepOctMonWedFri2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 2 commits2025-10-15: 18 commits2025-10-16: 19 commits2025-10-17: 5 commits2025-10-18: 14 commits2025-10-19: 11 commits2025-10-20: 9 commits2025-10-21: 37 commits2025-10-22: 3 commits2025-10-23: 13 commits2025-10-24: 20 commits2025-10-25: 35 commits2025-10-26: 9 commits2025-10-27: 7 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 6 commits2025-11-01: 4 commits2025-11-02: 3 commits2025-11-03: 7 commits2025-11-04: 11 commits2025-11-05: 8 commits2025-11-06: 15 commits2025-11-07: 18 commits2025-11-08: 5 commits2025-11-09: 7 commits2025-11-10: 16 commits2025-11-11: 9 commits2025-11-12: 3 commits2025-11-13: 5 commits2025-11-14: 6 commits2025-11-15: 2 commits2025-11-16: 10 commits2025-11-17: 15 commits2025-11-18: 1 commit2025-11-19: 5 commits2025-11-20: 4 commits2025-11-21: 2 commits2025-11-22: 5 commits2025-11-23: 4 commits2025-11-24: 1 commit2025-11-25: 10 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 1 commit2025-11-29: 0 commits2025-11-30: 21 commits2025-12-01: 8 commits2025-12-02: 0 commits2025-12-03: 4 commits2025-12-04: 6 commits2025-12-05: 8 commits2025-12-06: 3 commits2025-12-07: 17 commits2025-12-08: 7 commits2025-12-09: 38 commits2025-12-10: 17 commits2025-12-11: 8 commits2025-12-12: 29 commits2025-12-13: 39 commits2025-12-14: 37 commits2025-12-15: 8 commits2025-12-16: 19 commits2025-12-17: 20 commits2025-12-18: 0 commits2025-12-19: 4 commits2025-12-20: 17 commits2025-12-21: 1 commit2025-12-22: 9 commits2025-12-23: 19 commits2025-12-24: 0 commits2025-12-25: 17 commits2025-12-26: 25 commits2025-12-27: 23 commits2025-12-28: 14 commits2025-12-29: 41 commits2025-12-30: 0 commits2025-12-31: 4 commits2026-01-01: 6 commits2026-01-02: 6 commits2026-01-03: 8 commits2026-01-04: 12 commits2026-01-05: 9 commits2026-01-06: 1 commit2026-01-07: 5 commits2026-01-08: 1 commit2026-01-09: 8 commits2026-01-10: 7 commits2026-01-11: 0 commits2026-01-12: 2 commits2026-01-13: 5 commits2026-01-14: 2 commits2026-01-15: 1 commit2026-01-16: 0 commits2026-01-17: 1 commit2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 4 commits2026-01-22: 3 commits2026-01-23: 5 commits2026-01-24: 1 commit2026-01-25: 9 commits2026-01-26: 4 commits2026-01-27: 4 commits2026-01-28: 8 commits2026-01-29: 0 commits2026-01-30: 1 commit2026-01-31: 1 commit2026-02-01: 1 commit2026-02-02: 2 commits2026-02-03: 2 commits2026-02-04: 34 commits2026-02-05: 59 commits2026-02-06: 67 commits2026-02-07: 23 commits2026-02-08: 0 commits2026-02-09: 11 commits2026-02-10: 10 commits2026-02-11: 20 commits2026-02-12: 18 commits2026-02-13: 7 commits2026-02-14: 4 commits2026-02-15: 5 commits2026-02-16: 43 commits2026-02-17: 6 commits2026-02-18: 10 commits2026-02-19: 3 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 17 commits2026-02-24: 3 commits2026-02-25: 12 commits2026-02-26: 2 commits2026-02-27: 3 commits2026-02-28: 0 commits2026-03-01: 0 commits2026-03-02: 0 commits2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 0 commits2026-03-06: 0 commits2026-03-07: 0 commits2026-03-08: 6 commits2026-03-09: 3 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 2 commits2026-03-13: 13 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 6 commits2026-03-17: 9 commits2026-03-18: 7 commits2026-03-19: 2 commits2026-03-20: 2 commits2026-03-21: 4 commits2026-03-22: 0 commits2026-03-23: 1 commit2026-03-24: 3 commits2026-03-25: 5 commits2026-03-26: 3 commits2026-03-27: 3 commits2026-03-28: 5 commits2026-03-29: 0 commits2026-03-30: 3 commits2026-03-31: 3 commits2026-04-01: 11 commits2026-04-02: 7 commits2026-04-03: 5 commits2026-04-04: 30 commits2026-04-05: 7 commits2026-04-06: 6 commits2026-04-07: 19 commits2026-04-08: 3 commits2026-04-09: 5 commits2026-04-10: 8 commits2026-04-11: 5 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 3 commits2026-04-15: 25 commits2026-04-16: 23 commits2026-04-17: 3 commits2026-04-18: 0 commits2026-04-19: 23 commits2026-04-20: 17 commits2026-04-21: 0 commits2026-04-22: 5 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 19 commits2026-04-26: 0 commits2026-04-27: 4 commits2026-04-28: 0 commits2026-04-29: 3 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 3 commits2026-05-03: 6 commits2026-05-04: 15 commits2026-05-05: 6 commits2026-05-06: 26 commits2026-05-07: 0 commits2026-05-08: 3 commits2026-05-09: 2 commits2026-05-10: 2 commits2026-05-11: 6 commits2026-05-12: 1 commit2026-05-13: 0 commits2026-05-14: 0 commits2026-05-15: 0 commits2026-05-16: 0 commits2026-05-17: 1 commit2026-05-18: 0 commits2026-05-19: 0 commits2026-05-20: 0 commits2026-05-21: 7 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 0 commits2026-05-27: 0 commits2026-05-28: 20 commits2026-05-29: 16 commits2026-05-30: 0 commits2026-05-31: 0 commits2026-06-01: 0 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 9 commits2026-06-06: 18 commits2026-06-07: 3 commits2026-06-08: 3 commits2026-06-09: 26 commits2026-06-10: 13 commits2026-06-11: 1 commit2026-06-12: 7 commits2026-06-13: 2 commits2026-06-14: 2 commits2026-06-15: 6 commits2026-06-16: 0 commits2026-06-17: 5 commits2026-06-18: 1 commit2026-06-19: 2 commits2026-06-20: 3 commits2026-06-21: 7 commits2026-06-22: 0 commits2026-06-23: 0 commits2026-06-24: 2 commits2026-06-25: 4 commits2026-06-26: 7 commits2026-06-27: 5 commits2026-06-28: 3 commits2026-06-29: 20 commits2026-06-30: 3 commits2026-07-01: 0 commits2026-07-02: 6 commits2026-07-03: 10 commits2026-07-04: 5 commits2026-07-05: 21 commits2026-07-06: 1 commit2026-07-07: 0 commits2026-07-08: 4 commits2026-07-09: 8 commits2026-07-10: 2 commits2026-07-11: 1 commit2026-07-12: 23 commits2026-07-13: 16 commits2026-07-14: 4 commits2026-07-15: 10 commits2026-07-16: 4 commits2026-07-17: 8 commits2026-07-18: 15 commits2026-07-19: 3 commits2026-07-20: 15 commits2026-07-21: 1 commit2026-07-22: 15 commits2026-07-23: 14 commits2026-07-24: 0 commits2026-07-25: 0 commits2026-07-26: 0 commits2026-07-27: 0 commits2026-07-28: 0 commits2026-07-29: 0 commits2026-07-30: 0 commits2026-07-31: 1 commit2026-08-01: 0 commits2026-08-02: 3 commits2026-08-03: 3 commits2026-08-04: 0 commits2026-08-05: 0 commits2026-08-06: 0 commits2026-08-07: 3 commits2026-08-08: 1 commit2026-08-09: 0 commits2026-08-10: 3 commits2026-08-11: 0 commits2026-08-12: 0 commits2026-08-13: 0 commits2026-08-14: 0 commits2026-08-15: 0 commits2026-08-16: 7 commits2026-08-17: 0 commits2026-08-18: 8 commits2026-08-19: 25 commits2026-08-20: 0 commits2026-08-21: 0 commits2026-08-22: 0 commits2026-08-23: 0 commits2026-08-24: 0 commits2026-08-25: 5 commits2026-08-26: 12 commits2026-08-27: 0 commits2026-08-28: 5 commits2026-08-29: 7 commits2026-08-30: 1 commit2026-08-31: 33 commits2026-09-01: 10 commits2026-09-02: 5 commits2026-09-03: 2 commits2026-09-04: 1 commit2026-09-05: 5 commits2026-09-06: 1 commit2026-09-07: 0 commits2026-09-08: 4 commits2026-09-09: 11 commits2026-09-10: 60 commits2026-09-11: 69 commits2026-09-12: 8 commits2026-09-13: 2 commits2026-09-14: 0 commits2026-09-15: 2 commits2026-09-16: 1 commit2026-09-17: 0 commits2026-09-18: 3 commits2026-09-19: 0 commits2026-09-20: 1 commit2026-09-21: 2 commits2026-09-22: 0 commits2026-09-23: 3 commits2026-09-24: 5 commits2026-09-25: 5 commits2026-09-26: 14 commits2026-09-27: 0 commits2026-09-28: 2 commits2026-09-29: 0 commits2026-09-30: 169 commits2026-10-01: 56 commits2026-10-02: 13 commits2026-10-03: 2 commits2026-10-04: 0 commits2026-10-05: 0 commits2026-10-06: 0 commits2026-10-07: 0 commits2026-10-08: 0 commits2026-10-09: 0 commits2026-10-10: 0 commits
2,660 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    96,035 stars

  • Very active

    2,660 commits in 52 weeks

  • Community-driven

    ~237 contributors

  • Permissive license

    Apache-2.0

  • Continuous integration

    Automated checks passing

  • Repeat trending

    23 trending appearances

  • Top 10% tracked

    Rank 77 of 1135

What claude-mem does

Claude-mem provides a structured, long-term memory layer specifically designed for applications utilizing Anthropic's Claude AI models and Claude Code. It acts as an intelligent intermediary that intercepts conversations, extracts key observations, tool usage, and critical context, and stores them in a persistent SQLite database. When new interactions or sessions occur, the system automatically retrieves relevant historical context via hybrid Chroma vector search and dynamically injects it into the prompt. This allows Claude to maintain deep continuity across multiple sessions and remember specific project details without constantly exhausting the context window.

AI developers and prompt engineers building deep applications around the Claude API who require robust, long-term context management.

  • Persistent Storage: Saves conversational context, tool observations, and architectural facts in a persistent database for cross-session retrieval.
  • Automated Fact Extraction: Uses AI to automatically parse complex conversations and actively identify key information to store long-term.
  • Dynamic Context Injection: Automatically retrieves semantically relevant memories and seamlessly injects them into the current active prompt.
  • Progressive Disclosure: Employs a token-efficient three-layer workflow to search, filter, and fetch observation details only when truly necessary.
  • Seamless Integration: Designed to sit cleanly between the application logic and the Anthropic API, functioning automatically as a background worker.

Where teams use it

Personalized Coding Assistants

Building a local coding assistant that reliably remembers user preferences for code formatting and preferred libraries across weeks of sessions.

Long-Term Project Management

Creating an AI agent that tracks complex project requirements and architectural decisions over extended periods of interaction seamlessly.

Contextual Search Tools

Allowing developers to query their own project's history using natural language through the integrated mem-search capability.

Interactive Storytelling

Developing text-based applications where the AI maintains perfectly consistent character lore and remembers complex player choices.

Getting started: npx claude-mem install

README

main branch

Vercel OSS Program     Greptile     SerpApi

🇨🇳 中文 • 🇹🇼 繁體中文 • 🇯🇵 日本語 • 🇵🇹 Português • 🇧🇷 Português • 🇰🇷 한국어 • 🇪🇸 Español • 🇩🇪 Deutsch • 🇫🇷 Français • 🇮🇱 עברית • 🇸🇦 العربية • 🇷🇺 Русский • 🇵🇱 Polski • 🇨🇿 Čeština • 🇳🇱 Nederlands • 🇹🇷 Türkçe • 🇺🇦 Українська • 🇻🇳 Tiếng Việt • 🇵🇭 Tagalog • 🇮🇩 Indonesia • 🇹🇭 ไทย • 🇮🇳 हिन्दी • 🇧🇩 বাংলা • 🇵🇰 اردو • 🇷🇴 Română • 🇸🇪 Svenska • 🇮🇹 Italiano • 🇬🇷 Ελληνικά • 🇭🇺 Magyar • 🇫🇮 Suomi • 🇩🇰 Dansk • 🇳🇴 Norsk

Persistent memory compression system built for Claude Code.

License Version Node Mentioned in Awesome Claude Code

thedotmack/claude-mem | Trendshift


Claude-Mem Preview Star History Chart

Quick Start • How It Works • Search Tools • Documentation • Configuration • Troubleshooting • License

Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.


Quick Start

Install claude-mem for Grok Bot:

npx claude-mem install --ide grok-bot

Grok Bot has no host hooks, so we watch the chat log files. Default is CMEM Pro, the hosted memory. Local observer is opt-in: --provider host. Installing this plugin does not install Cursor.

Awareness push pilot (LFG + Orifice): needle observations (decision, bugfix, security_alert, sensitive) are appended as dated - YYYY-MM-DD [awareness] … lines into that bot's memory/log/YYYY-MM.md. Grok Bot already re-reads the log from disk. This does not write profile.md, user-memory, or project memory. Disable with CLAUDE_MEM_GROK_BOT_AWARENESS_ENABLED=false.

Install with a single command:

npx claude-mem install

The installer sets everything up first, then asks you to sign in to claude-mem in your browser (email magic link — no card required). Signing in provisions a memory key for your account and unlocks the claude-mem observer: memory that runs off-plan, free for up to 14 days, so you get up to 100% more usage from your plan. When the free trial ends, memory automatically falls back to your Anthropic plan unless you subscribe. After sign-in you pick your memory provider — the claude-mem observer, your own OpenRouter or Gemini key, or your Anthropic plan.

Prefer to skip the sign-in? Pass an explicit --provider flag, set CLAUDE_MEM_ONLINE_OPTIN=false, or run in CI/non-interactive shells — the installer completes without any account interaction.

Or install for OpenCode:

npx claude-mem install --ide opencode

Or install for Antigravity CLI (setup guide):

npx claude-mem install --ide antigravity

Or install for OMP (Oh My Pi):

npx claude-mem install --ide omp

Or install from the plugin marketplace inside Claude Code:

/plugin marketplace add thedotmack/claude-mem

/plugin install claude-mem

Restart Claude Code. Context from previous sessions will automatically appear in new sessions.

Note: Claude-Mem is also published on npm, but npm install -g claude-mem installs the SDK/library only — it does not register the plugin hooks or set up the worker service. Always install via npx claude-mem install or the /plugin commands above.

🦞 OpenClaw Gateway

Install claude-mem as a persistent memory plugin on OpenClaw gateways with a single command:

curl -fsSL https://install.cmem.ai/openclaw.sh | bash

The installer handles dependencies, plugin setup, AI provider configuration, worker startup, and optional real-time observation feeds to Telegram, Discord, Slack, and more. See the OpenClaw Integration Guide for details.

Key Features:

  • 🧠 Persistent Memory - Context survives across sessions
  • 📊 Progressive Disclosure - Layered memory retrieval with token cost visibility
  • 🔍 Skill-Based Search - Query your project history with mem-search skill
  • 🖥️ Web Viewer UI - Real-time memory stream at the worker URL printed on startup
  • 💻 Claude Desktop Skill - Search memory from Claude Desktop conversations
  • 🔒 Privacy Control - Use <private> tags to exclude sensitive content from storage
  • ⚙️ Context Configuration - Fine-grained control over what context gets injected
  • 🤖 Automatic Operation - No manual intervention required
  • 🔗 Citations - Reference past observations with IDs through the worker API or view all in the web viewer

Documentation

📚 View Full Documentation - Browse on official website

Getting Started

  • Installation Guide - Quick start & advanced installation
  • Usage Guide - How Claude-Mem works automatically
  • Search Tools - Query your project history with natural language
  • Cloud Sync - Back up your memories to cmem.ai — no daemon, the worker syncs on write

Best Practices

Architecture

Configuration & Development


How It Works

Core Components:

  1. 5 Lifecycle Hooks - SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd (6 hook scripts)
  2. Smart Install - Cached dependency checker (pre-hook script, not a lifecycle hook)
  3. Worker Service - Local HTTP API with web viewer UI and search endpoints, managed by Bun
  4. SQLite Database - Stores sessions, observations, summaries
  5. mem-search Skill - Natural language queries with progressive disclosure
  6. Chroma Vector Database - Hybrid semantic + keyword search for intelligent context retrieval

See Architecture Overview for details.


MCP Search Tools

Claude-Mem provides intelligent memory search through 4 MCP tools following a token-efficient 3-layer workflow pattern:

The 3-Layer Workflow:

  1. search - Get compact index with IDs (~50-100 tokens/result)
  2. timeline - Get chronological context around interesting results
  3. get_observations - Fetch full details ONLY for filtered IDs (~500-1,000 tokens/result)

How It Works:

  • Claude uses MCP tools to search your memory
  • Start with search to get an index of results
  • Use timeline to see what was happening around specific observations
  • Use get_observations to fetch full details for relevant IDs
  • ~10x token savings by filtering before fetching details

Available MCP Tools:

  1. search - Search memory index with full-text queries, filters by type/date/project
  2. timeline - Get chronological context around a specific observation or query
  3. get_observations - Fetch full observation details by IDs (always batch multiple IDs)

Example Usage:

// Step 1: Search for index
search(query="authentication bug", type="bugfix", limit=10)

// Step 2: Review index, identify relevant IDs (e.g., #123, #456)

// Step 3: Fetch full details
get_observations(ids=[123, 456])

See Search Tools Guide for detailed examples.


Release Branches

Stable releases ship from main and are published to npm. core-dev and community-edge are source-run branches for early reliability fixes and community integrations. See Release Branches for the branch flow and non-stable run instructions.


System Requirements

  • Node.js: 20.0.0 or higher
  • Claude Code: Latest version with plugin support
  • Bun: JavaScript runtime and process manager (auto-installed if missing)
  • uv: Python package manager for vector search (auto-installed if missing)
  • SQLite 3: For persistent storage (bundled)

Windows Setup Notes

If you see an error like:

npm : The term 'npm' is not recognized as the name of a cmdlet

Make sure Node.js and npm are installed and added to your PATH. Download the latest Node.js installer from https://nodejs.org and restart your terminal after installation.


Configuration

Settings are managed in ~/.claude-mem/settings.json (auto-created with defaults on first run). Configure AI model, worker port, data directory, log level, and context injection settings.

To include observations from every harness in Claude Code and Codex SessionStart context, set "CLAUDE_MEM_SESSION_START_INCLUDE_ALL_SOURCES": "true" in that file, or enable Include all sources at session start in the viewer settings. The default is "false", which limits startup context to the current harness. The observation count limit still applies across the selected sources.

See the Configuration Guide for all available settings and examples.

Mode & Language Configuration

Claude-Mem supports multiple workflow modes and languages via the CLAUDE_MEM_MODE setting.

This option controls both:

  • The workflow behavior (e.g. code, chill, investigation)
  • The language used in generated observations
How to Configure

Edit your settings file at ~/.claude-mem/settings.json:

{
  "CLAUDE_MEM_MODE": "code--zh"
}

Modes are defined in plugin/modes/. To see all available modes locally:

ls ~/.claude/plugins/marketplaces/thedotmack/plugin/modes/
Available Modes
Mode Description
code Default English mode
code--zh Simplified Chinese mode
code--ja Japanese mode

Language-specific modes follow the pattern code--[lang] where [lang] is the ISO 639-1 language code (e.g., zh for Chinese, ja for Japanese, es for Spanish).

Note: code--zh (Simplified Chinese) is already built-in — no additional installation or plugin update is required.

After Changing Mode

Restart Claude Code to apply the new mode configuration.

Development

See the Development Guide for build instructions, testing, and contribution workflow.


Troubleshooting

If experiencing issues, describe the problem to Claude and the troubleshoot skill will automatically diagnose and provide fixes.

See the Troubleshooting Guide for common issues and solutions.


Bug Reports

Create comprehensive bug reports with the automated generator:

cd ~/.claude/plugins/marketplaces/thedotmack
npm run bug-report

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Update documentation
  5. Submit a Pull Request

Claude-Mem ships from three branches: main (stable), core-dev, and community-edge. Only main is published to npm; the others are run from source. See Release Branches for the strategy and local run instructions.

See Development Guide for contribution workflow.


License

Claude-Mem is licensed under the Apache License 2.0.

We chose Apache-2.0 because durable agentic memory should be easy to embed in developer tools, local agents, MCP servers, enterprise systems, robotics stacks, and production agent harnesses.

See the LICENSE file for full details. See docs/license.md and docs/ip-boundary.md for licensing scope and the open/commercial boundary.

Note on Ragtime: The ragtime/ directory is licensed under the Apache License 2.0. See ragtime/LICENSE for details.


Support


Built with Claude Agent SDK | Works with Claude Code | Made with TypeScript


What About CMEM?

CMEM is a token created by a 3rd party but officially embraced by the creator of Claude-Mem (Alex Newman, @thedotmack). The token acts as a community catalyst for growth and a vehicle for bringing CMEM to the developers and knowledge workers that need it most.

Official BASE CA: 0x76b1967eec0ccaeb001bbbb2b40dc4badba31ba3

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

351 total
  1. v13.29.0v13.29.0Oct 3, 2026

    ## The agent keeps its to-do list in claude-mem Every session now opens with a work-state section ahead of memory: a rule telling the agent to use claude-mem's `work_state_write` and `work_state_read` tools as its canonical to-do list, then whatever is still open in the project. Claude Code gives Claude 5 models no native to-do tool, so until now nothing recorded what was in progress or what was left when a session ended. The rest of the release adds an `openai-compatible` provider with presets, a Codex subscription provider, Kimi Code and Oh My Pi support, an opt-in quota fallback, and fixes across capture, search, the worker and Windows. Several defaults changed; see **Upgrade notes**. ### Work state - **Two MCP tools.** `work_state_write` appends one entry to a named list (fields capped at 2,000 characters as JSON) and replies with what is still open in that list. `work_state_read` returns every open item, or one list, and adds done and dropped items when `includeClosed` is true. (#4340) - **Lists, items and state.** An entry with a `task` field is a to-do item with a `status` of `todo`, `doing`, `done` or `dropped`; any other field is state on the list. The latest value of e

  2. v13.28.0v13.28.0Sep 26, 2026

    ## Non-interactive installs now finish, and capture the signup `npx claude-mem install` run without a TTY (an AI agent, CI, a script) used to stop on "provider must be explicit". It now completes on its own and still gives the user a way to sign in afterwards. ### Installer - **Provider resolves instead of aborting.** A fresh non-interactive install with no `--provider` defaults to your Anthropic plan (local memory). An existing config keeps its saved provider, so `npx claude-mem update` never flips a CMEM Pro install to something else. - **Saved personal providers are validated, not assumed.** A kept `gemini` / `openrouter` provider needs a usable key: saved in `~/.claude-mem/settings.json`, or exported in the environment. A saved CMEM gateway config still requires its saved key, because the worker locks that tuple to the key on disk (an exported replacement base URL and key together are accepted). - **Deferred sign-in link.** Every non-interactive install that skipped sign-in prints an optional sign-in link as its last line, after the success line, so an agent relaying the output can show it to the user. It is best-effort, never changes the exit status, and is skipped when `CI

  3. v13.27.1v13.27.1Sep 26, 2026

    ## Fixes - **Grok Bot live INDEX lists the seat's own rows first** (#4240). Each seat's 80-row `zz-claude-mem-inject.md` now lists that seat's project rows before any house-wide rows; house rows only fill the remaining slots, and the house query is skipped when the seat fills the window. - **Seat self-saves show up in the INDEX.** Rows saved through `POST /api/memory/save` (for example Grok Bot `grok-seat-save`) were excluded by the concept filter; the seat query now includes them, and a successful manual save triggers an INDEX refresh. ## Also in this range - Agent cost report: read-only GitHub merged-PR wins source (#4241).

  4. v13.27.0v13.27.0Sep 26, 2026

    ## Agent Cost Report — weekly rebuild The `agent-cost-report` skill is rebuilt around measured data (#4238): - **Dollars from transcripts.** Claude Code and Codex transcript tokens priced at OpenRouter list prices, labeled ESTIMATED; note-taker (observer) cost priced separately and never added to the headline; measured provider spend only from a sanctioned source (OpenRouter per-key snapshot, shown with its UTC bucket label); "unavailable" is never shown as $0. - **Default window** is the last 7 full days in PT, today excluded; single-session and project scopes supported. - **Timing-style report.** Self-contained `report.html` (no script, no external resources) plus PDF, `report.json`, `line-items.csv`, `evidence.json`: hero, Wins vs mistakes with two timelines on one day axis, cost ribbon, donut, day chart, useful ring, folded Details. - **Behavior metrics.** A human/bot tagger on every user turn, frustration episodes, the Frustration Arc patterns P1–P12 plus tool errors and hedging, a low same-session mistakes line (upper bound in Details only), rule effectiveness, and a 70% spot-check gate for summary tiles. Optional classifier, off by default, capped at $2.00. - **Gaps stay h

  5. v13.26.1v13.26.1Sep 26, 2026

    ## Cloud sync fixes (CMEM Pro) - **Lapsed trial or revoked token no longer retries forever.** When the sync server answers 401/403, claude-mem pauses cloud sync, re-checks once an hour, and resumes on its own after a renewal. Status explains the cause: renew at cmem.ai/pro (subscription inactive) or reconnect at cmem.ai → Connect (token no longer valid). - **Sync failures are no longer silent.** A paused or long-failing sync now shows one plain-language line in the SessionStart context, and `/api/sync/status` gains `authError` and `health`. HTML error pages are summarized instead of dumped. - **#4228:** installs with cloud sync off clear the leftover `sync_outbox` backlog on worker start. - **#4086:** one op the sync server keeps rejecting (e.g. `revision_hash_conflict`) is quarantined after 3 attempts so the rest of the queue keeps uploading. PR: #4236

Code frequency

additions and deletions
+142.5K-142.5KWeek of 2025-09-28: +13,210 linesWeek of 2025-09-28: -15,541 linesWeek of 2025-10-05: +70 linesWeek of 2025-10-05: -72 linesWeek of 2025-10-12: +40,797 linesWeek of 2025-10-12: -31,495 linesWeek of 2025-10-19: +27,392 linesWeek of 2025-10-19: -20,053 linesWeek of 2025-10-26: +6,801 linesWeek of 2025-10-26: -2,019 linesWeek of 2025-11-02: +28,241 linesWeek of 2025-11-02: -12,650 linesWeek of 2025-11-09: +46,828 linesWeek of 2025-11-09: -30,881 linesWeek of 2025-11-16: +6,331 linesWeek of 2025-11-16: -2,867 linesWeek of 2025-11-23: +1,775 linesWeek of 2025-11-23: -22,617 linesWeek of 2025-11-30: +18,781 linesWeek of 2025-11-30: -11,387 linesWeek of 2025-12-07: +30,502 linesWeek of 2025-12-07: -23,590 linesWeek of 2025-12-14: +16,212 linesWeek of 2025-12-14: -15,511 linesWeek of 2025-12-21: +26,498 linesWeek of 2025-12-21: -16,064 linesWeek of 2025-12-28: +45,047 linesWeek of 2025-12-28: -23,393 linesWeek of 2026-01-04: +35,822 linesWeek of 2026-01-04: -14,680 linesWeek of 2026-01-11: +2,821 linesWeek of 2026-01-11: -967 linesWeek of 2026-01-18: +1,741 linesWeek of 2026-01-18: -1,123 linesWeek of 2026-01-25: +2,110 linesWeek of 2026-01-25: -914 linesWeek of 2026-02-01: +12,756 linesWeek of 2026-02-01: -6,833 linesWeek of 2026-02-08: +12,493 linesWeek of 2026-02-08: -10,487 linesWeek of 2026-02-15: +11,402 linesWeek of 2026-02-15: -3,684 linesWeek of 2026-02-22: +13,557 linesWeek of 2026-02-22: -8,978 linesWeek of 2026-03-01: +0 linesWeek of 2026-03-01: -0 linesWeek of 2026-03-08: +3,706 linesWeek of 2026-03-08: -2,725 linesWeek of 2026-03-15: +77,941 linesWeek of 2026-03-15: -142,549 linesWeek of 2026-03-22: +5,001 linesWeek of 2026-03-22: -1,454 linesWeek of 2026-03-29: +12,859 linesWeek of 2026-03-29: -5,388 linesWeek of 2026-04-05: +9,684 linesWeek of 2026-04-05: -5,411 linesWeek of 2026-04-12: +7,337 linesWeek of 2026-04-12: -4,725 linesWeek of 2026-04-19: +41,018 linesWeek of 2026-04-19: -20,701 linesWeek of 2026-04-26: +10,558 linesWeek of 2026-04-26: -24,497 linesWeek of 2026-05-03: +51,151 linesWeek of 2026-05-03: -37,076 linesWeek of 2026-05-10: +19,654 linesWeek of 2026-05-10: -1,485 linesWeek of 2026-05-17: +2,294 linesWeek of 2026-05-17: -1,035 linesWeek of 2026-05-24: +30,497 linesWeek of 2026-05-24: -31,545 linesWeek of 2026-05-31: +4,330 linesWeek of 2026-05-31: -766 linesWeek of 2026-06-07: +17,124 linesWeek of 2026-06-07: -6,629 linesWeek of 2026-06-14: +5,615 linesWeek of 2026-06-14: -1,933 linesWeek of 2026-06-21: +10,084 linesWeek of 2026-06-21: -16,066 linesWeek of 2026-06-28: +23,414 linesWeek of 2026-06-28: -38,932 linesWeek of 2026-07-05: +16,748 linesWeek of 2026-07-05: -8,260 linesWeek of 2026-07-12: +32,636 linesWeek of 2026-07-12: -6,899 linesWeek of 2026-07-19: +24,295 linesWeek of 2026-07-19: -20,971 linesWeek of 2026-07-26: +219 linesWeek of 2026-07-26: -8 linesWeek of 2026-08-02: +3,628 linesWeek of 2026-08-02: -2,083 linesWeek of 2026-08-09: +568 linesWeek of 2026-08-09: -129 linesWeek of 2026-08-16: +18,889 linesWeek of 2026-08-16: -7,088 linesWeek of 2026-08-23: +7,747 linesWeek of 2026-08-23: -3,174 linesWeek of 2026-08-30: +15,462 linesWeek of 2026-08-30: -6,017 linesWeek of 2026-09-06: +55,462 linesWeek of 2026-09-06: -11,015 linesWeek of 2026-09-13: +8,884 linesWeek of 2026-09-13: -4,340 linesWeek of 2026-09-20: +977 linesWeek of 2026-09-20: -425 linesSep 28, 2025Sep 20, 2026
+919K lines added, -689.1K removed over the last year.

Commits per week

last 52 weeks
2420Week of 2025-10-12: 58 commitsWeek of 2025-10-19: 128 commitsWeek of 2025-10-26: 26 commitsWeek of 2025-11-02: 67 commitsWeek of 2025-11-09: 48 commitsWeek of 2025-11-16: 42 commitsWeek of 2025-11-23: 16 commitsWeek of 2025-11-30: 50 commitsWeek of 2025-12-07: 155 commitsWeek of 2025-12-14: 105 commitsWeek of 2025-12-21: 94 commitsWeek of 2025-12-28: 79 commitsWeek of 2026-01-04: 43 commitsWeek of 2026-01-11: 11 commitsWeek of 2026-01-18: 13 commitsWeek of 2026-01-25: 27 commitsWeek of 2026-02-01: 188 commitsWeek of 2026-02-08: 70 commitsWeek of 2026-02-15: 67 commitsWeek of 2026-02-22: 37 commitsWeek of 2026-03-01: 0 commitsWeek of 2026-03-08: 24 commitsWeek of 2026-03-15: 30 commitsWeek of 2026-03-22: 20 commitsWeek of 2026-03-29: 59 commitsWeek of 2026-04-05: 53 commitsWeek of 2026-04-12: 54 commitsWeek of 2026-04-19: 64 commitsWeek of 2026-04-26: 10 commitsWeek of 2026-05-03: 58 commitsWeek of 2026-05-10: 9 commitsWeek of 2026-05-17: 8 commitsWeek of 2026-05-24: 36 commitsWeek of 2026-05-31: 27 commitsWeek of 2026-06-07: 55 commitsWeek of 2026-06-14: 19 commitsWeek of 2026-06-21: 25 commitsWeek of 2026-06-28: 47 commitsWeek of 2026-07-05: 37 commitsWeek of 2026-07-12: 80 commitsWeek of 2026-07-19: 48 commitsWeek of 2026-07-26: 1 commitsWeek of 2026-08-02: 10 commitsWeek of 2026-08-09: 3 commitsWeek of 2026-08-16: 40 commitsWeek of 2026-08-23: 29 commitsWeek of 2026-08-30: 57 commitsWeek of 2026-09-06: 153 commitsWeek of 2026-09-13: 8 commitsWeek of 2026-09-20: 30 commitsWeek of 2026-09-27: 242 commitsWeek of 2026-10-04: 0 commitsOct 12, 2025Oct 4, 2026
2.7K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 26 commitsSun 1:00 — 9 commitsSun 2:00 — 11 commitsSun 3:00 — 1 commitsSun 4:00 — 0 commitsSun 5:00 — 0 commitsSun 6:00 — 1 commitsSun 7:00 — 0 commitsSun 8:00 — 0 commitsSun 9:00 — 0 commitsSun 10:00 — 5 commitsSun 11:00 — 5 commitsSun 12:00 — 13 commitsSun 13:00 — 11 commitsSun 14:00 — 20 commitsSun 15:00 — 22 commitsSun 16:00 — 28 commitsSun 17:00 — 14 commitsSun 18:00 — 13 commitsSun 19:00 — 12 commitsSun 20:00 — 18 commitsSun 21:00 — 19 commitsSun 22:00 — 34 commitsSun 23:00 — 25 commitsMon 0:00 — 29 commitsMon 1:00 — 6 commitsMon 2:00 — 1 commitsMon 3:00 — 10 commitsMon 4:00 — 3 commitsMon 5:00 — 7 commitsMon 6:00 — 5 commitsMon 7:00 — 2 commitsMon 8:00 — 1 commitsMon 9:00 — 3 commitsMon 10:00 — 4 commitsMon 11:00 — 20 commitsMon 12:00 — 19 commitsMon 13:00 — 33 commitsMon 14:00 — 27 commitsMon 15:00 — 25 commitsMon 16:00 — 20 commitsMon 17:00 — 15 commitsMon 18:00 — 28 commitsMon 19:00 — 46 commitsMon 20:00 — 22 commitsMon 21:00 — 17 commitsMon 22:00 — 31 commitsMon 23:00 — 11 commitsTue 0:00 — 7 commitsTue 1:00 — 10 commitsTue 2:00 — 5 commitsTue 3:00 — 0 commitsTue 4:00 — 3 commitsTue 5:00 — 2 commitsTue 6:00 — 2 commitsTue 7:00 — 0 commitsTue 8:00 — 2 commitsTue 9:00 — 2 commitsTue 10:00 — 3 commitsTue 11:00 — 6 commitsTue 12:00 — 7 commitsTue 13:00 — 13 commitsTue 14:00 — 32 commitsTue 15:00 — 20 commitsTue 16:00 — 34 commitsTue 17:00 — 23 commitsTue 18:00 — 16 commitsTue 19:00 — 13 commitsTue 20:00 — 16 commitsTue 21:00 — 16 commitsTue 22:00 — 31 commitsTue 23:00 — 29 commitsWed 0:00 — 14 commitsWed 1:00 — 13 commitsWed 2:00 — 31 commitsWed 3:00 — 27 commitsWed 4:00 — 8 commitsWed 5:00 — 6 commitsWed 6:00 — 14 commitsWed 7:00 — 3 commitsWed 8:00 — 0 commitsWed 9:00 — 11 commitsWed 10:00 — 7 commitsWed 11:00 — 11 commitsWed 12:00 — 13 commitsWed 13:00 — 20 commitsWed 14:00 — 40 commitsWed 15:00 — 35 commitsWed 16:00 — 43 commitsWed 17:00 — 51 commitsWed 18:00 — 43 commitsWed 19:00 — 42 commitsWed 20:00 — 35 commitsWed 21:00 — 41 commitsWed 22:00 — 29 commitsWed 23:00 — 10 commitsThu 0:00 — 11 commitsThu 1:00 — 12 commitsThu 2:00 — 6 commitsThu 3:00 — 7 commitsThu 4:00 — 11 commitsThu 5:00 — 10 commitsThu 6:00 — 7 commitsThu 7:00 — 7 commitsThu 8:00 — 1 commitsThu 9:00 — 9 commitsThu 10:00 — 10 commitsThu 11:00 — 10 commitsThu 12:00 — 12 commitsThu 13:00 — 15 commitsThu 14:00 — 22 commitsThu 15:00 — 25 commitsThu 16:00 — 8 commitsThu 17:00 — 24 commitsThu 18:00 — 66 commitsThu 19:00 — 22 commitsThu 20:00 — 32 commitsThu 21:00 — 24 commitsThu 22:00 — 25 commitsThu 23:00 — 37 commitsFri 0:00 — 23 commitsFri 1:00 — 31 commitsFri 2:00 — 42 commitsFri 3:00 — 27 commitsFri 4:00 — 5 commitsFri 5:00 — 13 commitsFri 6:00 — 3 commitsFri 7:00 — 1 commitsFri 8:00 — 4 commitsFri 9:00 — 7 commitsFri 10:00 — 14 commitsFri 11:00 — 25 commitsFri 12:00 — 8 commitsFri 13:00 — 7 commitsFri 14:00 — 17 commitsFri 15:00 — 23 commitsFri 16:00 — 11 commitsFri 17:00 — 13 commitsFri 18:00 — 16 commitsFri 19:00 — 17 commitsFri 20:00 — 20 commitsFri 21:00 — 33 commitsFri 22:00 — 36 commitsFri 23:00 — 30 commitsSat 0:00 — 9 commitsSat 1:00 — 9 commitsSat 2:00 — 6 commitsSat 3:00 — 13 commitsSat 4:00 — 10 commitsSat 5:00 — 6 commitsSat 6:00 — 10 commitsSat 7:00 — 2 commitsSat 8:00 — 8 commitsSat 9:00 — 4 commitsSat 10:00 — 3 commitsSat 11:00 — 7 commitsSat 12:00 — 1 commitsSat 13:00 — 10 commitsSat 14:00 — 32 commitsSat 15:00 — 11 commitsSat 16:00 — 21 commitsSat 17:00 — 33 commitsSat 18:00 — 25 commitsSat 19:00 — 38 commitsSat 20:00 — 25 commitsSat 21:00 — 34 commitsSat 22:00 — 11 commitsSat 23:00 — 26 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits2,252 (77%)
Community commits689 (23%)

2,941 commits in total over the last year.

DateListRankStars gained
Apr 30, 2026daily#25+40
Apr 21, 2026daily#10+122
Apr 20, 2026daily#14+151
Apr 19, 2026daily#14+215
Apr 18, 2026daily#8+276
Apr 17, 2026daily#4+308
Apr 16, 2026daily#6+214
Apr 15, 2026daily#5+283
Apr 14, 2026daily#4+313
Apr 13, 2026daily#4+399
Apr 12, 2026daily#8+469
Mar 30, 2026daily#20+109
Mar 17, 2026daily#20+167
Mar 16, 2026daily#18+137
Feb 10, 2026daily#16+176
  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    456.7K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    391.3K stars · TypeScript

  • obra/superpowers

    An agentic skills framework & software development methodology that works.

    295.2K stars · Shell

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    272.8K stars · JavaScript

  • NousResearch/hermes-agent

    The agent that grows with you

    251.2K stars · Python

  • anomalyco/opencode

    The open source coding agent.

    211.7K stars · TypeScript