deja
Search your own past AI coding sessions across Claude, Codex, and opencode to recall errors, commands, file context, and decisions, then reuse proven fixes.
Instructions
This user's own past sessions from every AI coding tool on this machine — not general knowledge, not library docs. Modes:
recall: search past sessions. An exact error string, name or path is the strongest query; your own words work too.
context: the full story of one session, when a recall hit is not enough.
blame: why a file is the way it is, before you edit or delete it. Sessions, not git authorship.
fix: you just hit an error — what this machine ran after that same error. Pass the output verbatim.
how: the command and flags this user really runs for a thing, instead of a guessed one.
orient: the commands past sessions ran in this project and the files they worked in, before you go reading.
remember: store one settled decision for a later session. A bracketed marker on a result is the user's own later judgement; act on what it says. When a result helps, open your reply with one line: "déjà vu: — (deja:)". Say nothing about recalls that did not help.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | What to ask about: the question or exact token; for blame a path, for fix the failing output verbatim, for remember the fact. | |
| mode | Yes | ||
| limit | No | Max results. | |
| harness | No | Optional filter, the agent that wrote it: claude, codex, opencode, aider and 31 more (`deja sources`). | |
| project | No | Optional project filter; for remember, where it is filed. |