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 Protocol-zero-0v0.1.0MITIn 1 marketplace
Recalls your preferences and past decisions across Claude Code and Codex sessions from a nightly distillation of your session logs. It reads all session logs and spends model budget each night; it claims transcripts stay local and only shared memories leave the machine.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English | 简体中文
Quick Install · Support Matrix · Design Notes (ZH) · Retrieval (ZH) · Push Privacy Gate (ZH)
At the start of a new session, this shows up in context automatically:
<compound-memory-snapshot source="shared">
# Alex · snapshot
generated 2026-09-20 04:30 · 86 live shared memories
## A Long-horizon
### What he has explicitly asked for
- Code review: correctness and simplification only, don't expand scope (09-02)
- Weekly reports: plain language, no consulting jargon (08-14)
## B Short-horizon
### Open threads
- Wait for the supplier to confirm delivery date before setting launch date (09-18)
</compound-memory-snapshot>
And you can search it anytime, with sources:
$ cm recall "supplier"
【memory】
- [open-thread, 09-18] Wait for the supplier to confirm delivery date before setting launch date
from: claude:3267ab25 · launch timing discussion
Design rationale (why per-session not per-day, why not file mtime, how revisions are decided, full architecture diagram) → docs/design.md (Chinese; translate as needed).
cm distill --dry first.~/.claude/settings.json, ~/.codex/AGENTS.md, etc.),
each backed up and marked; cm uninstall removes exactly what it added.git clone https://github.com/Protocol-zero-0/compound-memory.git ~/compound-memory
cd ~/compound-memory && bash install.sh
It runs one distillation right away and prints the snapshot — you find out whether it works now, not tomorrow morning.
bash install.sh --name Alex --yes # non-interactive
bash install.sh --no-cron --no-inject # just lay down files
cm uninstall # remove cleanly; --purge also deletes memories
One prerequisite: a model you can call. By default it uses the claude CLI you're
already logged into. Otherwise set llm.backend: openai with base_url and api_key_env —
any OpenAI-compatible endpoint works.
In Claude Code you can also add it as a plugin. The agent then runs cm recall on its own
when it needs earlier context, and walks you through the install above if cm is missing:
/plugin install compound-memory --marketplace Protocol-zero-0/compound-memory
On older Claude Code: /plugin marketplace add Protocol-zero-0/compound-memory, then
/plugin install compound-memory@compound-memory. Just the skill: npx skills add Protocol-zero-0/compound-memory.
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 protocol-zero-0/compound-memory --plugin compound-memoryPlugins from other owners that cover similar ground