deja-vu

deja-vu is a plugin for Claude Code from vshulcz/deja-vu. Its manifest loads nothing; the 2 skills, 1 command, 1 hook it bundles cost 143 tokens per session together, scanned A, original, MIT.

A memory add-on for AI coding assistants that recalls information from earlier work sessions and prompts.

In plain words
What is it for?
Use it to recall earlier sessions and search previous context while working on code.
Why use it?
It reduces the need to repeat past context when continuing development work.

Plugin for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: names the NotebookEdit tool; mentions Claude Code; mentions Codex.

Good fit Use it to recall earlier sessions and search previous context while working on code.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add vshulcz/deja-vu
/plugin install deja-vu
About the project

deja-vu is a local memory system that indexes coding-agent session histories and makes relevant past work available to other agents. It helps users share fixes and context across Claude Code, Codex, Cursor, Copilot CLI, and other coding agents without using a language model or embeddings. The catalogue contains hooks, commands, MCP components, skills, plugins, and instructions for connecting agents to that memory.

vshulcz/deja-vu · 1,717 stars · on GitHub · vshulcz.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/vshulcz/deja-vu

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deja-vu

README.md
[![agentmods](https://agentmods.dev/badge/plugins/vshulcz/deja-vu/claude-plugin/github.svg)](https://agentmods.dev/plugins/vshulcz/deja-vu/claude-plugin)
Your own site
<a href="https://agentmods.dev/plugins/vshulcz/deja-vu/claude-plugin"><img src="https://agentmods.dev/badge/plugins/vshulcz/deja-vu/claude-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deja-vu

Your own site · 80×15
<a href="https://agentmods.dev/plugins/vshulcz/deja-vu/claude-plugin"><img src="https://agentmods.dev/badge/plugins/vshulcz/deja-vu/claude-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 2 skills, 1 command, 1 hook cost 143 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

deja-vu scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-plugin/.claude-plugin/plugin.json · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "name": "deja-vu",
  "version": "0.25.2",
  "description": "deja-vu memory for Claude Code: your own past sessions, from every coding agent on the machine, recalled before you ask.",
  "author": {
    "name": "vshulcz",
    "url": "https://github.com/vshulcz"
  },
  "homepage": "https://vshulcz.github.io/deja-vu/guide/memory-for-claude-code.html",
  "repository": "https://github.com/vshulcz/deja-vu",
  "license": "MIT",
  "keywords": [
    "memory",
    "session-history",
    "recall",
    "context",
    "claude-code",
    "codex",
    "cursor",
    "copilot-cli"
  ],
  "skills": "./skills/",
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/deja.sh hook-context",
            "timeout": 10,
            "statusMessage": "Recalling past sessions…"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/deja.sh hook-prompt",
            "timeout": 10,
            "statusMessage": "Searching past sessions…"
          }
        ]
      }
    ],
    "PreCompact": [
      {
        "matcher": "manual|auto",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/deja.sh hook-precompact",
            "timeout": 10,
            "statusMessage": "Saving this session to memory…"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash|PowerShell|Edit|Write|MultiEdit|NotebookEdit|Task|Agent|ExitPlanMode",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/deja.sh hook-tool",
            "timeout": 10,
            "statusMessage": "Checking what this touches…"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Bash|PowerShell",
        "hooks": [
          {

Read the full file on GitHub · 106 lines

Contents

What it installs

The manifest is a name and a version. 2 skills, 1 command, 1 hook travel with it, and installing the plugin installs all of them — 143 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Files

What ships with it

1 file beside plugin.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 57279345b392
  2. 7d ago Changed 7591ca1349b8
  3. 9d ago Changed 6bf85ab81857
  4. 10d ago Changed 22c028a4cffc
  5. 12d ago Changed 6d80d0aeeead
  6. 19d ago Changed 831dc3b3e1f3
  7. 22d ago Changed 7f4cd32bb215
  8. 26d ago Changed 6bf1ecc106d5
  9. 28d ago Changed 57072983b63c
  10. 1mo ago First seen · 106 lines scan A 0f9741601b29

Subscribe to this mod's changes

deja-vu is a plugin published in the GitHub repository vshulcz/deja-vu (1,717 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

deja-vu compared with plugins from other repositories

deja-vu next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deja-vuvshulcz/deja-vuPlugin1.7ktodayMITA—Claude Code
rails-ai-contextcrisnahine/rails-ai-contextPlugin19129d agoMITA—Claude Code
kireowang1051992187/kireo-mcp-serverPlugin02mo agoMITA—Cursor
kireowang1051992187/kireo-mcp-serverPlugin02mo agoMITA—Claude Code, Cursor
intelligent-compactfcakyon/claude-codex-settingsPlugin1.2ktodayApache-2.0A—Claude Code
neural-memorynhadaututtheky/neural-memoryPlugin246yesterdayMITA—Claude Code
project-brainEthan-YS/project-brainPlugin17518d agoMITA—Claude Code