Directory · Hooks
deja-vu
Local memory for coding agents that indexes existing session history from Claude Code, Codex, Cursor and 39 more, served via MCP and hooks.
★ 1,366 stars · last updated 2026-11-02 · Free, open source · View on GitHub
Best for
- Recalling past fixes and decisions across months of agent sessions
- Sharing one searchable history across multiple coding agents
- Session-start and post-failure recall via hooks without an LLM or embeddings
- Handing off a session from one agent to another
Install
curl -fsSL https://raw.githubusercontent.com/vshulcz/deja-vu/main/install.sh | sh
deja install --auto
Our take
Single Go binary for macOS, Linux and Windows (Homebrew, Scoop, winget, npm, go install, or a Claude Code plugin marketplace), MIT licensed and actively maintained. It runs locally with no model, embeddings or server, and strips keys and tokens during indexing. Benchmark claims such as 97.2% R@5 on LongMemEval-S are published by the maintainer, who provides the drivers and corpus for re-running them.
Similar hooks
- Claude Code Ultimate Guide: Large open guide to Claude Code covering agent workflows, hooks, skills, MCP, security, and team adoption, with reusable templates.
- dcg (Destructive Command Guard): Rust pre-execution hook that blocks destructive shell, git, filesystem, database, and cloud commands run by AI coding agents.
- Claude Code Showcase: Example Claude Code project config with hooks, skills, agents, slash commands, MCP setup, and GitHub Actions workflows to copy from.
- Claude Code Hooks Mastery: Reference project implementing all 13 Claude Code hook events as UV Python scripts, plus sub-agents, status lines, and output styles.
- Continuous Claude v3: Hooks, skills, and agents that keep Claude Code context across sessions via YAML handoffs, ledgers, and a PostgreSQL memory store.
- Build with Claude: Plugin marketplace and discovery hub of agents, commands, hooks, and skills for Claude Code users extending their workflows.