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 XBlueSkyv2.5.0Apache-2.0In 1 marketplace
Records each Claude Code session to a markdown vault when it ends, then distills raw notes into lessons and decisions you can search later. Hooks run at session start and end to record and inject memory; semantic search uses OpenAI embeddings when you supply a key.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads files; reads or rewrites your prompts; sends prompts on its own.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

A personal knowledge vault plugin for Claude Code — session recording, memory distillation, semantic retrieval.
Cortexes turns your working memory into a searchable knowledge base. Every Claude Code session gets automatically recorded when it ends, then can be distilled and retrieved later.
Design philosophy: the vault is the source of truth (plain markdown + git); the vector store is just a rebuildable derived index.
Cortexes is more than skills and commands: two hooks and a hooks module run
code on your machine in every session, and the cortex-vec CLI calls a model
API when you give it a key.
| When | What runs | What it reads and writes locally | What leaves your machine |
|---|---|---|---|
| Session start | hooks/scripts/session-start-inject.sh (bash, jq, git) | Reads ~/.cortex/config.json, the top-level names under the vault's Notes/ and Projects/, and pending takeoff batons; counts unpushed vault commits; writes the menu to $CLAUDE_PLUGIN_ROOT/.deck/<session_id>.json | The repo name, vault path, topic names and baton summaries enter the session context, which Anthropic processes under your own account |
Session start (new sessions only, pip-installed cortex-vec only) | hooks/scripts/cvec_sync.py (python3) | When the installed CLI differs from the copy inside the plugin, reinstalls that copy in the background with pip install --no-deps --force-reinstall; state and log in ~/.cortex/cvec-sync/ | pip may download the setuptools build backend from your configured package index (PyPI by default) when it is not cached |
| During the session | hooks/deck.tsx (hooks module) | Reads the menu from the session context or the deck file above and draws it as a band | Nothing |
| Session end | hooks/scripts/session-end-record.sh and filter-transcript.py (bash, python3) | Reads the session transcript, filters it, replaces credential-shaped strings, writes it to Raw/ in the vault, removes earlier snapshots of the same conversation, and commits to the vault's local git repo | Text blocks over 12 KB (at most 5 per session) go to Anthropic through your own claude CLI to be classified (CORTEX_NO_CLASSIFIER=1 turns this off); a git push to your remote only when git.auto_push is on (off by default) |
| When you index or search | cortex-vec CLI | Indexes under ~/.cortex/ | Vault page content to OpenAI, or the endpoint you set in models, only when OPENAI_API_KEY (or the variable models.*.api_key_env names) is set |
Recording is automatic; CORTEX_SKIP_RECORD=1 skips a session. Nothing goes
to the Cortexes authors: there is no server, no account and no telemetry.
PRIVACY.md documents every flow in full.
# Add the marketplace, then install the plugin from it
/plugin marketplace add https://github.com/XBlueSky/cortexes.git#plugin
/plugin install cortexes@cortex
The marketplace is named cortex and the plugin inside it is cortexes —
hence cortexes@cortex. The marketplace name is kept from 1.x on purpose so
that existing marketplace add registrations keep working.
The CLI is published on PyPI as
cortex-vec:
# Recommended: isolated tool install via uv
uv tool install cortex-vec
# Or with pip
pip install cortex-vec
7-day copy clicks
Plugins from other owners that cover similar ground
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 xbluesky/cortexes --plugin cortexes