engineering / skill
Claude-Mem
Keep context across coding sessions by capturing tool usage, summarizing it and making it available to future sessions.
At a glance
- Purpose
- Keep context across coding sessions by capturing tool usage, summarizing it and making it available to future sessions.
- Runs in
- Chat app with skills, Local agent with shell, MCP server, Web service
- Operating systems
- Not stated
- Needs
- Runtime: Node.js 20.0.0+, Bun, uv and SQLite 3; Needs internet: Not stated; Needs accounts or API keys beyond your agent: Not stated
- Files and data
- Reads files: Yes; Writes files: Yes; Sends data to other services: Yes
- Tool type
- Skill
- Delivery
- From GitHub
- Version
- Latest on the main branch
- Access
- Code on GitHub
- Compatibility
- According to the README, it works with Claude Code and offers installs for OpenCode (1.3.4 or later, including OpenCode 2), T3 Code with Codex and Claude Code providers, Antigravity CLI, OMP (Oh My Pi), Pi, DeepSeek Harness, Grok Bot and OpenClaw gateways. The GitHub description also names Codex, Gemini, Hermes and Copilot.
- External costs
- The repository is Apache-2.0-licensed. According to the README, the default install offers a 30 day free trial of the claude-mem observer, after which memory falls back to your Anthropic plan unless you subscribe. You can instead use your own OpenRouter or Gemini key, or your Anthropic plan. The README also describes a cloud sync, and says the Grok Bot install defaults to CMEM Pro, a hosted memory service, with a local observer as an opt-in; it states no prices. Your coding agent or model provider may charge for usage.
- Permissions
- The software acts through your coding agent with the access you give it. According to the README, it installs lifecycle hooks that capture tool usage, runs a local worker service with an HTTP API and a web viewer managed by Bun, stores data in SQLite and a Chroma vector database, and keeps settings in ~/.claude-mem/settings.json. The README says Bun and uv are installed automatically if missing. For Grok Bot it says the plugin watches chat log files and appends some observations to that bot's memory log, which you can disable. The OpenClaw route is a one-line installer that pipes a downloaded script to bash. The README says private tags exclude content from storage.
- Usage terms
- Apache License 2.0, as stated in the repository. See its LICENSE file for the exact terms. The README also points to docs/license.md and docs/ip-boundary.md for licensing scope and what it calls the open/commercial boundary.
Code on GitHub
thedotmack/claude-mem
Apache-2.0Persistent 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
Topics: ai ai-agents ai-memory anthropic artificial-intelligence chromadb claude claude-agent-sdk
Public GitHub data fetched · 0 days old
Skill folders in this repository (37)
Folders that contain a SKILL.md file, from GitHub's file list on .
claude-mem-cursor/skills/agent-cost-reportclaude-mem-cursor/skills/installclaude-mem-cursor/skills/mem-searchclaude-mem-grok-bot/skills/agent-cost-reportclaude-mem-grok-bot/skills/host-observerclaude-mem-grok-bot/skills/installclaude-mem-grok-bot/skills/mem-searchcowork/skills/agent-cost-reportcowork/skills/mem-searchcowork/skills/mem-setupopenclawopenclaw/skills/agent-cost-reportopenclaw/skills/doopenclaw/skills/make-planplugin/skills/agent-cost-reportplugin/skills/babysitplugin/skills/ccs-alignplugin/skills/cloud-syncplugin/skills/design-isplugin/skills/doplugin/skills/handoffplugin/skills/how-it-worksplugin/skills/knowledge-agentplugin/skills/learn-codebaseplugin/skills/make-planplugin/skills/mem-searchplugin/skills/mode-creatorplugin/skills/oh-my-issuesplugin/skills/pathfinderplugin/skills/screenpipeplugin/skills/smart-exploreplugin/skills/standupplugin/skills/timeline-reportplugin/skills/version-bumpplugin/skills/weekly-digestsplugin/skills/what-theplugin/skills/wowerpoint
What it does
Claude-Mem is a persistent memory system for Claude Code. According to the README, it automatically captures tool usage observations, generates semantic summaries and makes them available to future sessions, so the agent keeps knowledge of a project after a session ends or reconnects.The README lists these parts: five lifecycle hooks, a local worker service with a web viewer and search endpoints, a SQLite database for sessions, observations and summaries, a mem-search skill for natural language queries, and a Chroma vector database for hybrid semantic and keyword search. It describes MCP search tools used in three steps: search returns a compact index, timeline gives context around a result, and get_observations fetches full details.
The repository also holds installers and plugins for other hosts. The skill folders sit under plugin, claude-mem-cursor, claude-mem-grok-bot, cowork and openclaw, and include mem-search, make-plan, do, handoff, standup and smart-explore.
Who it is for
Developers who use Claude Code or another supported coding agent and want it to remember earlier sessions.Example tasks
Install Claude-Mem so context from earlier sessions appears in new sessions.Search your project history with the mem-search skill.
Fetch full details for chosen observations with get_observations.
Use private tags, which the README says exclude sensitive content from storage.
Set CLAUDE_MEM_MODE to change the workflow mode or the language of generated observations.