Clean up stale or contradictory memory files Claude Code has saved over time.
Merge duplicate notes that were saved across multiple projects.
Visualize how your saved AI memories connect to each other.
Move a misfiled memory into the project it actually belongs to.
| tiny-cloud-ventures/amnesia | 1ncendium/aibuster | aaronmayeux/ha-hurricane-tracker | |
|---|---|---|---|
| Stars | 5 | 5 | 5 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | ops devops | general |
Figures from each repo's GitHub metadata at analysis time.
Requires Python 3.9 or later and an existing Claude CLI subscription for the scan step.
Amnesia is a tool for cleaning up the memory that Claude Code, an AI coding assistant, quietly saves about your projects over time. Claude Code stores memory files under a folder on your computer, and over months those files can build up problems: facts that used to be true but no longer are, the same note saved in three different projects, and memories from one project accidentally showing up in another. This kind of buildup is sometimes called memory contamination, and according to the README, research shows that messy memory can actually make an AI agent perform worse than having no memory at all. Amnesia works in a simple loop. It counts how many memories and projects it finds in your store, then runs a scan that feeds your whole memory store to your own Claude CLI, which flags contradictions, outdated facts, duplicate notes, and memories that seem to be filed under the wrong project. You then review each flagged item one at a time in plain language, choosing to forget it, move it to a different project, combine it with another, or keep both. If you are in a hurry, a fix all option previews all the confident changes at once and applies them together. Every change is reversible, since Amnesia keeps a backup snapshot before altering anything. The project also includes a visual map of your memory store, showing each memory as a dot connected by lines, with contradictions highlighted after a scan. Amnesia can be installed as a Claude Code plugin, run as a command line tool using uvx, or downloaded as a single Python file with no extra dependencies. It runs entirely on your own machine, with no accounts, API keys, or telemetry involved, and nothing is permanently deleted since removed files move to a local trash folder. It requires Python 3.9 or later and is released under the MIT license, which allows free use including commercial use.
A local tool that scans, cleans, and organizes the memory files Claude Code saves about your projects, catching stale or contradictory notes.
Mainly Python. The stack also includes Python, Claude Code, CLI.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.