cortex-recall

cortex-recall is a skill for Claude Code from cdeust/Cortex. It costs 94 tokens per session (842 once invoked), scanned A, original, MIT.

A skill for searching Cortex’s persistent project memory. It retrieves earlier decisions, fixes, patterns, and other stored context using ordinary questions.

In plain words
What is it for?
Use it to find previous fixes, recall why a decision was made, investigate earlier bugs, retrieve project knowledge, or search for related past work.
Why use it?
It saves time looking for information from past work and helps an AI assistant use relevant project history before making decisions.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Part of the hypermnesia-mcp plugin — 13 skills, 3 commands, 2 MCP servers shipped together

Good fit Use it to find previous fixes, recall why a decision was made, investigate earlier bugs, retrieve project knowledge, or search for related past work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/cortex/cortex-recall
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cdeust/Cortex --skill cortex-recall
Clone the repo
git clone --depth 1 https://github.com/cdeust/Cortex

Made for: Claude Code.

Or install hypermnesia-mcp, the plugin that ships this one along with the rest of its 13 skills, 3 commands, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cortex-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/cortex/cortex-recall/github.svg)](https://agentmods.dev/skills/cdeust/cortex/cortex-recall)
Your own site
<a href="https://agentmods.dev/skills/cdeust/cortex/cortex-recall"><img src="https://agentmods.dev/badge/skills/cdeust/cortex/cortex-recall/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cortex-recall

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/cortex/cortex-recall"><img src="https://agentmods.dev/badge/skills/cdeust/cortex/cortex-recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00842
Opus 5.5 $0.00038 $0.00337
Sonnet 5.5 $0.00019 $0.00168
Haiku 4.5 $0.00009 $0.00084

Measured 1mo ago against content hash 850705cc79bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cortex-recall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cortex-recall/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 90 lines · 94 tokens per session scan A 850705cc79bd

Subscribe to this mod's changes

cortex-recall is a skill published in the GitHub repository cdeust/Cortex (75 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 842 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

xmemo-memory

Persistent, user-owned memory for agents. Use the standalone runtime to remember, recall, search, preserve restart continuity, manage TODOs and expenses, inspect account overview, activity and stats diagnostics, read user Cloud Skills (read-only), configure agent instructions, check for updates or upgrade runtime, or…

yonro/memory-os-cli · 87 tokens

temporal-query

Answer time-travel questions over stored memory — what was believed at a past point in time, when a belief changed, and what replaced it. Use when the user says "as of", "back in", "at the time", "history of", "timeline", "what did I think then", or asks why a current memory contradicts an older one.

n24q02m/mnemo-mcp · 77 tokens

knowledge-audit

Review and clean up stored memories — find duplicates, contradictions, stale entries, and consolidate.

n24q02m/mnemo-mcp · 21 tokens

memory-commit

Use when the user explicitly says "remember this", "save this", "ghi nho", "luu lai", "save for next time", or otherwise asks to persist the immediately preceding context. Captures with the appropriate contexttype (decision, preference, fact, skill, task, conversation) so future sessions can retrieve it accurately.

n24q02m/mnemo-mcp · 72 tokens

recall-context

Use at session start, before significant decisions, or when a new task references a known project to recall mnemo memories matching the current working directory, recently edited files, or topic keywords. Helps maintain continuity across sessions and avoid redoing past research.

n24q02m/mnemo-mcp · 53 tokens

passport-bootstrap

Use when the user installs mnemo-mcp on a fresh machine and wants to restore prior memory state from S3 or Google Drive (Phase 2 passport sync). Triggers on phrases like "set up mnemo on this machine", "restore my memory passport", "import passport", "bootstrap mnemo", or when the user says they got a new laptop / VM…

n24q02m/mnemo-mcp · 83 tokens