recall
/recall
Search memories from past Codex CLI sessions in the CURRENT project. Use when the user's question could benefit from historical context, past decisions, debugging notes, architectural choices, or prior conversations in this repo. For cross-project recall, use the recall-global skill instead.
- Author
- teimurjan ↗
- Repository
- lethe ↗
- Licence
- MIT
- Last repository change
- 16.07.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 1
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 16.07.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Search memories from past Codex CLI sessions in the CURRENT project. Use when the user's question could benefit from historical context, past decisions, debugging notes, architectural choices, or prior conversations in this repo. For cross-project recall, use the recall-global skill instead.
Original author description
Search memories from past Codex CLI sessions in the CURRENT project. Use when the user's question could benefit from historical context, past decisions, debugging notes, architectural choices, or prior conversations in this repo. For cross-project recall, use the recall-global skill instead.
How it works
- Scope
- Task
- Steps
SKILL.md preview
---
name: recall
description: Search memories from past Codex CLI sessions in the CURRENT project. Use when the user's question could benefit from historical context, past decisions, debugging notes, architectural choices, or prior conversations in this repo. For cross-project recall, use the recall-global skill instead.
---
You are a memory retrieval agent for `lethe`, a memory store that indexes your Codex / Claude Code 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.
Memories are indexed straight from your Codex transcripts under `$CODEX_HOME/sessions` (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.
4. **Summarize.** Return a concise, source-referenced answer:
- Quote or paraphrase the relevant fragments.
- Cite which session each piece came from when it disambiguates.
- If nothing clearly applies, say "No relevant memories found in this project — consider running recall-global." — do not fabricate.
Keep the response tight. The caller wants history, not a tutorial on how you found it.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · teimurjan/lethe | 90 | MIT |
| gtapps/hermitd | 100 | MIT |
| wenlan-app/wenlan | 100 | Apache-2.0 |
| wenlan-app/wenlan | 100 | Apache-2.0 |
| davepoon/buildwithclaude | 100 | MIT |
| rohitg00/agentmemory | 100 | Apache-2.0 |
| smart-ai-memory/attune-ai | 100 | Apache-2.0 |
| spencerneutron/Synapse | 100 | MIT |
| cihanatak/lr-memory | 100 | MIT |
Database snapshot: 13.11.2026 · package version 5453be6e2625 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90recall-global
Search memories across ALL registered lethe projects (cross-repo). Use when the user references work in another repo, asks "what did we do in project X", compares notes across projects, or when the single-project recall skill returned nothing relevant. For same-project recall,… - 86memory-recall
Search and recall relevant memories from past sessions via MemSearch. Use for past decisions, debugging notes, previous conversations, and project knowledge, especially when the context includes a MemSearch memory hint. Skip purely current-code questions or when the user asks to ignore memory. - 90memory-recall
Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why… - 90recall-global
Search memories across ALL registered lethe projects (cross-repo). Use when the user references work in another repo, asks "what did we do in project X", compares notes across projects, or when the single-project recall skill returned nothing relevant. For same-project recall,… - 100cortex-recall
Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context… - 100memory-recall
Search and recall memories from the Engram files. Trigger when a topic may relate to past discussions, when the user references previous context, or when the user asks "do you remember…".