memory-recall

memory-recall is a skill for Claude Code, Codex from zircote/subcog. It costs 0 tokens per session (857 once invoked), scanned A, original, MIT.

A skill for searching persistent memories and bringing relevant past decisions, practices, and lessons into the current work.

In plain words
What is it for?
It is for recalling project decisions, finding previous approaches, checking known problems, and searching memories by exact terms or broader meaning.
Why use it?
It reduces repeated investigation and helps the agent follow choices and patterns established in earlier sessions.

Skill for Claude CodeCodex

Part of the subcog plugin — 4 skills, 9 commands, 5 hooks shipped together

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/zircote/subcog/memory-recall
Any agent
npx skills add zircote/subcog --skill memory-recall
Clone the repo
git clone --depth 1 https://github.com/zircote/subcog

Made for: Claude Code, Codex.

Or install subcog, the plugin that ships this one along with the rest of its 4 skills, 9 commands, 5 hooks.

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 memory-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/zircote/subcog/memory-recall.svg)](https://agentmods.dev/skills/zircote/subcog/memory-recall)
Your own site
<a href="https://agentmods.dev/skills/zircote/subcog/memory-recall"><img src="https://agentmods.dev/badge/skills/zircote/subcog/memory-recall.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 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.00000 $0.00857
Opus 5 $0.00000 $0.00428
Sonnet 5 $0.00000 $0.00171
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

memory-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 4d 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/memory-recall/SKILL.md · 108 lines

How it starts

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

Memory Recall Skill

Search and surface relevant memories to inform current work with decisions, patterns, and learnings from past sessions.

Trigger Phrases

  • "what did we decide about", "how do we handle"
  • "find memories about", "search for", "recall"
  • "what's our approach to", "what patterns do we use"
  • "any gotchas with", "lessons learned about"
  • "previous decisions on", "remind me"

Quick Reference

Search Mode Best For Example
hybrid (default) General queries, balanced results "database storage decision"
vector Conceptual similarity, fuzzy matching "how to handle errors gracefully"
text Exact terms, specific keywords "PostgreSQL"

Execution Strategy

Search Quality Guidelines:

  • Start broad, then narrow with namespace filters
  • Use vector mode for conceptual searches
  • Use text mode when you know exact terms
  • hybrid mode (default) works best for most queries

Intelligent Search Workflow

  1. Understand the intent - what does the user need to know?
  2. Identify keywords - extract searchable terms
  3. Choose search mode based on query type
  4. Apply namespace filter if domain is clear
  5. Execute search via MCP tool or CLI
  6. Interpret results - explain relevance scores
  7. Synthesize findings - summarize key insights

Score Interpretation

Search Strategies by Use Case

Read the full file on GitHub · 108 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. 4d ago First seen · 108 lines · 0 tokens per session scan A 83015572f8aa

Subscribe to this mod's changes

memory-recall is a skill published in the GitHub repository zircote/subcog (28 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 857 tokens. 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

clawmem

ClawMem operational reference for agents at query time — the 3-rule escalation gate, MCP tool routing, the 4 query-optimization levers, pipeline behavior (query vs intentsearch), composite scoring, and memory lifecycle (pin/snooze/forget). Use when tuning retrieval, troubleshooting recall quality, or any ClawMem…

yoloshii/ClawMem · 120 tokens

engrama-onboard

Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…

scops/engrama · 104 tokens

ariadne

Mandatory long-term memory workflow for Codex, Claude Code, and MCP clients backed by the local Ariadne server (Qdrant + bge-m3). Always use at the start or resumption of substantive project work, after context compaction, when prior work or decisions may matter, and immediately after durable decisions, gotchas…

mclaut/ariadne · 95 tokens

check-memory-before-acting

Search this project's own memory before doing something it may already have opinions about. Use before running a build/test/deploy command, before choosing a library or approach, before changing configuration or CI, and before re-opening a decision that may already have been settled. Also use when a task resembles…

GiulioDER/RE-call · 72 tokens

keep-memory-current

Load this project's memory when you start, and write back what you learned before you stop. Use at the beginning of a work session, when finishing a task or about to end a session, after debugging something non-obvious, after a decision that took argument to reach, and whenever you catch yourself thinking "I should…

GiulioDER/RE-call · 81 tokens

kb-log

결정·삽질 즉시 기록 — 아키텍처/기술 결정을 내렸거나 버그의 원인을 규명한 "직후" 팀 지식베이스에 기록한다(recorddecision/recordlearning). kb MCP를 못 쓰는 상황(미연결, 서브에이전트)이면 .kb/ledger.jsonl 원장에 append해 유실을 막는다. "이 결정 기록해줘", "방금 삽질 남겨" 요청 시, 또는 중요한 결정·디버깅 완료 직후 자발적으로 사용.

riemannulus/knowledge-base · 124 tokens