cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…
View and manage your cognitive profile — how you think, work patterns, blind spots, and cross-domain connections. Use when the user says 'show my profile', 'how do I work', 'what are my patterns', 'cognitive style', 'blind spots', 'methodology', or at the start of a session to
Claude Code
$ npx -y skills add cdeust/Cortex --skill cortex-profile --agent claude-code
Codex
$ npx skills add cdeust/Cortex --skill cortex-profile -a codex -y
Cursor
$ npx skills add cdeust/Cortex --skill cortex-profile -a cursor -y
Gemini CLI
$ npx skills add cdeust/Cortex --skill cortex-profile -a gemini-cli -y
GitHub Copilot
$ npx skills add cdeust/Cortex --skill cortex-profile -a github-copilot -y
OpenCode
$ npx skills add cdeust/Cortex --skill cortex-profile -a opencode -y
Windsurf
$ npx skills add cdeust/Cortex --skill cortex-profile -a windsurf -y
name: cortex-profile description: "View and manage your cognitive profile — how you think, work patterns, blind spots, and cross-domain connections. Use when the user says 'show my profile', 'how do I work', 'what are my patterns', 'cognitive style', 'blind spots', 'methodology', or at the start of a session to load context. Also use 'rebuild profile' to rescan all session history, or 'list domains' to see all tracked project domains."
profile, methodology, cognitive style, work patterns, blind spots, how do I work, thinking style, domains, rebuild profile, my patterns, session history, cognitive, behavioral, persona
Cortex builds a cognitive profile from your Claude Code session history — how you explore code, which tools you prefer, what patterns you repeat, where you have blind spots, and how your style connects across different project domains. This profile is used to calibrate responses and surface relevant context.
**Use this skill when:** Starting a session (auto-injected via hook), wanting to understand your work patterns, or needing to rebuild profiles after significant new work.
cortex:query_methodology({
"cwd": "<current working directory>",
"first_message": "<what the user is working on>"
})Returns:
Dive deeper into your behavioral profile:
cortex:explore_features({ "mode": "persona" })Returns the 9-dimensional persona vector of every domain and their session-weighted composition (add `"domain"` for one domain): activeReflective, sensingIntuitive, sequentialGlobal, thoroughness, autonomy, verbosity, riskTolerance, focusScope, iterationSpeed. The response's `dimensions` lists them in vector order.
Other exploration modes:
cortex:list_domains({})Shows all detected project domains with session counts, cognitive style per domain, and last activity timestamps.
When profiles seem stale or after significant new work:
cortex:rebuild_profiles({})Full rescan of `~/.claude/projects/` session history. Rebuilds all domain profiles, re-extracts patterns, re-classifies cognitive styles, and re-learns behavioral features.
Normally automatic via hook, but can be called manually:
cortex:record_session_end({
"domain": "<current domain>",
"summary": "<what was accomplished>"
})Updates profiles incrementally via EMA (Exponential Moving Average) — no full rebuild 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.