recall

recall is a skill for Claude Code from naimkatiman/continuous-improvement. It costs 64 tokens per session (700 once invoked), scanned A, original, MIT.

A search tool for past coding-agent activity, using relevance ranking to find earlier tool calls related to a question or problem. BM25 is a text-search ranking method that orders likely matches first.

In plain words
What is it for?
Use it before investigating familiar errors, risky operations, large files or parts of a codebase worked on in earlier sessions.
Why use it?
It can reveal an earlier solution or failed attempt, saving time and avoiding repeated mistakes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the continuous-improvement plugin — 28 skills, 6 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/naimkatiman/continuous-improvement/recall
Any agent
npx skills add naimkatiman/continuous-improvement --skill recall
Clone the repo
git clone --depth 1 https://github.com/naimkatiman/continuous-improvement

Made for: Claude Code.

Or install continuous-improvement, the plugin that ships this one along with the rest of its 28 skills, 6 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 recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/naimkatiman/continuous-improvement/recall.svg)](https://agentmods.dev/skills/naimkatiman/continuous-improvement/recall)
Your own site
<a href="https://agentmods.dev/skills/naimkatiman/continuous-improvement/recall"><img src="https://agentmods.dev/badge/skills/naimkatiman/continuous-improvement/recall.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 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.1 $0.00064 $0.00700
Opus 5 $0.00032 $0.00350
Sonnet 5 $0.00013 $0.00140
Haiku 4.5 $0.00006 $0.00070

Measured 5d ago against content hash a0a3798d7834, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 5d 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/continuous-improvement/skills/recall/SKILL.md · 51 lines

How it starts

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

Recall — Episodic Search Over Past Sessions

Law 1 says research before executing. The cheapest research is your own history: the exact error you are staring at may have been solved three sessions ago. observations.jsonl already records every tool call, but an append-only log is not searchable. Recall turns that log into a ranked, queryable memory.

When to Activate

  • Before tackling a problem that feels familiar ("haven't I seen this error before?").
  • Before a risky or destructive operation — check whether a past attempt failed.
  • Before reading large files from scratch — a past session may already summarize the relevant facts.
  • When onboarding into an unfamiliar area of the codebase that you have touched before.

Core Concept

Recall builds an in-memory BM25 index over the observation rows and answers a query with the most relevant past activity, newest-first on ties:

ci_recall query="permission denied push"
ci_recall query="jq command not found" k=3
ci_recall query="auth login" since=7d

Each result is a past tool call with a redacted snippet, a relevance score, and a timestamp.

Privacy

Snippets are passed through a secret redactor before they are surfaced. AWS access keys, JWT-shaped triplets, bearer tokens, KEY/SECRET/TOKEN/PASSWORD assignments, and long hex strings are masked. The observation log already caps output at 200 characters; redaction is the second layer.

Limitations

  • Lexical, not semantic. A query for "login" will not surface activity that only ever said "authentication". Search with the vocabulary that actually appeared in the tool calls, or try several phrasings.
  • Scoped to the captured history. Recall only knows what the hooks recorded. Thin-schema rows (no input/output, emitted when the Node observer is not wired) contribute little signal.
  • In-memory rebuild per query. Dependency-free and fast at current volumes; a node:sqlite FTS5 index is a planned follow-up if the log grows past ~100k rows.

Read the full file on GitHub · 51 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. 5d ago First seen · 51 lines · 64 tokens per session scan A a0a3798d7834

Subscribe to this mod's changes

recall is a skill published in the GitHub repository naimkatiman/continuous-improvement (7 stars, last pushed 11d ago), licensed MIT. It adds 64 tokens to every session and 700 once invoked, about $0.0003 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

remember

Review auto-memory entries and propose promotions to CLAUDE.md, CLAUDE.local.md, or shared memory. Also detects outdated, conflicting, and duplicate entries across memory layers.

sneg55/agent-starter · 38 tokens

reflect

Per-project self-improvement - reads the .harness ledger and feedback memories, then proposes gated rule/threshold/ADR changes so the project stops repeating mistakes. Run periodically.

sneg55/agent-starter · 37 tokens

ucai-patterns

Use when the user asks about Claude Code best practices, how to write agents, how to use hooks, how to manage context, or how to work effectively with Claude Code's native systems.

Joncik91/ucai · 42 tokens

dream

Memory consolidation - review, merge, prune, and index memory files. Run periodically to keep memories organized and up-to-date.

sneg55/agent-starter · 27 tokens

meta-synthesis

Reads /context/skill-sessions.md (the session log every execution skill writes to) to detect patterns that repeat across 2+ sessions, proposes new guardrails for /context/meta-patterns.md, and proposes brain updates for confirmed learnings. Run on-demand or roughly weekly — not a scheduled background job. Trigger on…

stefanoskarakasis/Product-Marketing-Skills · 106 tokens

meta-learn

Deliberate deep-dive capture for a completed skill session that deserves more than the automatic one-line row every T1/T2 skill already logs at its own close — asks three extraction questions (what surprised you, what was wrong, what was missing), turns real answers into specific, falsifiable pattern statements, and…

stefanoskarakasis/Product-Marketing-Skills · 132 tokens