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 Peaky8lindersv0.4.0MIT
Saves session learnings to a knowledge graph that Claude searches next session, plus a live token and quality dashboard. Hooks run automatically on session start, every tool call and stop, tracking sessions and snapshotting context before compaction.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that gives Claude improved memory, context intelligence, and session observability. Three modules working together:
| Module | Language | What it does |
|---|---|---|
| Brainiac | Python | Semantic knowledge graph with local embeddings, auto-linking, and intent-aware retrieval |
| Cortex | TypeScript | Hook processor that tracks sessions + MCP server with 5 dashboard tools |
| ContextScore | Python | 7-dimension context quality scoring with snapshot/recovery |
Built on research from A-MEM (NeurIPS 2025), MAGMA (2026), SmartSearch (Derehag et al. 2026), LCM (Ehrlich 2026), and Anthropic Harness Design (2025).
# From your project directory:
claude plugin add github:Peaky8linders/claude-cortex
# Or clone and install manually:
git clone https://github.com/Peaky8linders/claude-cortex.git
cd claude-cortex
pip install -e . # Python dependencies (brainiac + contextscore)
cd cortex && npm install && npm run build # TypeScript dependencies (cortex engine + MCP server)
After install, the plugin auto-registers:
/learn, /hypothesis, /cortex-status, /review-and-ship, etc.Claude forgets everything between sessions. Cortex doesn't. Use /learn at the end of a session to capture patterns, decisions, and solutions into a knowledge graph. Next session, Claude automatically searches the graph and applies what it learned.
Query your session in real-time via 5 MCP tools:
| Tool | What it shows |
|---|---|
cortex_token_timeline | Minute-by-minute token usage with spike detection and cost estimates |
cortex_activity_map | Gantt-like timeline of which hooks, skills, and tools fired |
cortex_quality_heatmap | 7-dimension radar chart of context quality (semantic relevance, redundancy, economics, etc.) |
cortex_graph_explorer | Interactive force-directed graph visualization (JSON for terminal, HTML for browser) |
cortex_dashboard | Unified session dashboard — KPIs, charts, cost breakdown, and knowledge graph in one page |
When Claude's context window compacts, critical decisions and patterns are lost. Cortex snapshots them before compaction and re-injects them after — lossless context management.
| Level | Command | What it does |
|---|---|---|
| L3 | /run-tasks | Execute task YAML with generator-evaluator pattern and sprint contracts |
| L4 | /ralph-start | Autonomous loop with dual quality gate and optional context resets |
| L5 | /auto-research | Structured experiment runner with /hypothesis tracking and eval loops |
Inspired by Anthropic's harness design research: separating work production from assessment is more effective than self-evaluation.
--reset-strategy reset) provides clean-slate iterations with structured handoffs for long-running tasks7-day copy clicks
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.
Generated from the plugin's indexed repository (peaky8linders/claude-cortex) — no native marketplace selected
npx claudepluginhub p/peaky8linders-cortexPlugins from other owners that cover similar ground