Aim purge

From Hidden-History/ai-memory · View interactive version

Aim purge is an AI agent skill from the GitHub repository Hidden-History/ai-memory. Purge old memories from Qdrant collections with safety guards

How to use this skill

Skill file

Purge old memories from Qdrant collections with safety guards.

Default (no --confirm): dry-run preview — shows what would be purged, no deletions.

--confirm: executes the purge. Irreversible — audit log written to .audit/logs/purge-log.jsonl.

Canonical Execution

"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" purge_collections.py \
    --older-than <duration> \
    [--collection <name>] \
    [--confirm]

Parameters

Script

scripts/memory/purge_collections.py

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.