Claude Code plugin · self-compounding memory

Knowledge doesn't sit. It compounds.

Cortex is a personal memory layer for Claude Code. Every session automatically records commits, findings, and decisions, which can later be distilled into refined notes and retrieved with mixed-language semantic search. The vault is plain markdown + git as the source of truth; the vector store is just a rebuildable derived index. Built for anyone who wants working memory to compound across sessions instead of resetting every time.

01 · SessionEnd hook
Capture
Every session ends with a full report, saved to the vault’s Raw/.
02 · /cortex:distill
Distill
Extract hard-won lessons, conventions, and key decisions into Notes.
03 · broadcast
Fuse
Compound new knowledge into related existing pages, llm-wiki style.
04 · /cortex:query
Recall
Mixed-language semantic search, checked before every answer.
Notes/Nginx/ssl-renewal.mdbroadcast · today
## SSL certificate management
Certs expire every 90 days, auto-renewed via certbot.
## Reload gotchas
Always run `nginx -t` before `nginx -s reload` —
a bad config makes reload fail silently (incident 2026-07-05).
## Common errors
This note just rewrote itself from a new session
obsidian-native

Your vault is a living graph

Cortex writes straight into Obsidian vault format — this is the shape wikilinks actually grow into. Try dragging a node.

drag nodes · hover to highlight links
Notes Projects Raw
6 skills

Skills that trigger themselves

cortex-broadcastauto

After a Raw has been distilled, to fuse it into related existing pages ("broadcast", "compound this into the vault"), or auto-dispatched at the end of the distill flow.

broadcastprocess broadcast queue
cortex-distillauto

When the user wants to distill Raw session records into Notes/Projects ("提煉", "整理 raw", "distill").

distill this week's rawdistill raw records
cortex-evolveauto

When the user wants to save knowledge to the vault ("存到 cortex", "記一下"), or when the session-suggest hook recommends saving.

save to cortexnote this decision downremember this
cortex-queryauto

When the user wants to search the vault ("查 cortex", "之前有記過"), or proactively before answering any question about existing projects or internal tooling.

check cortex for DSM noteshave I written about this beforewhat did I write about cortex-vec
cortex-takeoffauto

When context is running low and work needs to hand off to the next session ("交接", "takeoff", "交棒"). Produces a temporary hand-off baton that's never committed or indexed.

hand off to the next sessiontakeoff resumetakeoff done
using-cortexauto

Triggers unconditionally at session start or on any non-trivial request — checks whether the vault already has relevant memory before guessing, asking, or re-exploring.

(auto-triggered at session start)
5 commands

Slash commands

/cortex:broadcastRun broadcast on a distilled Raw — update related existing pages conversationally
/cortex:distillDistill raw session records into refined Notes and Projects
/cortex:evolveSave knowledge to the cortex vault (Notes or Projects) and update index
/cortex:genesisInitialize cortex vault — set up config, vault structure, and rebuild index
/cortex:takeoffCreate, resume, or clear a session hand-off baton for this repo
changelog

Version history

Full history →

0.23.02026-07-02
Removed — The remaining internal-tool-specific MCP output filters from the
0.22.02026-07-02
Removed — `cortex-weekly` skill, its `/cortex:weekly` command, and the
0.21.12026-06-30
Fixed — README: the cortex-vec install command used `$(claude plugin root cortex)`,