with one click
aim-purge
Purge old memories from Qdrant collections with safety guards
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Purge old memories from Qdrant collections with safety guards
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Detect content drift of an operator's scaffolded sanctum files (BOND, CAPABILITIES, CREED, INDEX, LORE, MEMORY, PERSONA, PULSE) against the evolving reference templates, and surface recommended add/remove WITH rationale — never a silent overwrite. Use on a session-start drift check, after the reference templates change, or when the operator asks whether their sanctum is current.
Check ai-memory system status and collection stats
Check ai-memory system status and collection stats
Manually save current session context to ai-memory
Search ai-memory for relevant stored memories
Search ai-memory for relevant stored memories
| name | aim-purge |
| description | Purge old memories from Qdrant collections with safety guards |
| trigger | /aim-purge |
| allowed-tools | Bash |
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.
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" purge_collections.py \
--older-than <duration> \
[--collection <name>] \
[--confirm]
--older-than (required): duration string — 30d, 2w, 3m, 1y--collection: limit purge to one collection (default: all four)--confirm: execute the purge (absence = dry-run safety gate)scripts/memory/purge_collections.py