cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
Store important decisions, patterns, errors, lessons, and context into Cortex persistent memory. Use when the user says 'remember this', 'save this', 'store this for later', 'note this down', 'don't forget', 'this is important', 'bookmark this', or when a significant decision,
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-remember --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-remember -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-remember -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-remember -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-remember -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-remember -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-remember -a windsurf -y
name: cortex-remember description: "Store important decisions, patterns, errors, lessons, and context into Cortex persistent memory. Use when the user says 'remember this', 'save this', 'store this for later', 'note this down', 'don't forget', 'this is important', 'bookmark this', or when a significant decision, bug fix, architecture choice, or lesson learned occurs during a session. Also use after resolving tricky bugs, making technology choices, or discovering important patterns."
remember, save, store, note, bookmark, don't forget, important, keep this, record, persist, write down, save for later, remember this decision, store this pattern, note this lesson, save this fix
Store important information into Cortex's thermodynamic memory system. Memories pass through a predictive coding gate that automatically filters noise — only genuinely novel or important content gets stored. The system handles deduplication, entity extraction, and knowledge graph linking automatically.
**Use this skill when:** A significant event happens during a session — a decision is made, a bug is fixed, a pattern is discovered, or the user explicitly asks to remember something.
Determine the content worth storing. Good candidates:
Call `cortex:remember` with structured content:
cortex:remember({
"content": "<clear, self-contained description of what to remember>",
"tags": ["<category>", "<project>", "<topic>"],
"directory": "<current working directory>",
"source": "<context: e.g. 'bug-fix', 'architecture-decision', 'user-preference'>"
})**Content guidelines:**
The response includes:
If `stored: false`, the content was likely redundant. This is normal — the gate is working.
For memories that must survive context compaction and never decay:
cortex:anchor({
"memory_id": <id>,
"reason": "Critical architecture decision — must persist"
})Anchored memories maintain heat=1.0 permanently and are injected at every session start.
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.