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 global memories — knowledge that applies across all projects. Use when the user asks 'what are our coding standards', 'what conventions do we follow', 'what's our infrastructure setup', 'do we have a rule about', 'what applies to all projects', 'shared
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-recall-global --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-recall-global -a windsurf -y
name: cortex-recall-global description: "Search and retrieve global memories — knowledge that applies across all projects. Use when the user asks 'what are our coding standards', 'what conventions do we follow', 'what's our infrastructure setup', 'do we have a rule about', 'what applies to all projects', 'shared knowledge', 'global rules', or when you need cross-project context like architecture decisions, server configs, or team policies."
global, convention, standard, rule, infrastructure, policy, all projects, shared, universal, what's our rule, coding standard, architecture rule, team agreement, cross-project, server config, deployment
Retrieve global memories — knowledge stored as cross-project that's visible regardless of which project you're currently working in. Global memories include architecture rules, coding conventions, infrastructure facts, security policies, and team agreements.
**Note:** Regular `cortex:recall` already surfaces global memories automatically. This skill is for when you specifically want to focus on cross-project knowledge.
Query with any domain — global memories appear alongside domain-specific results:
cortex:recall({
"query": "<topic to search for>",
"max_results": 10
})Global memories are included in results regardless of the current project domain.
To see only global cross-project knowledge, use the unified neural graph:
cortex:open_visualization()
Click the **Global** filter button (pink) to isolate all global memories.
Click the **Global** filter — global memories appear as pink nodes connected to all project domains.
Common global recall patterns:
**Architecture rules:**
cortex:recall({ "query": "architecture rules and principles" })**Infrastructure:**
cortex:recall({ "query": "server addresses and database connections" })**Coding conventions:**
cortex:recall({ "query": "coding standards and naming conventions" })**Security policies:**
cortex:recall({ "query": "security policies and credential management" })After finding a global memory, explore what it connects to across projects:
cortex:navigate_memory({
"memory_id": <id>,
"depth": 2
})Global memories link to all domain hubs in the knowledge graph — following connections shows which projects reference similar concepts.
Global memories have `is_global = TRUE` in the database. During recall, every retrieval signal (vector, FTS, trigram, heat, recency) includes the clause:
WHERE (domain = current_domain OR is_global = TRUE)
This means global memories compete on relevance alongside domain-specific ones — they're not artificially boosted, just not filtered out.
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.