Git Episodic Memory — AI skill for Claude Code
Zero-LLM episodic memory for coding agents: every turn as a hidden Git commit, with function-level blame and bounded context injection.
How to install Git Episodic Memory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Shushant17711/git-episodic-memory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Git Episodic Memory does
Zero-LLM episodic memory for coding agents: every turn as a hidden Git commit, with function-level blame and bounded context injection. Works with OpenCode, Claude Code, Codex, Cursor, and any shell-capable agent.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Engrim — The Universal Cross-Model Episodic Memory Standard 219 ★
- Cplt — Sandbox for AI coding agents 114 ★
README
git-episodic-memory
**Your coding agent forgets every chat. This gives it a Git-native memory of why the code looks like this.**
`chatlog` records each agent turn as a hidden Git commit, stores the prompt and reply in Git notes, and retrieves memory by function, line range, symbol, or pickaxe search. No LLM summaries. No vector database. No transcript dump into the context window.
[](https://github.com/Shushant17711/git-episodic-memory/actions/workflows/test.yml) [](LICENSE) [](bin/chatlog) [](docs/architecture.md)
$ chatlog why src/image.py:calculate_tokens
- [20261020T171616Z-08ac8374 | 2026-10-20 | succeeded] chat: Never resize above 1568px...
* constraint: Never resize above 1568px; breaks tile math.
Why this exists
Coding agents are amnesiac across sessions. A rule file such as `CLAUDE.md` or `AGENTS.md` stores durable preferences, but not the reason a specific line exists. A vector memory is fuzzy, costs embeddings on every turn, and drifts away from the code. Plain `git log` knows the code but not the conversation that produced it. A raw transcript dump burns context and is hard to search.
This project sits between those options: **episodic, code-coupled memory** with zero inference cost.
| Question | Where the answer lives |
|---|---|
| “Why is this constant 1568?” | chatlog why src/image.py:calculate_tokens |
| “When did we try Redis?” | chatlog pickaxe "redis" |
| “What did the user reject last week?” | The exact constraint, attached to the line |
| “What did the code look like at turn 19?” | git show :path |
| “What did we decide about deployment?” | chatlog search "deployment" |
Related Skills
Clean Commit Skill
Keep AI noise out of your git history. A cross-platform agent skill that blocks Co-Authored-By bots, generator
Prompt Injection Scanner
A zero-dependency Python CLI that scans READMEs, SKILL files, and source code for prompt-injection patterns ta
Overscope
Catch AI coding-agent scope creep before you commit. Overscope compares Claude Code and Codex sessions with yo
Yotta Memory
File-based cross-agent memory standard for AI agents. Zero-dependency CLI (init/remember/recall/forget/archive
Trapscan
Scan a repository for things that execute the moment you open it — editor auto-tasks, devcontainer host comman
Srclight
Deep code indexing MCP server for AI agents. 25 tools: hybrid FTS5 + embedding search, call graphs, git blame/
Related Agents
Session Error Analyzer
Analyzes specific AI IDE sessions (Claude Code, OpenAI Codex, OpenCode) for LLM behavior errors and returns a
Wlroots Expert
wlroots C API expert — scene graph, listener wiring, surface lifecycle, seat/cursor invariants, xdg-shell + xw
Maker
Reviews OpenCode sessions (shared links or local history), finds repeatable workflows, and proposes automation