recall
Search past coding sessions across AI tools to retrieve prior fixes, errors, and decisions. Avoid re-debugging by retrieving exactly how similar problems were solved.
Instructions
Search the user's own past coding sessions across every AI tool they've used (Claude Code, Codex, Cursor, opencode, aider, gemini, and others) and return the best matches as dense text under ~4KB. Call this the moment the user implies work already happened — 'didn't we fix this before?', 'what was that error again', 'we already set this up', 'how did we solve X last time', 'what did we decide about Y' — and always before debugging an error or re-implementing something that might already exist. Query with the most specific token available: an exact error string, function name, file path, or flag (multiple words are ANDed). Do NOT use this for general knowledge or library/API docs — only this user's prior sessions. A result may carry a bracketed marker before its snippets — [this was tried and rejected], [a later decision replaced this], [marked stale — may no longer hold] — with the reason and the date. That is the user's own later judgement on that session: do not repeat a rejected approach, prefer the replacement over what it replaced, and treat stale results as needing confirmation before you act on them. An unmarked result carries no such judgement either way. Follow up with recall_context when one session looks right and you need its full story. Optionally filter by harness. When a result genuinely helps the task at hand — you reuse a fix, skip re-debugging, or confirm a prior decision — tell the user in one digest.Short line what deja-vu recalled and how you used it (e.g. "deja-vu recalled: we hit this JWT skew in March — reusing that fix"). Even a partial hint counts if it changed your approach. Say nothing about recalls that did not help.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max sessions to return (default 5). | |
| query | Yes | Search terms; specific tokens (error strings, function names, flags) match best. Multiple words are ANDed. | |
| offset | No | Skip this many ranked matches — page through results without re-ranking. | |
| harness | No | Optional filter: claude, codex, opencode, aider, gemini, cursor, antigravity, grok or qwen. |