recall

A command for searching Cortex, a persistent memory system for AI coding agents, for saved decisions, conventions, and lessons from earlier work.

In plain words
What is it for?
Looking up previous database choices, coding conventions, troubleshooting lessons, and other stored project knowledge using focused search terms.
Why use it?
It helps recover relevant past context when the current session does not contain the original discussion.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00388
Opus 5 $0.00017 $0.00194
Sonnet 5 $0.00007 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 2d ago against content hash a25db9f9c23d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d 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.

plugins/cortex-plugin/skills/recall/SKILL.md · 52 lines

What it actually says

Cortex Recall

Search your persistent memory for relevant past knowledge. Cortex uses Clock-Quorum Recall: it admits a stored row when a path, symbol, alias, entity, stem, or closed-lexicon handle matches — not because a sentence is “nearby” in embedding space. An empty result means there was no shared handle. That is expected. Narrow with a path, symbol, or quoted phrase rather than rephrasing into vaguer English.

Usage

/cortex:recall <query>

The $ARGUMENTS placeholder contains your search query.

Budget Guidance

Cortex adapts detail level to token budget:

Query Type Budget Detail Level
Specific lookup 200 Balanced - key facts + context
Broad exploration 500 Full detail - complete entries
Quick check 0 Headlines only - fast preview

How to Use

  1. Formulate your question:

    • "What did I decide about database choice?"
    • "Error handling conventions"
    • "Windows compatibility issues"
  2. Run the skill:

    • Cortex will search and return relevant memories
  3. Follow up:

    • If too broad, narrow with more specific terms
    • If too specific, broaden the query

Example Queries

  • async rust framework choice - Architecture decision
  • error handling patterns - Coding conventions
  • windows file path issue - Bugfix lesson
  • authentication approach - Security decision

Integration

This skill uses the cortex_recall MCP tool with your $ARGUMENTS as the query.

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. 2d ago First seen · 52 lines · 34 tokens per session scan A a25db9f9c23d

Subscribe to this mod's changes

recall is a skill published in the GitHub repository AdityaVG13/cortex (9 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 388 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

output-format

结构化医学学习产物的统一格式校验。四条硬格式与 validateoutput.py 单次标准输入流程。指南章节、路径图、诊断、备考、医保、更新和每日单元使用;普通医学问答走 clinical-q-and-a 的轻量自检,通用任务不套用。.

TencentCloud/Octop · 72 tokens

guideline-learning-diagnosis

当用户要求评估自己对某份指南的掌握情况、制定指南学习/备考计划、梳理薄弱章节、 做教育性小测,或学习指南中的诊断标准、鉴别框架和流程关系时使用。 本技能只做学习诊断与诊断标准教学,不对具体患者作疾病诊断、治疗、处方、剂量、 急诊处置或医保报销判断。.

TencentCloud/Octop · 101 tokens

guideline-learning

指南学习流程约束。判断请求类型→读取状态→按流程创建轨道/预览/投递/排查迁移;操作命令与细则见 references/learning-operations.md。选题用权威信源,输出前经 output-format 校验。不生成诊疗/处方/急诊SOP/个体患者建议。.

TencentCloud/Octop · 81 tokens

digital-eguide

A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet"…

nexu-io/open-design · 103 tokens

agent-builder

Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code…

shareAI-lab/learn-claude-code · 125 tokens

copilotkit-self-update

Use when the user wants to update, refresh, or reinstall the CopilotKit agent SKILLS (the SKILL.md files that teach this agent about CopilotKit). NOT for updating the CopilotKit codebase or project — this is specifically about refreshing the skills/knowledge this agent has loaded. Triggers on "update copilotkit…

CopilotKit/CopilotKit · 144 tokens