Skip to content

Releases: 0xtechdean/claude-code-mem0

v0.3.1 - Auto-Save Fix

23 Dec 13:01

Choose a tag to compare

Bug Fix

Auto-Save Now Works Correctly

Fixed an issue where the auto-save feature wasn't completing because daemon threads exit when the main script exits.

The fix: Wait up to 2 seconds for the save request to complete before exiting.

What's Working

  • Every prompt is now saved to mem0
  • Memories are extracted asynchronously (15-30 sec delay)
  • Claude learns continuously from all conversations

Full Changelog: v0.3.0...v0.3.1

v0.3.0 - Auto-Save Every Prompt

23 Dec 12:55

Choose a tag to compare

What's New

Auto-Save Every Prompt

Every user prompt is now automatically saved to mem0 in the background. Claude continuously learns from your conversations without any action needed.

Enabled by default - set MEM0_AUTO_SAVE=false to disable.

How It Works

  1. You send a prompt → memories retrieved (as before)
  2. Background thread saves your prompt to mem0
  3. mem0 extracts key facts asynchronously
  4. Next session benefits from accumulated context

Changes

  • Modified userpromptsubmit.py to save prompts in background thread
  • Added MEM0_AUTO_SAVE config option
  • Updated .env.example with all options
  • Updated documentation

Configuration

# Disable auto-save if needed
MEM0_AUTO_SAVE=false

Full Changelog: v0.2.0...v0.3.0

v0.2.0 - Manual Save Command

23 Dec 12:51

Choose a tag to compare

What's New

/mem0:save Command

Manually save memories mid-session without exiting Claude Code.

/mem0:save

Claude will review your conversation and save key facts to mem0.

Changes

  • Added commands/save.md - new /mem0:save command
  • Added hooks/save_manual.py - programmatic memory saving script
  • Updated documentation

Full Changelog

Features:

  • /mem0:save - Save memories without ending session
  • Programmatic API via save_manual.py

Fixes:

  • Updated README with new command docs
  • Better plugin structure documentation

See README for full usage.

v0.1.0 - Initial Release

23 Dec 11:33

Choose a tag to compare

mem0 Plugin for Claude Code

Persistent memory for Claude Code using mem0.ai - remembers context across conversations.

Features

  • Automatic Memory Retrieval: Relevant memories are searched and injected before each prompt
  • Conversation Storage: Conversations are automatically saved to mem0 when sessions end
  • Semantic Search: Vector-based search for intelligent memory retrieval
  • User Scoping: Memories are scoped by user ID for personalized experiences

Installation

Add to your ~/.claude/settings.json:

{
  "plugins": [
    "github:0xtechdean/claude-code-mem0"
  ]
}

Then install the dependency:

pip install mem0ai

Create a .env file in your project with your API key from app.mem0.ai:

MEM0_API_KEY=your-api-key-here

Skills

  • /mem0:configure - Set up mem0 API key and settings
  • /mem0:status - Check configuration and test connection

See README for full documentation.