memory-hygiene
Audit, clean, and optimize Clawdbot's vector memory (LanceDB). Use when memory is bloated with junk, token usage is high from irrelevant auto-recalls, or setting up memory maintenance automation.
By aaaaqwq · 377 installs
npx skills add aaaaqwq/agi-super-team --skill memory-hygiene
Source repository · Upstream listing
Memory Hygiene
Keep vector memory lean. Prevent token waste from junk memories.
Quick Commands
Audit: Check what's in memory
Wipe: Clear all vector memory
Then restart gateway: clawdbot gateway restart
Reseed: After wipe, store key facts from MEMORY.md
Config: Disable Auto Capture
The main source of junk is autoCapture: true . Disable it:
Use gateway action=config.patch to apply.
What to Store (Intentionally)
✅ Store:
User preferences (tools, workflows, communication style)
Key decisions (project choices, architecture)
Important facts (accounts, credentials locations, contacts)
Lessons learned
❌ Never store:
Heartbeat status ("HEARTBEAT OK", "No new messages")
Transient info (current time, temp states)
Raw message logs (already in files)
OAuth URLs or tokens
Monthly Maintenance Cron
Set up a monthly wipe + reseed:
Storage Guidelines
When using memory store:
Keep text concise (<100 words)
Use appropriate category
Set importance 0.7 1.0 for valuable info
One concept per memory entry