cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
Store a global memory that is visible across all projects. Use when the user shares architecture rules, coding conventions, infrastructure facts, security policies, team agreements, or any knowledge that applies beyond a single project. Triggers on 'remember this everywhere',
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-remember-global --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-remember-global -a windsurf -y
name: cortex-remember-global description: "Store a global memory that is visible across all projects. Use when the user shares architecture rules, coding conventions, infrastructure facts, security policies, team agreements, or any knowledge that applies beyond a single project. Triggers on 'remember this everywhere', 'this applies to all projects', 'global rule', 'shared convention', 'infrastructure note', 'cross-project', or when the content is clearly universal (clean architecture, SOLID, deployment configs, server addresses)."
global, everywhere, all projects, cross-project, shared, universal, convention, standard, rule, infrastructure, policy, team agreement, always, never, architecture rule, coding standard
Store knowledge that transcends any single project into Cortex's global memory. Global memories bypass domain filtering during recall — they're visible from every project you work on. Use this for architecture rules, coding conventions, infrastructure facts, security policies, and team agreements.
**Cortex auto-detects many global patterns** (clean architecture, dependency injection, server addresses, etc.), but use this skill explicitly when you want to guarantee cross-project visibility.
Good candidates for global memory:
**Not global** (project-specific): bug fixes, feature decisions for one project, file-specific notes.
cortex:remember({
"content": "<clear, self-contained knowledge that applies across projects>",
"tags": ["<category>", "<topic>"],
"is_global": true,
"force": true
})**Content guidelines:**
The response includes:
Global memories are already high-value, but if they must never decay:
cortex:anchor({
"memory_id": <id>,
"reason": "Core architecture rule — permanent"
})Even without `is_global: true`, Cortex automatically detects global content using a weighted signal classifier across 6 categories:
| Category | Example signals | |---|---| | **Architecture** | clean architecture, SOLID, dependency injection, composition root | | **Convention** | coding standard, naming convention, best practice, team agreement | | **Infrastructure** | server at, database URL, Docker compose, CI/CD pipeline | | **Security** | API key rotation, credential policy, authentication, encryption | | **Cross-project** | all projects, shared across, universal, applies everywhere | | **Knowledge** | UTC timestamps, WAL mode, connection pools, idempotency |
If the weighted score exceeds threshold 3.0, the memory is automatically global — no explicit flag needed.
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.