cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
Navigate the knowledge graph — trace entity relationships, explore causal chains, drill into memory clusters, and traverse co-access paths. Use when the user asks 'how are these related', 'what connects X to Y', 'show me the knowledge graph', 'trace the relationship', 'what
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-navigate-knowledge --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-navigate-knowledge -a windsurf -y
name: cortex-navigate-knowledge description: "Navigate the knowledge graph — trace entity relationships, explore causal chains, drill into memory clusters, and traverse co-access paths. Use when the user asks 'how are these related', 'what connects X to Y', 'show me the knowledge graph', 'trace the relationship', 'what caused X', 'drill down into', 'explore connections', or when you need to understand the web of relationships between concepts, entities, and memories."
knowledge graph, relationships, connections, causal chain, how are these related, what connects, drill down, explore, navigate, entity graph, trace, cause and effect, related to, linked to, co-access, cluster
Cortex maintains a knowledge graph of entities (people, technologies, concepts, files) and their relationships extracted from memories. This skill lets you traverse that graph — follow causal chains, explore co-access patterns, drill into fractal memory clusters, and understand how different pieces of knowledge connect.
**Use this skill when:** You need to understand relationships between concepts, trace cause-and-effect chains, or explore a topic area systematically.
Follow entity relationships through the knowledge graph:
cortex:get_causal_chain({
"entity": "PostgreSQL",
"direction": "both",
"max_depth": 3
})Returns a chain of entities connected by typed relationships (causes, uses, depends_on, related_to, etc.). Direction can be `"forward"` (effects), `"backward"` (causes), or `"both"`.
Find memories frequently accessed together using Successor Representation:
cortex:navigate_memory({
"memory_id": <starting_memory_id>,
"depth": 2,
"max_nodes": 20
})Returns a graph of memories connected by co-access frequency — revealing implicit relationships that aren't in the explicit knowledge graph.
Browse memories through fractal clusters (L0 = broad, L1 = mid, L2 = specific):
cortex:recall_hierarchical({
"query": "authentication system",
"levels": 3
})Then drill into any interesting cluster:
cortex:drill_down({
"cluster_id": "<cluster from hierarchical recall>",
"level": "L1"
})Find disconnected or under-connected areas:
cortex:detect_gaps({
"domain": "<optional>"
})Returns isolated entities, sparse domains, and temporal drift — areas where your knowledge graph has holes.
**Understanding a new codebase:** 1. Recall hierarchical to get broad topic clusters 2. Drill down into the most relevant cluster 3. Navigate co-access paths from key memories 4. Trace causal chains for core entities
**Debugging with context:** 1. Recall memories about the error/module 2. Get causal chain for the affected entity 3. Navigate to co-accessed memories (past fixes, related patterns)
**Architecture review:** 1. Get causal chains for key components 2. Detect gaps in architectural documentation 3. Assess coverage for each module
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…
View and manage your cognitive profile — how you think, work patterns, blind spots, and cross-domain connections. Use when the…
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.