Skip to content
Back to skills

Claude Mem

ASecurity

Persistent AI memory across Claude Code sessions — semantic search, auto-capture, knowledge compounding. Use when the user says 'remember this', 'search memory', 'what do we know about', 'install memory'.

  • 6 stars
  • 0 votes
  • 3 copies
  • 10 views
  • Added May 27, 2026
data-aibashsqlgit

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add KevinZai/commander --skill claude-mem --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Mem?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Mem
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kevinzai-claude-mem/badge)](https://www.skillsdirectory.com/skills/kevinzai-claude-mem)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-mem
description: "Persistent AI memory across Claude Code sessions — semantic search, auto-capture, knowledge compounding. Use when the user says 'remember this', 'search memory', 'what do we know about', 'install memory'."
allowed-tools:
  - Bash
  - Read
  - Write
---

# Claude-Mem — Persistent AI Memory

Cross-session memory powered by SQLite + Chroma vector DB. Automatically captures tool usage, compresses observations into facts, and injects relevant context in future sessions.

## Install

```bash
npx claude-mem install
```

This configures 6 lifecycle hooks (SessionStart, PostToolUse, Stop, etc.) and an MCP server.

## Usage

After install, memory works automatically:
- **Auto-capture:** Every tool use is observed and compressed
- **Auto-inject:** Relevant past context injected at session start
- **Search:** `claude-mem search "auth patterns"` — semantic + keyword hybrid
- **Web UI:** http://localhost:37777 — browse all memories

## Commands

```bash
claude-mem search "topic"     # Search memories
claude-mem stats              # Memory statistics
claude-mem export             # Export as JSON
claude-mem web                # Open web viewer
```

## Integration with CC Commander

claude-mem complements CCC's built-in knowledge compounding:
- **CCC knowledge:** Task-level lessons (what worked, what failed, cost)
- **claude-mem:** Observation-level memory (every tool use, code patterns, architecture decisions)

Together they provide two layers of learning — strategic (CCC) and tactical (claude-mem).

## License

AGPL-3.0. Included as a git submodule — no code derivation. See docs/LICENSES-VENDORS.md.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.