memory-recall

memory-recall is a skill for Claude Code from zilliztech/memsearch. It costs 152 tokens per session (830 once invoked), scanned A, original, MIT.

A tool for searching and recalling useful information from earlier coding sessions, such as past decisions, debugging notes, and project knowledge.

In plain words
What is it for?
Use it to look up what was decided about a feature, why a change was made, or whether a problem has appeared before. It searches stored project memories and expands relevant results.
Why use it?
It reduces the need to repeat questions or reconstruct why a previous implementation was chosen. It helps recover context that is not present in the current conversation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the memsearch plugin — 1 skill shipped together

Good fit Use it to look up what was decided about a feature, why a change was made, or whether a problem has appeared before. It searches stored project memories and expands relevant results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zilliztech/memsearch/memory-recall
About the project

MemSearch is a cross-platform semantic memory layer for AI coding agents that stores human-readable Markdown memories and indexes them with Milvus for searchable retrieval. It is used by agent users who want persistent context and by developers building memory features into agents across tools such as Claude Code, Codex, DeepSeek Harness, OpenClaw, and OpenCode. Catalogue add-ons provide the hooks, skills, and plugin workflows that capture, retrieve, and maintain this memory.

zilliztech/memsearch · 2,894 stars · on GitHub · zilliztech.github.io

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 zilliztech/memsearch --skill memory-recall
Clone the repo
git clone --depth 1 https://github.com/zilliztech/memsearch

Made for: Claude Code.

Or install memsearch, the plugin that ships this one along with the rest of its 1 skill.

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/zilliztech/memsearch/memory-recall/github.svg)](https://agentmods.dev/skills/zilliztech/memsearch/memory-recall)
Your own site
<a href="https://agentmods.dev/skills/zilliztech/memsearch/memory-recall"><img src="https://agentmods.dev/badge/skills/zilliztech/memsearch/memory-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 memory-recall

Your own site · 80×15
<a href="https://agentmods.dev/skills/zilliztech/memsearch/memory-recall"><img src="https://agentmods.dev/badge/skills/zilliztech/memsearch/memory-recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 830 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.
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.00152 $0.00830
Opus 5.5 $0.00061 $0.00332
Sonnet 5.5 $0.00030 $0.00166
Haiku 4.5 $0.00015 $0.00083

Measured 4d ago against content hash d103e5340d5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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.

plugins/claude-code/skills/memory-recall/SKILL.md · 57 lines

How it starts

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

You are a memory retrieval agent for memsearch. Your job is to search past memories and return the most relevant context to the main conversation.

Project Collection

Run recall commands in the active workspace. Use the --default-collection value from the current project's MemSearch recall hint for both search and expand.

If the hint is missing, use your normal Bash tool to run the bundled script from the active workspace:

bash "${CLAUDE_SKILL_DIR}/../../scripts/derive-collection.sh" --workspace

The path above is relative to this skill's directory. If your host displays the placeholder literally, resolve ../../scripts/derive-collection.sh relative to the loaded SKILL.md. Continue with the collection name printed by the script (it starts with ms_).

Your Task

Search for memories relevant to: $ARGUMENTS

Steps

  1. Search: Run memsearch search "<query>" --top-k 5 --json-output --default-collection <collection name above> to find relevant chunks.

    • If memsearch is not found, try uvx memsearch instead.
    • Choose a search query that captures the core intent of the user's question.
  2. Evaluate: Look at the search results. Skip chunks that are clearly irrelevant or too generic.

  3. Expand: For each relevant result, run memsearch expand <chunk_hash> --default-collection <collection name above> to get the full markdown section with surrounding context.

  4. Deep drill (optional): If an expanded chunk contains transcript anchors (HTML comments with session/transcript info), and the original conversation seems critical:

    • Run memsearch transcript <jsonl_path> --turn <uuid> --context 3 to retrieve the original conversation turns (auto-detects the transcript format and includes tool calls). If memsearch is not found, use uvx memsearch instead.
    • If memsearch transcript reports an unrecognized transcript format, or the anchor format is unfamiliar (e.g. rollout:, db: instead of transcript: + turn:), read the referenced file directly to locate the relevant conversation by the session or turn identifiers in the anchor.

Read the full file on GitHub · 57 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 Changed · +6 lines d103e5340d5b
  2. 2mo ago Changed b9385e5c3d8c
  3. 2mo ago Changed · +3 tokens per session 338f065241cf
  4. 2mo ago First seen · 51 lines · 149 tokens per session scan A 6c269f28a03a

Subscribe to this mod's changes

memory-recall is a skill published in the GitHub repository zilliztech/memsearch (2,894 stars, last pushed 5d ago), licensed MIT. It adds 152 tokens to every session and 830 once invoked, about $0.0006 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

memory-recall compared with skills from other repositories

memory-recall next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-recallzilliztech/memsearchSkill2.9k5d agoMITA152Claude Code
memtomem-statusmemtomem/memtomemSkill26todayApache-2.0A34Claude Code, Codex
distillhiphapis/loopcraftSkill24mo agononeA80Claude Code
agent-v3-memory-specialistruvnet/rufloSkill82kyesterdayMITA25Claude Code
mem0-statusmem0ai/mem0Skill69kyesterdayApache-2.0A44Claude Code, Codex
xerjxerj-org/xerjSkill19ktodayApache-2.0A38Claude Code, Codex
knowledge-orgbojieli/ai-agent-bookSkill59k1mo agoApache-2.0A96Claude Code, Codex