deja-search
Skill1.1k starsChanged 4 months agoMITView on GitHub
deja-vu memory — search the user's past AI coding sessions with the deja CLI. Use when they say things like 'didn't we fix this before', 'what did we decide about X' or 'I already have that', before re-debugging an error that may already be solved, and before telling them something on this machine does not exist.
Trending
Quiet since October.about the whole repository
Who's talking about vshulcz/deja-vu
- A Hacker News story“Open-source memory for coding agents, synced over SSH”Hacker News · Jul 15, 2026 · 131 points
- @yug1224.com“複数のAIコーディングエージェントの過去のセッション履歴をローカルで一括検索できるツールっぽい エージェント間で記憶を共有できて開発がスムーズになりそう yug1224 starred vshulcz/deja-vu…”Bluesky · Sep 21, 2026 · 3 likes
- @betterhn20.e-work.xyz“Open-source memory for coding agents, synced over SSH https://github.com/vshulcz/deja-vu/ …”Bluesky · Jul 15, 2026 · 2 likes
- @technews4869.bsky.social“github.com/vshulcz/deja-vu GitHub - vshulcz/deja-vu: One memory shared by Claude Code, Codex, Cursor, …”Bluesky · Sep 21, 2026 · 1 likes
- @epicvibecoder.bsky.social“your agents already solved this. memory tools start empty. deja-vu starts full: it indexes the sessions …”Bluesky · Aug 4, 2026 · 1 likes
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub, Bluesky and Hacker News (49 times).
On GitHub · 39
- Oct 5, 2026agent-skills.github.vshulcz.deja-vu: 0.21.5 → 0.21.6 — sudosubin/agents.nix0 reactions
- Oct 4, 2026deja-vu 0.21.6 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 4, 2026codex-plugins.github.vshulcz.deja-vu: init at 0.21.5 — sudosubin/agents.nix0 reactions
- Oct 4, 2026codex-marketplaces.github.vshulcz.deja-vu: init at 0.21.5 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.vshulcz.deja-vu: init at 0.21.5 — sudosubin/agents.nix0 reactions
34 more on GitHub
- Oct 4, 2026claude-code-marketplaces.github.vshulcz.deja-vu: init at 0.21.5 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.vshulcz.deja-vu: init at 0.21.5 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.vshulcz.deja-vu: 0.21.0 → 0.21.5 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.vshulcz.deja-vu: init at 0.21.0 — sudosubin/agents.nix0 reactions
- Sep 29, 2026deja-vu 0.21.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 28, 2026Add project: deja-vu — RyanAlberts/best-of-Agent-Harnesses0 reactions
- Sep 24, 2026【开源自荐】deja-vu:把本机已有的会话记录变成编码代理的记忆,同一任务少花 58% token — GitHubDaily/GitHubDailysays it tested it0 reactions
- Sep 24, 2026docs(cc-community): screenshot-lead research batch 01 (plan 0008 row 20) — qte77/ai-agents-research0 reactions
- Sep 23, 2026deja-vu 0.21.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 21, 2026deja-vu: refresh evidence for v0.20.2 — carsteneu/ai-memory-comparison0 reactions · 1 comment
- Sep 15, 2026Add deja-vu to Knowledge Management & Memory — TensorBlock/awesome-mcp-servers0 reactions · 2 comments
- Sep 15, 2026Add deja-vu to Knowledge & Memory — MobinX/awesome-mcp-list0 reactions
- Sep 15, 2026Add deja to Product & Project — TsinghuaC3I/Awesome-Memory-for-Agents0 reactions
- Sep 15, 2026Add deja to Runtime / Tool — InftyAI/Awesome-LLMOps0 reactions · 1 comment
- Sep 15, 2026docs: add deja-vu to 知识、记忆与 RAG — yzfly/Awesome-MCP-ZH0 reactions
- Sep 6, 2026Add deja-search to Utilities — spencerpauly/awesome-cursor-skills0 reactions
- Sep 6, 2026deja-vu: twenty-two agents — awesome-dsh-plugin/awesome-dsh-plugin0 reactions
- Sep 4, 2026[开源自荐] deja-vu:把 Claude Code、Codex、Cursor 等 24 个编码代理留在本机的会话记录变成代理的记忆 — 521xueweihan/HelloGitHub0 reactions · 1 comment
- Sep 4, 2026Add deja-vu to the extension directory — aaif-goose/goose0 reactions · 1 comment
- Sep 4, 2026docs(memory): add deja, a standalone provider over the sessions already on disk — NousResearch/hermes-agent0 reactions · 3 comments
- Sep 3, 2026【开源自荐】deja-vu:把 Claude Code、Codex、Cursor 等 34 个编码代理留在本机的会话记录变成可检索的记忆,装上就能用,不需要模型和 API key — ruanyf/weekly0 reactions
- Sep 3, 2026[FEATURE]: add opencode-deja to the Ecosystem plugins list — anomalyco/opencode0 reactions
- Sep 2, 2026docs: opencode-deja missing from the Ecosystem plugins list — anomalyco/opencode0 reactions · 2 comments
- Sep 2, 2026[Add Plugin] dsh-deja — Ericwong5021/deepseek-plugin-store0 reactions · 1 comment
- Sep 2, 2026[Server Submission]: deja-vu — local memory over the session histories of twenty-one coding agents — cline/mcp-marketplace0 reactions
- Aug 30, 2026Déjà vu-style install snippets (steal snippets, not the product) — edheltzel/Recall0 reactions · 1 comment
- Aug 30, 2026Cursor capture wire: on-disk parser of state.vscdb + agent-transcripts JSONL — edheltzel/Recall0 reactions
- Aug 30, 2026catalog: add vshulcz-dsh-deja (community curation, created by @vshulcz) — diegosouzapw/awesome-omni-dsh-plugins0 reactions
- Aug 25, 2026[Request]: deja-vu — ScoopInstaller/Main0 reactions
- Aug 23, 2026Add project: deja — RyanAlberts/best-of-Agent-Harnesses0 reactions · 2 comments
- Aug 23, 2026Add deja-mcp-server — zed-industries/extensions0 reactions · 16 comments
- Aug 22, 2026[Submit] deja-vu — local memory over the session histories of 20 coding agents — chatmcp/mcpso0 reactions
- Jul 19, 2026déjà vu: 코딩 에이전트 간 메모리 레이어로 ~12ms 내 대화 기록 검색 가능 — roomedia/ax-trend0 reactions
- Jul 16, 2026[Resource]: deja-vu — hesreallyhim/awesome-claude-code0 reactions · 2 comments
On Bluesky · 9
- Sep 21, 2026複数のAIコーディングエージェントの過去のセッション履歴をローカルで一括検索できるツールっぽい エージェント間で記憶を共有できて開発がスムーズになりそう yug1224 starred vshulcz/deja-vu… — @yug1224.com3 likes and reposts
- Jul 15, 2026Open-source memory for coding agents, synced over SSH https://github.com/vshulcz/deja-vu/ (https://news.ycombinator.com/item?id=48923111) — @betterhn20.e-work.xyz2 likes and reposts
- Sep 21, 2026github.com/vshulcz/deja-vu GitHub - vshulcz/deja-vu: One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw... — @technews4869.bsky.social1 likes and repost
- Aug 4, 2026your agents already solved this. memory tools start empty. deja-vu starts full: it indexes the sessions your coding agents already wrote to… — @epicvibecoder.bsky.social1 likes and repost
- Jul 17, 2026📰 A new open-source memory system for coding agents has been developed and made available for use over SSH, offering a collaborative… — @sagalinked.bsky.social1 likes and repost
4 more on Bluesky
- Jul 16, 2026deja-vu : Your agents already solved this. deja finds it.Claude Code, Codex and opencode write every conversation to local files —… — @ytroncal.bsky.social1 likes and repost · 1 reply
- Jul 15, 2026Open-source memory for coding agents, synced over SSH https://github.com/vshulcz/deja-vu/ (https://news.ycombinator.com/item?id=48923111) — @betterhn50.e-work.xyz1 likes and repost
- Jul 15, 2026Open-source memory for coding agents, synced over SSH | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Jul 15, 2026Open-source memory for coding agents, synced over SSH Discussion — @hn100.bsky.social1 likes and repost
On Hacker News · 1
- Jul 15, 2026Open-source memory for coding agents, synced over SSH131 points · 35 comments
In this repositoryOne other file it gives its agents.
- docs/llms.txtllms.txt
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
If deja is not on PATH or the index is empty, say that history search is unavailable.
- Distinctive: line 63
When the user asks you to find or suggest their standing rules — the things they keep having to tell their agents:
- Very specific: line 65
Run deja rules candidates (--since 90d for recent ones).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Search deja before re-deriving past work: when the user refers to earlier sessions or decisions, before debugging an error, and before implementing something that may already exist. It searches this machine's own history across every AI coding tool used on it, going back further than deja itself was installed.
Two triggers are easy to miss because they are not questions:
- The user states that something of theirs already exists and you have no record of it — "I already have X", "we use Y for this", "that's what Z is for". They are not asking; they are telling you the history exists, which is a stronger reason to search than a question is.
- You are about to tell the user that something on this machine does not exist — a command, a file, a setting, a past decision. Recall first. Absence from the code in front of you is not absence from the machine, and a wrong denial sends them to rebuild what they have.
This skill drives the deja binary through the shell. If the deja MCP tool is available in this session — one tool with a mode of recall, context, blame, fix, how, orient or remember — use that instead: same index, one less hop. It appears only when deja install has wired this harness.
Finding something
deja search --json "<query>": the most specific token available — an exact error string, function name, file path, or flag. Several words are ANDed. Only this user's own sessions, never library docs or general knowledge.deja ctx <query|id-prefix>: a full digest of the single best-matching session, once a hit looks right and the reasoning behind it matters. Takes no flags.deja show <id-prefix> --harness <name> --json: the turns themselves, paged with--offsetand--limit. Use the id and harness a hit printed.deja blame <path> --json: before editing, refactoring or deleting a file, the prior sessions that discussed it, so you know why it is shaped the way it is. Session history, not git authorship.deja blame <path>:<line>narrows it to one line: the commit that last changed it and the session whose edit replaced the text that commit deleted, or one sentence saying why neither can be named.deja fix "<pasted error>": the commands that followed that same error before, in sessions where it did not come back. Paste the failing output verbatim.deja how <what>: the real command with the real flags this machine runs for a build, test, deploy or script, ordered by how many sessions ran it. A guessed invocation is plausible and fails on this setup. It answers from this project;--all-projectsasks the machine, which is what to use when the answer is a tool rather than a repository's own wrapper.deja remember "<text>": store one durable decision after it is settled, as a single self-contained fact. Not transcripts, not anything already obvious from the code.deja wip: what the last session in this directory was doing — the task, what it settled, the files in flight, the last command and whether it failed. Ask it when you have lost the thread of your own work, after a compaction or on a fresh session in a repository you were just in.
Useful flags on search: --harness, --project, --since 30d, --role user|assistant|tool|files|command|edit|summary, --session <id>, --limit 1-100, --all, --re for a regular expression.
Reading a result
--json returns an envelope: tier, total, capped, hits.
tier: "relevance"means nothing matched — those are the nearest sessions deja could find, and counting them as hits overstates what is there.tier: "error"IS a match: the query was an error and those sessions hit it, matched by signature rather than by words.totalis how many sessions matched;cappedsays a cap hid some of them. Read those two for coverage, never the length ofhits.policy_withheld, when present, is how many matching sessions this machine's trust policy kept out of the answer — an empty result and a rule are different answers.- A hit may carry
supersededwith a date: the user's own later judgement on that session. Do not repeat a rejected approach, prefer a replacement over what it replaced, and treat a stale result as needing confirmation before acting on it. A hit without it carries no judgement either way.
Saying what you used
When recalled history genuinely helps — a reused fix, a skipped re-debug, even a partial hint that changed your approach — tell the user in one short line at the start of your reply, naming the session: "déjà vu: we hit this JWT skew in March — reusing that fix (deja:a1b2c3d4-e5f)". Say nothing about recalls that did not help. This is provenance, not advertising; a note on every call would be noise.
Limits worth respecting
- Result windows are bounded. Do not report corpus-wide counts, or claim a complete audit, from the number of hits you got back.
- If
dejais not on PATH or the index is empty, say that history search is unavailable. Do not invent what it might have found. - Work a subagent did is in the index as its task, its answer and the edits it made, not in full. A Claude Task or a Cursor subagent writes its turns and tool calls to its own transcript, and the parent keeps only the launch and a summary — so a hit on the parent can look complete while the run itself is elsewhere.
DEJA_INCLUDE_SUBAGENTS=1takes the whole child transcript in; Cursor's are still left out by default. - Vary the wording and try a second query before concluding nothing is there. Exact tokens match best, so an error string beats a paraphrase of it.
Rules the user keeps repeating
When the user asks you to find or suggest their standing rules — the things they keep having to tell their agents:
- Run
deja rules candidates(--since 90dfor recent ones). It lists turns where the user corrected an agent, across every tool on this machine, each numbered#nwith the session it came from. It writes nothing. - Find the standing rules in that list: preferences the user would want applied in every future session, stated in at least two different sessions. Ignore one-off corrections about a specific task. For each rule give one imperative sentence, the
#nthat state it, and how many distinct sessions. At most 15, most recurring first. - Show the list and stop. Write nothing until the user picks. Then show the exact lines you will append to the rules file
deja rulesnames, append only those, and rundeja rules sync, which copies the file into every installed agent's global rules file.
This takes a strong model: on one machine's 236 candidates a frontier model found the user's recurring rules with real citations, and a 9B local model invented candidate numbers. On a small model, say so rather than guess.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

