aim-purge
Skill by Hidden-History
Purges old memories from Qdrant collections. It runs as a dry-run preview by default and writes an audit log when the purge is confirmed. Built for users who keep AI memory in Qdrant and need to clear outdated entries with safety guards.
Install aim-purge
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Hidden-History/ai-memory /tmp/ai-memory && mkdir -p ~/.claude/skills && cp -r /tmp/ai-memory/_ai-memory/skills/aim-purge ~/.claude/skills/aim-purgeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Hidden-History/ai-memory /tmp/ai-memory && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-memory/_ai-memory/skills/aim-purge ~/.gemini/antigravity-cli/skills/aim-purgeAntigravity 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
aim-purge is an agent skill that removes old memories from Qdrant collections. It is triggered with /aim-purge and requires an age value through the --older-than parameter, such as 30d, 2w, 3m or 1y. By default it runs as a dry-run that only shows what would be purged. Adding --confirm executes the purge.
The skill can limit the purge to one collection with --collection. Without that option, it covers all four collections. Each executed purge is irreversible and writes an audit log to .audit/logs/purge-log.jsonl. It suits users who maintain an AI memory store in Qdrant and want to clear older entries with safety guards in place.
Written from the project's SKILL.md and checked against it.
What it can do
- Dry-run previewShows what would be purged when --confirm is absent, without deleting anything.
- Age-based purgeRemoves memories older than a duration such as 30d, 2w, 3m or 1y.
- Single collection limitRestricts the purge to one named collection with --collection.
- Confirmed executionRuns the actual purge only when the --confirm flag is passed.
- Audit logWrites purge records to .audit/logs/purge-log.jsonl when a purge is executed.
What you need
- Qdrant collections holding AI memory
- AI memory installation directory (AI_MEMORY_INSTALL_DIR or $HOME/.ai-memory)
Try asking
- Preview which memories older than 90 days would be purged from Qdrant
- Purge memories older than 6 months from the notes collection only
- Run the aim-purge dry-run for memories older than 1 year
Good to know
- Executed purges are irreversible.
- Without --confirm the skill only previews and deletes nothing.
- --older-than is required and accepts duration strings such as 30d, 2w, 3m or 1y.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: _ai-memory/skills/aim-purge/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash
Alternatives to aim-purge
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
aim-purge: common questions
Does aim-purge delete anything by default?
No. Without the --confirm flag it runs a dry-run that only previews what would be purged.
Can I purge only one collection?
Yes. The --collection parameter limits the purge to a single named collection. The default is all four collections.
Is there a record of purges?
When a purge is executed, an audit log is written to .audit/logs/purge-log.jsonl.
How do I install aim-purge?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aim-purge free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is aim-purge safe to use?
It scores 49 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to aim-purge?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
