deja-history
Skill by sickn33
Searches this machine's past AI coding sessions across forty-three agents, including Claude Code, Codex, Cursor and Gemini CLI. It is meant to run before editing, debugging, or saying something does not exist. Everything runs locally through the deja binary.
Install deja-history
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/deja-history ~/.claude/skills/deja-historyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/deja-history ~/.gemini/antigravity-cli/skills/deja-historyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
deja-history is an agent skill that tells an AI assistant to search the local deja index before it re-derives past work. The index covers AI coding sessions from forty-three agents on the user's machine, including Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, Copilot, Aider, Cline and Kiro. The skill calls the deja MCP tool with modes such as recall, context, blame, fix, how, orient, remember and handoff. If the MCP tool is not loaded, the same index can be queried from the shell with deja recall and related read-only commands.
The skill is written for developers who work with several AI coding agents and want earlier fixes, decisions and commands to be found before the assistant repeats them. It asks the assistant to check history before a first edit, before recommending a tool, and before claiming that something on the machine is missing. Recalled transcripts are treated as reference data, not instructions.
Written from the project's SKILL.md and checked against it.
What it can do
- recallSearches past sessions with the most specific token available, such as an error string or file path.
- contextReturns a full digest of the best-matching session, including the code it changed.
- blameShows prior sessions that discussed or modified a file before it is edited or deleted.
- fixFinds commands that followed the same failing output in earlier sessions where it was resolved.
- howLists the real commands and flags the machine has used for a build, test, deploy or script.
- orientShows commands and files that past sessions used in the current project.
- rememberStores one settled decision as a single self-contained fact.
- handoffContinues another session's work by session ID or harness name.
What you need
- The deja binary, version v0.24.0 or newer
- deja initialized once with deja init
- Either the deja MCP tool in the host agent or shell access
- Local AI coding session history on the machine
Try asking
- We hit the "database is locked" error before. How did we fix it?
- Why does internal/store/fts.go have a custom tokenizer wrapper?
- What build and test commands does this project actually run?
Good to know
- Result windows are bounded, so hit counts should not be treated as a complete audit.
- Only sessions present on the current machine are searched unless exported and imported.
- If deja is not installed or the index is empty, history search is unavailable.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/deja-history/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE1 KB -
SKILL.md8 KB
Alternatives to deja-history
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
deja-history: common questions
Does deja-history send my session history anywhere?
The source says recall, context, blame, fix, how and orient queries are local and read-only, and no transcript data leaves the machine.
Does it need an account or API key?
The source says no account, API key or network connection is required, because indexing and search run locally.
Can it search sessions from another computer?
Not by default. Sessions on another machine are visible only after they are exported with deja export and imported with deja import.
How do I install deja-history?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deja-history free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is deja-history safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deja-history?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
