Skip to content
Plugin

Claude Memory Plugin

by thedotmack

AI Summary

<a href="https://github.com/thedotmack/claude-mem"> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/thedotmack/claude-mem/main/docs/public/claude-mem-logo-for-dark-mode.webp"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.c

Install

Type these inside Claude Code's chat:

/plugin install claude-mem@claude-mem

Description

Persistent memory system for Claude Code. Stores and retrieves context across sessions so Claude remembers your preferences, project details, and past decisions.

How It Works

Core Components: • 5 Lifecycle Hooks - SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd (6 hook scripts) • Smart Install - Cached dependency checker (pre-hook script, not a lifecycle hook) • Worker Service - HTTP API on port 37777 with web viewer UI and 10 search endpoints, managed by Bun • SQLite Database - Stores sessions, observations, summaries • mem-search Skill - Natural language queries with progressive disclosure • Chroma Vector Database - Hybrid semantic + keyword search for intelligent context retrieval See [Architecture Overview](https://docs.claude-

Quick Start

Start a new Claude Code session in the terminal and enter the following commands: ` /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. To use Claude-Mem as a plugin, always install via the /plugin commands above.

🦞 OpenClaw Gateway

Install claude-mem as a persistent memory plugin on OpenClaw gateways with a single command: `bash 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 http://localhost:37777 • 💻 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 (access via http://localhost:37777/api/observation/{id} or view all in the web viewer at http://localhost:37777) • 🧪 Beta Channel - Try experimental features like Endless Mode via version switching ---

Documentation

📚 View Full Documentation - Browse on official website

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2d ago
Active
Adoption1K+ stars on GitHub
44.9k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars44.9k
Forks3.4k
Issues237
Updated2d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code