recall

recall is a skill for Claude Code from teimurjan/lethe. It costs 54 tokens per session (665 once invoked), scanned A, original, MIT.

A memory-search skill for finding relevant information from past Claude Code sessions in the current project. It searches a Lethe collection containing indexed conversation transcripts.

In plain words
What is it for?
Use it to answer questions about previous work, investigate past fixes, and retrieve earlier project-specific discussions.
Why use it?
It helps recover earlier decisions, debugging notes, and architectural context without searching every transcript manually. It is limited to the project being worked on.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the lethe plugin — 2 skills, 1 hook shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add teimurjan/lethe
Claude Code
/plugin install lethe

Made for: Claude Code.

Or install lethe, the plugin that ships this one along with the rest of its 2 skills, 1 hook.

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/teimurjan/lethe/recall.svg)](https://agentmods.dev/skills/teimurjan/lethe/recall)
Your own site
<a href="https://agentmods.dev/skills/teimurjan/lethe/recall"><img src="https://agentmods.dev/badge/skills/teimurjan/lethe/recall.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 665 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.00054 $0.00665
Opus 5 $0.00027 $0.00332
Sonnet 5 $0.00011 $0.00133
Haiku 4.5 $0.00005 $0.00067

Measured 6d ago against content hash 61d7bdf7d323, 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 6d 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/recall/SKILL.md · 44 lines

How it starts

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

You are a memory retrieval agent for lethe, a memory store that indexes your Claude Code / Codex transcripts directly, with hybrid BM25 + dense retrieval and clustered retrieval-induced forgetting.

Scope

This skill searches memories in the current project only. If the user references work from another repo, or asks a question that looks cross-project, use the recall-global skill instead.

Project namespace

Collection: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/derive-collection.sh"

Memories are indexed straight from your Claude Code transcripts under $CLAUDE_CONFIG_DIR/projects (no .lethe/ is written into the repo). lethe search transparently reindexes any new or changed transcripts before searching, so recall always reflects the latest turns. Each hit is a raw user+assistant turn, not a summary.

Task

Find memories relevant to: $ARGUMENTS

Steps

  1. Search. Run the CLI:

    • lethe search "<query>" --top-k 5 --json-output
    • If lethe is not on PATH, ask the user to install it: brew tap teimurjan/lethe && brew install lethe (macOS / Linuxbrew) or cargo install lethe-cli.

    Output is JSON: [{"id": "...", "content": "...", "score": 4.2}, ...]. The content starts with a <!-- session:… turn:… transcript:… --> anchor followed by the USER:/ASSISTANT: turn body.

    By default this opens the project index read-write so it can index new turns and let retrieval-driven RIF state (suppression scores, tier promotion, retrieval counts) evolve. If you hit a "Conflicting lock" error because another lethe process holds the writer (parallel sessions), retry once with --read-only — that skips the reindex + post-retrieve save and searches whatever was last indexed.

  2. Filter. Skip results that obviously don't match the user's question. A weak cross-encoder score (< 0) usually means a miss.

  3. Expand. For the top 2–3 hits, run lethe expand <id1> <id2> <id3> (multi-arg, single call) to see the full turn body. Output is plain text with === <id> === headers between chunks.

Read the full file on GitHub · 44 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. 6d ago First seen · 44 lines · 54 tokens per session scan A 61d7bdf7d323

Subscribe to this mod's changes

recall is a skill published in the GitHub repository teimurjan/lethe (11 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 665 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-30.

Related

Other skills, from other repositories

knowledge_store_skill

Skill for working with local .knowledge.yaml files via KnowledgeStore. Use this when you need to recall, search, or manage directory-local memories and knowledge links stored in plain YAML alongside the user's project files. KnowledgeStore is directory-scoped. Each directory that contains a .knowledge.yaml file…

NPC-Worldwide/npcpy · 346 tokens

cocoscout

Relevance-ranked context loading — Tier 2 async subagent (Haiku, <5s) that fires after Tier 1 deterministic checks in UserPromptSubmit. Injects ranked context from CocoGrove, CocoContext, Environment Inspector, Prompt Studio, and CocoDream.

Snowflake-Labs/cocoplus · 59 tokens

cocohealth

Context utilization monitor — background monitor that samples context window utilization via PostToolUse hook, surfaces advisory at 60% and critical warning with recovery decision matrix at 70%.

Snowflake-Labs/cocoplus · 38 tokens

pod-kb

Display the project knowledge base (lifecycle/kb.md) — project-specific patterns, decisions, and gotchas accumulated by CocoCupper across sessions.

Snowflake-Labs/cocoplus · 33 tokens

pod-resume

Reconstruct context for a returning developer. Reads .cocoplus/ state and generates a narrative summary of project status, last achievements, pending tasks, recent decisions, available patterns, CocoCupper insights, and recommended next action.

Snowflake-Labs/cocoplus · 50 tokens

pull-search

CocoPull session archive search — full-text search across past sessions. Handles $pull search " " with --since and --feature filters, and $pull index rebuild.

Snowflake-Labs/cocoplus · 38 tokens