Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By DoctorMozgv0.69.0MITIn 2 marketplaces
Cross-session project memory — automatic knowledge persistence, injection, and compaction recovery
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

mz-memory)Cross-session project memory for Claude Code. It persists knowledge across sessions, re-injects it after /clear and compaction, and injects the memory relevant to each prompt. It also keeps a store of lessons learned from review findings, failures and your corrections, which you can promote into project rules. Two skills ship with it: /memory-note for manual notes and lessons, and /lessons-promote for turning recurring lessons into rules.
claude plugin marketplace add DoctorMozg/claude-pipelines
claude plugin install mz-memory
Memory activates automatically on install — no configuration needed. Background curation calls claude -p on your account; see Background claude -p Runs to turn it off.
| Hook | Event | What it does |
|---|---|---|
| Memory inject | SessionStart (startup/clear/compact) | Injects Pinned, the top lessons, the Digest and the newest Activity Log lines |
| Memory capture | SessionEnd | Logs each completed task once with its Decisions and Notes, collects every task's ## Lessons, starts background curation and compression |
| Memory prompt | UserPromptSubmit | Injects Pinned plus the lessons and entries matching the prompt's keywords; reminds Claude to save a lesson after a correction |
| Journal capture | PostToolUse AskUserQuestion | Appends the question and answer of every completed AskUserQuestion call verbatim to .mz/journal.md (needs jq) |
Memory is injected on a fresh start, after /clear, and after compaction, within 8,000 characters in all. Resume and fork are skipped because the reused transcript already holds it.
Memory is stored at .mz/memory/MEMORY.md in the project root:
## Pinned
- [2026-05-05] always run migrations forward-compatible
## Digest
- [D-0003] n=2 last=2026-10-30 trig=log src=2026_10_12_build_auth tags=auth :: Sessions expire after 30 min; refresh tokens rotate on use
## Activity Log
- [2026-05-05] task_name (phase=done) [branch@sha]
Decision lines pulled from state.md
/memory-note.In the real file each section's body also sits between a pair of HTML comment markers named mz-<section>-start and mz-<section>-end (for example mz-pinned-start). The file is human-readable and resilient to header corruption: those markers anchor every insert, so the structure repairs itself if a heading is hand-edited. .mz/ stays out of git only if something excludes it. init-rules adds it to .git/info/exclude, or the project's .gitignore may list it. A team that wants the memory tracked runs git add -f .mz/memory/MEMORY.md.
mz-memory walks up from CLAUDE_PROJECT_DIR (or the current working directory) to the nearest .git, so a single MEMORY.md is shared across every subdirectory of a monorepo. Override with MZ_MEMORY_ROOT=/abs/path if needed.
If your home directory is itself a git repository, such as a dotfiles checkout, every folder under it without a .git of its own resolves to home, and all of them share ~/.mz/memory/MEMORY.md. Run git init in the folder, or set MZ_MEMORY_ROOT for it. GIT_CEILING_DIRECTORIES doesn't help: the hooks look for .git themselves and ignore it, while skills resolve the root with git rev-parse, which honors it, so setting it splits the two.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub doctormozg/claude-pipelines --plugin mz-memoryPlugins from other owners that cover similar ground