
Memory Hygiene
- 9 installs
- 82 repo stars
- Updated August 2, 2026
- aaaaqwq/agi-super-skills
memory-hygiene is a Claude Code skill that audits, cleans, and optimizes Clawdbot's LanceDB vector memory to prevent token waste from junk auto-recalls.
About
This skill maintains Clawdbot's LanceDB vector memory to keep it lean and reduce token waste from irrelevant auto-recalls. It covers auditing memory, wiping and reseeding key facts, disabling autoCapture, and scheduling a monthly maintenance cron. A developer running Clawdbot uses it when memory is bloated with junk or auto-recall costs are high. It matters because unmanaged agent memory silently inflates token usage.
- Audits, wipes, and reseeds Clawdbot's LanceDB vector memory to cut token waste
- Shows how to disable autoCapture, the main source of junk memories
- Includes a monthly wipe-and-reseed maintenance cron
Memory Hygiene by the numbers
- 9 all-time installs (skills.sh)
- Ranked #12,074 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
memory-hygiene capabilities & compatibility
Free - local maintenance of the Clawdbot LanceDB store
- Capabilities
- memory audit · memory reset · memory maintenance · token optimization
- Use cases
- memory · token optimization
- Pricing
- Free
What memory-hygiene says it does
Keep vector memory lean. Prevent token waste from junk memories.
The main source of junk is `autoCapture: true`. Disable it:
npx skills add https://github.com/aaaaqwq/agi-super-skills --skill memory-hygieneAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 9 |
|---|---|
| repo stars | ★ 82 |
| Last updated | August 2, 2026 |
| Repository | aaaaqwq/agi-super-skills ↗ |
What it does
Audit, clean, and maintain Clawdbot's LanceDB vector memory to reduce token waste.
Who is it for?
Keeping Clawdbot's vector memory lean and cutting token cost from irrelevant auto-recalls
Skip if: Agents that do not use Clawdbot's LanceDB memory plugin
When should I use this skill?
Clawdbot memory is bloated with junk or token usage is high from auto-recalls
What you get
Vector memory holds only intentional, high-value facts and token waste from auto-recall drops
By the numbers
- monthly maintenance cron (schedule 0 4 1 * *)
- recommended importance range 0.7-1.0 for valuable memories
Files
Memory Hygiene
Keep vector memory lean. Prevent token waste from junk memories.
Quick Commands
Audit: Check what's in memory
memory_recall query="*" limit=50Wipe: Clear all vector memory
rm -rf ~/.clawdbot/memory/lancedb/Then restart gateway: clawdbot gateway restart
Reseed: After wipe, store key facts from MEMORY.md
memory_store text="<fact>" category="preference|fact|decision" importance=0.9Config: Disable Auto-Capture
The main source of junk is autoCapture: true. Disable it:
{
"plugins": {
"entries": {
"memory-lancedb": {
"config": {
"autoCapture": false,
"autoRecall": true
}
}
}
}
}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:
cron action=add job={
"name": "memory-maintenance",
"schedule": "0 4 1 * *",
"text": "Monthly memory maintenance: 1) Wipe ~/.clawdbot/memory/lancedb/ 2) Parse MEMORY.md 3) Store key facts to fresh LanceDB 4) Report completion"
}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
{
"ownerId": "kn7e1afggq3a9bdqgd96a9erb97zv57v",
"slug": "memory-hygiene",
"version": "1.0.0",
"publishedAt": 1769621830815
}{
"version": 1,
"registry": "https://clawhub.ai",
"slug": "memory-hygiene",
"installedVersion": "1.0.0",
"installedAt": 1770442950177
}
Related skills
FAQ
What causes junk memory?
autoCapture. The SKILL.md says 'The main source of junk is autoCapture: true' and to disable it.
How do I wipe memory?
Remove the LanceDB directory (rm -rf ~/.clawdbot/memory/lancedb/) then restart the gateway and reseed key facts from MEMORY.md.