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 AP

Quick Start

Install with a single command: `bash npx claude-mem install ` Or install for Gemini CLI (auto-detects ~/.gemini): `bash npx claude-mem install --ide gemini-cli ` Or install for OpenCode: `bash npx claude-mem install --ide opencode ` Or install from the plugin marketplace inside Claude Code: `bash /plugin marketplace add thedotmack/claude-mem /plugin install claude-mem ` Restart Claude Code or Gemini CLI. 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: `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 1mo ago
Active
Adoption1K+ stars on GitHub
65.0k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars65.0k
Forks5.5k
Issues123
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code