/cortex-explore-memory
Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find
$ npx -y skills add cdeust/Cortex --skill cortex-explore-memory --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cortex-explore-memory
Context preview
The summary Claude sees to decide when to auto-load this skill.
Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find
SKILL.md
cortex-explore-memory.SKILL.mdname: cortex-explore-memory
description: "Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find gaps', 'what topics are weak', or when you need to understand the state of stored knowledge before a task."
Explore Memory — Diagnostics, Gaps, and Coverage
Keywords
memory stats, diagnostics, coverage, gaps, what am I missing, memory health, knowledge gaps, weak areas, isolated entities, sparse domains, how much do I know, memory overview, system status, knowledge assessment
Overview
Understand the state of your memory system — what's stored, what's missing, what's decaying, and where knowledge is strong or weak. This skill combines multiple diagnostic tools to give you a complete picture.
**Use this skill when:** Starting a new project phase, after a long break, or when you want to understand what Cortex knows and doesn't know about a topic.
Workflow
Step 1: Quick Health Check
Get system-level diagnostics:
cortex:memory_stats({})Returns: total memories, heat distribution, store type breakdown (episodic vs semantic), entity count, relationship count, average confidence, and decay statistics.
Step 2: Assess Knowledge Coverage
Score how well a topic or project is covered:
cortex:assess_coverage({
"domain": "<project or topic>",
"query": "<specific area to assess>"
})Returns a 0-100 coverage score with specific recommendations on what to document or remember next.
Step 3: Detect Knowledge Gaps
Find isolated entities, sparse domains, and temporal drift:
cortex:detect_gaps({
"domain": "<optional domain filter>"
})Returns:
- **Isolated entities** — entities mentioned but not connected to memories
- **Sparse domains** — project areas with few memories
- **Temporal gaps** — periods with no memory activity (potential knowledge loss)
- **Orphan clusters** — groups of memories disconnected from the main knowledge graph
Step 4: Validate Against Filesystem
Check if memories reference files/paths that still exist:
cortex:validate_memory({
"directory": "<project root>"
})Flags stale memories that reference deleted files, moved modules, or renamed functions — keeping the knowledge base accurate.
Step 5: Review Memory Quality
Get a narrative summary of what's stored:
cortex:narrative({
"domain": "<project>",
"style": "diagnostic"
})Or get a period-based project story:
cortex:get_project_story({
"domain": "<project>",
"period": "last_30_days"
})Tips
- **Run after backfill**: After `cortex:backfill_memories`, run diagnostics to see what was captured and what's still missing
- **Coverage before deep work**: Before a major feature or refactor, assess coverage to know if you have enough context stored
- **Validate periodically**: Run `validate_memory` after major refactors to catch stale references
Read more
name: cortex-explore-memory description: "Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find gaps', 'what topics are weak', or when you need to understand the state of stored knowledge before a task."
Explore Memory — Diagnostics, Gaps, and Coverage
Keywords
memory stats, diagnostics, coverage, gaps, what am I missing, memory health, knowledge gaps, weak areas, isolated entities, sparse domains, how much do I know, memory overview, system status, knowledge assessment
Overview
Understand the state of your memory system — what's stored, what's missing, what's decaying, and where knowledge is strong or weak. This skill combines multiple diagnostic tools to give you a complete picture.
**Use this skill when:** Starting a new project phase, after a long break, or when you want to understand what Cortex knows and doesn't know about a topic.
Workflow
Step 1: Quick Health Check
Get system-level diagnostics:
cortex:memory_stats({})Returns: total memories, heat distribution, store type breakdown (episodic vs semantic), entity count, relationship count, average confidence, and decay statistics.
Step 2: Assess Knowledge Coverage
Score how well a topic or project is covered:
cortex:assess_coverage({
"domain": "<project or topic>",
"query": "<specific area to assess>"
})Returns a 0-100 coverage score with specific recommendations on what to document or remember next.
Step 3: Detect Knowledge Gaps
Find isolated entities, sparse domains, and temporal drift:
cortex:detect_gaps({
"domain": "<optional domain filter>"
})Returns:
- **Isolated entities** — entities mentioned but not connected to memories
- **Sparse domains** — project areas with few memories
- **Temporal gaps** — periods with no memory activity (potential knowledge loss)
- **Orphan clusters** — groups of memories disconnected from the main knowledge graph
Step 4: Validate Against Filesystem
Check if memories reference files/paths that still exist:
cortex:validate_memory({
"directory": "<project root>"
})Flags stale memories that reference deleted files, moved modules, or renamed functions — keeping the knowledge base accurate.
Step 5: Review Memory Quality
Get a narrative summary of what's stored:
cortex:narrative({
"domain": "<project>",
"style": "diagnostic"
})Or get a period-based project story:
cortex:get_project_story({
"domain": "<project>",
"period": "last_30_days"
})Tips
- **Run after backfill**: After `cortex:backfill_memories`, run diagnostics to see what was captured and what's still missing
- **Coverage before deep work**: Before a major feature or refactor, assess coverage to know if you have enough context stored
- **Validate periodically**: Run `validate_memory` after major refactors to catch stale references
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.
Repo: cdeust/Cortex
Other skills on hypermnesia-mcp.
- /cortex-automate
Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me when', 'trigger when', 'create a rule', 'auto-remember', 'sync to CLAUDE.md', 'push insights', 'set up trigger', 'when I open this file', 'when this
Open skill - /cortex-consolidate
Run memory maintenance — decay old memories, compress stale content, consolidate episodic memories into semantic knowledge, and run sleep-like replay. Use when the user says 'clean up memories', 'consolidate', 'run maintenance', 'compress old memories', 'memory cleanup', or
Open skill - /cortex-debug-memory
Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from checkpoints. Use when the user says 'fix memory', 'bad memory', 'wrong memory', 'delete this', 'protect this', 'this memory is wrong', 'memory quality',
Open skill - /cortex-import
Import memories from other AI memory systems into Cortex. Supports claude-mem (SQLite), Claude Desktop sessions, ChatGPT web export (JSON), Gemini Takeout (JSON), Cursor conversations, and Claude Code JSONL. Use when the user says 'import from claude-mem', 'migrate memories',
Open skill - /cortex-navigate-knowledge
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
Open skill - /cortex-profile
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
Open skill

