Skills for Real Engineers. Straight from my .agents directory.
how-it-works
Agent skill fromthedotmack/claude-mem
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?".
How to install how-it-works
npx skills add thedotmack/claude-mem# or add only this skill to Claude Code: copy the folder
plugin/skills/how-it-works/
# into
~/.claude/skills/how-it-works/ (all projects)
.claude/skills/how-it-works/ (one project)
1# How claude-mem works23## What it does45While you work, an observer (a second agent) watches what your agent reads, edits and runs, and writes short notes about what mattered. Those notes are called observations. When a session ends, the observer writes a summary. When the next session starts, your agent gets a compact index of the observations that matter for this project and fetches full details only when it needs them.67So the next session starts where the last one left off: no re-explaining the codebase, no re-discovering decisions.89## When it kicks in1011Memory injection starts on your second session in a project.1213The first session seeds memory as you work. To front-load a whole repo in one pass instead, run `/learn-codebase` (~5 minutes on a typical repo, optional).1415## Where data lives1617Your memory lives in ~/.claude-mem on this machine: the SQLite database, vector index, logs and settings. `npx claude-mem uninstall` removes it.1819What leaves the machine:2021- What the observer reads goes to the model you chose to run it: your Claude plan unless you picked another provider (Codex, OpenRouter, Gemini, or the claude-mem observer on CMEM Pro).22…
Excerpt shown under the repository's Apache-2.0 license.
More skills in claude-mem
Similar skill repositories
Public repository for Agent Skills
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
