Skip to content
Development
Skill

/cortex-recall

Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context

From plugin
hypermnesia-mcp
7613 skills5 agents4 commands1 MCP

Claude Code

$ npx -y skills add cdeust/Cortex --skill cortex-recall --agent claude-code

SKILL.md

cortex-recall.SKILL.md
name: cortex-recall
description: "Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context about past decisions, patterns, bugs, or architecture choices. Also use proactively when working on something that likely has relevant historical context."

Recall — Retrieve from Persistent Memory

Keywords

recall, remember, search, find, what did we, do you remember, what was, have we seen, look up, retrieve, past decision, previous fix, history, what do we know, search memory, find memory, related memories

Overview

Retrieve relevant memories using Cortex's 6-signal WRRF (Weighted Reciprocal Rank Fusion) retrieval engine. The system automatically classifies your query intent and adjusts retrieval weights — semantic queries emphasize vector similarity, temporal queries emphasize recency, causal queries traverse the knowledge graph.

**Use this skill when:** You need context about past work, decisions, patterns, or fixes. Also use proactively when starting work on a topic that likely has stored context.

Workflow

Step 1: Formulate the Query

Write a natural language query. The intent classifier handles routing:

  • **Semantic**: "How does the authentication system work?"
  • **Temporal**: "What did we work on last week?"
  • **Causal**: "What caused the deployment failure?"
  • **Entity**: "Everything about PostgreSQL in this project"
  • **Multi-hop**: "How does the memory gate relate to consolidation?"

Step 2: Basic Recall

cortex:recall({
  "query": "<natural language question or topic>",
  "limit": 10
})

**Optional filters:**

  • `"domain"`: Filter to specific project domain
  • `"tags"`: Filter by tags (e.g. `["bug-fix", "authentication"]`)
  • `"min_heat"`: Only hot/active memories (0.0-1.0)
  • `"time_range"`: Temporal filter (e.g. `"last_7_days"`, `"last_30_days"`)
  • `"store_type"`: `"episodic"` (specific events) or `"semantic"` (consolidated knowledge)

Step 3: Hierarchical Recall (For Broad Topics)

When exploring a large topic area, use fractal hierarchical recall:

cortex:recall_hierarchical({
  "query": "<broad topic>",
  "levels": 3
})

This returns memories organized in L0 (broad clusters) > L1 (sub-topics) > L2 (specific memories). Use `cortex:drill_down` to navigate deeper into any cluster.

Step 4: Navigate Related Knowledge

After finding relevant memories, explore connections:

cortex:navigate_memory({
  "memory_id": <id>,
  "depth": 2
})

This uses Successor Representation (co-access graph) to find memories frequently accessed together — surfacing implicit connections the user may not have queried for.

Step 5: Trace Causal Chains

For understanding cause-and-effect relationships:

cortex:get_causal_chain({
  "entity": "<entity name>",
  "direction": "both"
})

This traverses the knowledge graph to show how entities relate through causal, temporal, and semantic relationships.

Tips

  • **Be specific**: "PostgreSQL index performance on memories table" retrieves better than "database stuff"
  • **Use proactively**: Before making a decision, recall if there's prior context — "have we made decisions about X before?"
  • **Recall at session start**: The SessionStart hook auto-injects hot memories, but explicit recall for your current task adds focused context
  • **Rate results**: After recall, use `cortex:rate_memory` on results that were useful/not-useful to improve future retrieval
Read more
@cdeust
Ships withhypermnesia-mcp

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.

7613 skills5 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
76
Star history of cdeust/Cortex on GitHub, a chart by star-history.com

Other skills on hypermnesia-mcp.

cortex-automate

cortex-automate

Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me…

cortex-consolidate

cortex-consolidate

Run memory maintenance — decay old memories, compress stale content, consolidate episodic memories into semantic knowledge, and…

cortex-debug-memory

cortex-debug-memory

Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from…

cortex-import

cortex-import

Import memories from other AI memory systems into Cortex. Supports claude-mem (SQLite), Claude Desktop sessions, ChatGPT web…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cortex-recall.

Which coding agents can use cortex-recall?
cortex-recall installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.