claude-mem

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

27 articles 28.4k View on GitHub ↗
27 articles
Claude-Mem Session Import and Export Data Flow: A Complete Technical Guide

Explore the Claude-Mem session import export data flow. Learn how worker HTTP APIs query SQLite via TypeScript CLI scripts for seamless backups and migrations. Understand the technical process.

how-to-guide
Feb 19, 2026
How Claude-Mem Context Injection Selects Observations for AI Prompts

Discover how Claude-Mem context injection selects observations for AI prompts by filtering SQLite records with whitelists, recency, and count for efficient prompt generation.

deep-dive
Feb 19, 2026
How Claude-Mem Health Monitoring Detects and Recovers From Worker Failures

Discover how Claude-Mem health monitoring uses PID files, health probes, and version checks to detect and recover from worker failures, ensuring system reliability.

internals
Feb 16, 2026
How to Extend the Claude-Mem Database Schema with New Migrations

Extend the Claude-Mem database schema safely with new migrations. Learn how to create, register, and record migration versions for your project at thedotmack/claude-mem.

how-to-guide
Feb 16, 2026
How Claude-Mem Handles Version Mismatch Between Plugin and Worker Service

Claude-Mem automatically detects and resolves version mismatches between its VS Code plugin and worker service by comparing package versions and initiating a restart.

internals
Feb 16, 2026
How CursorHooksInstaller Integrates Claude-Mem Memory with the Cursor IDE

Discover how CursorHooksInstaller integrates Claude-Mem memory into the Cursor IDE. Learn about MCP server configurations, CLI hooks, and auto-updating context files for session data.

how-to-guide
Feb 16, 2026
Claude-Mem Graceful Shutdown: A Multi-Step Strategy to Prevent Data Loss During Restarts

Discover Claude-Mem's 8-step graceful shutdown strategy. Learn how it prevents data loss by closing connections flush sessions write databases and terminate processes before exiting.

how-to-guide
Feb 16, 2026
How the Pagination Helper Optimizes Large Result Sets in Claude-Mem

Discover how the Pagination Helper optimizes large result sets in Claude-Mem. Learn its LIMIT + 1 fetch strategy and constant-time database work for efficient SQLite tables.

deep-dive
Feb 16, 2026
How to Configure Custom AI Providers (Gemini, OpenRouter) in Claude-Mem

Easily configure custom AI providers like Gemini and OpenRouter in Claude-Mem. Set your provider and API keys in settings.json for a personalized AI experience.

how-to-guide
Feb 16, 2026
How ModeManager Loads and Applies Different Operational Modes in Claude-Mem

Discover how Claude-Mem's ModeManager loads and applies operational modes by resolving inheritance and merging configurations for context-aware prompt generation.

internals
Feb 16, 2026
How ChromaServerManager Handles Vector Database Initialization and Connection Pooling in Claude-Mem

Discover how ChromaServerManager initializes vector databases and manages connection pooling in Claude-Mem using a singleton pattern and keep-alive sockets.

internals
Feb 16, 2026
SSEBroadcaster for Real-Time UI Updates: Architecture and Implementation in Claude-Mem

Discover the SSEBroadcaster architecture in Claude-Mem for real-time UI updates. Learn how it efficiently broadcasts JSON payloads to synchronize UIs instantly without polling.

architecture
Feb 16, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →