claude-mem

Installation
SKILL.md

Claude Code Persistent Memory

Overview

Claude Code forgets everything between sessions. Two open-source tools solve this by automatically capturing context and injecting it into future sessions:

  • claude-mem — captures session activity, compresses it with AI, injects relevant memories on next session. Lightweight, local-first.
  • Claude Subconscious — a background Letta agent that watches sessions, builds up memory over time, and whispers guidance back. Cloud or self-hosted.

Both eliminate the need to re-explain context when returning to a project.

Instructions

Option A: claude-mem (Local AI Compression)

GitHub: thedotmack/claude-mem

Setup

Related skills
Installs
2
GitHub Stars
47
First Seen
Apr 16, 2026