thedotmack/claude-mem

how-it-works

Explain how claude-mem captures observations, when memory injection kicks in, and where data lives. Use when the user asks "how does claude-mem work?" or "what is this thing doing?".

4.3K installs 93K starsUpdated Sep 3, 2026License: Apache-2.0

Install

npx skills add thedotmack/claude-mem@how-it-works

Runs in your terminal. Adds the skill globally for Claude Code, Cursor, Codex and others; add -g -y to skip prompts.

What it does

How claude-mem works What it does Every Read, Edit, and Bash that Claude makes turns into a compressed observation. Observations get summarized at session end. Relevant ones get auto-injected into future prompts so the next session starts with context from the last one — no re-explaining the codebase, no re-discovering decisions. When it kicks in Memory injection starts on your second session in a project. The first session in a fresh project seeds memory; subsequent sessions receive auto-injected context for relevant past work. Run /learn-codebase if you want to front-load the entire repo…

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

View source on GitHub

Before you install

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Categories

Related skills

  • mem-search

    thedotmack/claude-mem

    >-

    7.9K installs 93KAI & agentsProductivity
  • smart-explore

    thedotmack/claude-mem

    Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.

    6.5K installs 93KAI & agents
  • make-plan

    thedotmack/claude-mem

    ../../../plugin/skills/make-plan/SKILL.md

    6.4K installs 93K
  • do

    thedotmack/claude-mem

    ../../../plugin/skills/do/SKILL.md

    6.3K installs 93K
  • timeline-report

    thedotmack/claude-mem

    Generate a "Journey Into [Project]" narrative report analyzing a project's entire development history from claude-mem's timeline. Use when asked for a timeline report, project history analysis, development journey, or full project report.

    6.0K installs 93KAI & agents
  • knowledge-agent

    thedotmack/claude-mem

    Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.

    5.0K installs 93KAI & agentsProductivity

Search skills

/skills/thedotmack/claude-mem/how-it-works/