Vine

โ† Back
Skills

claude-mem

Automatic cross-session memory โ€” no more amnesia after /clear.

Automatic cross-session memory โ€” no more amnesia after /clear.

What it is

Claude Code forgets everything after /clear. claude-mem fixes that: it auto-saves what happens in sessions, compresses it with AI, and injects the relevant context into new sessions. SQLite + vector DB running in the background โ€” you don't notice anything except Claude actually remembering your project.

Install / Setup

Repo: github.com/thedotmack/claude-mem

Option 1 โ€” Plugin marketplace:

/plugins

Search for "claude-mem" and activate it.

Option 2 โ€” Prompt Claude Code:

Install claude-mem from https://github.com/thedotmack/claude-mem following the README. If it's available in the plugin marketplace, use that path. At the end show me how to verify it's running.

How it works

  • Auto-saves session content
  • Compresses with AI โ€” only the relevant stuff sticks
  • Auto-injects into new sessions
  • SQLite + Chroma vector DB under the hood

Liking this?

Inside the community I show you how I run all of this day-to-day โ€” live sessions, direct feedback on your setup, and my full configs.

Use cases

  • Long project over weeks โ€” /clear every time without losing memory.
  • Context reset after overload โ€” Session gets slow โ†’ /clear โ†’ claude-mem reloads what matters.
  • Multiple projects in parallel โ€” Switching projects, Claude remembers where you left off.
  • Debugging with history โ€” Same issue as last week? claude-mem pulls the fix automatically.

Pro tip

claude-mem is strong, but it also drags in noise if you've got a lot of projects running. For clean separation: per-project CLAUDE.md + per-project .planning/ (e.g. via GSD) instead of dumping everything into global memory.


๐Ÿš€ Installing skills is step one. Knowing which ones to use when โ€” that's the real edge. In the community I show you my full skill setup and how I use it every day. โ†’ Join the Claude Code Mastery Community

Updated regularly โ€” follow @vine.codes for more.

Want more?

Learn it straight from me.