cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-recall --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-recall -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-recall -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-recall -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-recall -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-recall -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-recall -a windsurf -y
name: cortex-recall description: "Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context about past decisions, patterns, bugs, or architecture choices. Also use proactively when working on something that likely has relevant historical context."
recall, remember, search, find, what did we, do you remember, what was, have we seen, look up, retrieve, past decision, previous fix, history, what do we know, search memory, find memory, related memories
Retrieve relevant memories using Cortex's 6-signal WRRF (Weighted Reciprocal Rank Fusion) retrieval engine. The system automatically classifies your query intent and adjusts retrieval weights — semantic queries emphasize vector similarity, temporal queries emphasize recency, causal queries traverse the knowledge graph.
**Use this skill when:** You need context about past work, decisions, patterns, or fixes. Also use proactively when starting work on a topic that likely has stored context.
Write a natural language query. The intent classifier handles routing:
cortex:recall({
"query": "<natural language question or topic>",
"limit": 10
})**Optional filters:**
When exploring a large topic area, use fractal hierarchical recall:
cortex:recall_hierarchical({
"query": "<broad topic>",
"levels": 3
})This returns memories organized in L0 (broad clusters) > L1 (sub-topics) > L2 (specific memories). Use `cortex:drill_down` to navigate deeper into any cluster.
After finding relevant memories, explore connections:
cortex:navigate_memory({
"memory_id": <id>,
"depth": 2
})This uses Successor Representation (co-access graph) to find memories frequently accessed together — surfacing implicit connections the user may not have queried for.
For understanding cause-and-effect relationships:
cortex:get_causal_chain({
"entity": "<entity name>",
"direction": "both"
})This traverses the knowledge graph to show how entities relate through causal, temporal, and semantic relationships.
Cross-platform persistent memory MCP for Codex, Gemini CLI, Claude Code, and other local MCP hosts. 36 cited neuroscience mechanisms, local-first SQLite/PostgreSQL, hybrid retrieval, decay-based consolidation, and reproducible benchmarks. Claude adds optional automatic lifecycle hooks.
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
Run memory maintenance — decay old memories, compress stale content, consolidate episodic memories into semantic knowledge, and…
Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from…
Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user…
Import memories from other AI memory systems into Cortex. Supports claude-mem (SQLite), Claude Desktop sessions, ChatGPT web…
Navigate the knowledge graph — trace entity relationships, explore causal chains, drill into memory clusters, and traverse…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.