Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

layout default
title Claude-Mem Tutorial
nav_order 144
has_children true
format_version v2

Claude-Mem Tutorial: Persistent Memory Compression for Claude Code

Learn how to use thedotmack/claude-mem to capture, compress, and retrieve coding-session memory with hook-driven automation, searchable context layers, and operator controls.

GitHub Repo License Docs

Why This Track Matters

Claude-Mem is one of the most widely adopted memory plugins for Claude Code and addresses a common pain point in agentic workflows: loss of durable project context across sessions.

This track focuses on:

  • setting up Claude-Mem reliably with plugin marketplace workflows
  • understanding hooks, worker service, and database architecture
  • using search tools with token-efficient progressive disclosure
  • operating and troubleshooting memory systems in production-like environments

Current Snapshot (auto-updated)

Mental Model

flowchart LR
    A[Claude Code session] --> B[Lifecycle hooks]
    B --> C[Worker service + queue]
    C --> D[SQLite and vector search storage]
    D --> E[Progressive-disclosure retrieval]
    E --> F[Context injection into new sessions]
Loading

Chapter Guide

Chapter Key Question Outcome
01 - Getting Started How do I install and verify Claude-Mem quickly? Working baseline
02 - Architecture, Hooks, and Worker Flow How does data move from hooks to searchable memory? Strong architecture model
03 - Installation, Upgrade, and Runtime Environment How do I keep installs and upgrades stable? Better deployment reliability
04 - Configuration, Modes, and Context Injection How do I tune memory behavior safely? Predictable context behavior
05 - Search Tools and Progressive Disclosure How do I query memory with strong token discipline? Better retrieval efficiency
06 - Viewer Operations and Maintenance Workflows How do I run daily operations and maintenance? Operational confidence
07 - Troubleshooting, Recovery, and Reliability How do I recover from failures and data issues quickly? Incident-response playbook
08 - Contribution Workflow and Governance How do I contribute safely to memory infrastructure? Contributor readiness

What You Will Learn

  • how Claude-Mem preserves context with minimal manual effort
  • how to control memory capture and injection behavior safely
  • how to query memory with multi-layer, token-efficient search patterns
  • how to operate and contribute to Claude-Mem with production discipline

Source References

Related Tutorials


Start with Chapter 1: Getting Started.

Navigation & Backlinks

Full Chapter Map

  1. Chapter 1: Getting Started
  2. Chapter 2: Architecture, Hooks, and Worker Flow
  3. Chapter 3: Installation, Upgrade, and Runtime Environment
  4. Chapter 4: Configuration, Modes, and Context Injection
  5. Chapter 5: Search Tools and Progressive Disclosure
  6. Chapter 6: Viewer Operations and Maintenance Workflows
  7. Chapter 7: Troubleshooting, Recovery, and Reliability
  8. Chapter 8: Contribution Workflow and Governance

Generated by AI Codebase Knowledge Builder