teimurjan/lethe/recall
Claude Code and agent skill by teimurjan/lethe
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install teimurjan/lethe/recallSKILL.md
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
- Search. Run the CLI:
lethe search "<query>" --top-k 5 --json-output- If
letheis not on PATH, ask the user to install it:brew tap teimurjan/lethe && brew install lethe(macOS / Linuxbrew) orcargo 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.
- Filter. Skip results that obviously don't match the user's question. A weak cross-encoder score (< 0) usually means a miss.
- 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.
- 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.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/codex/skills/recall/SKILL.md
Popularity
- Repository stars
- 11
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teimurjan/lethe/recall)