Agent skill · data analytics · sundial-org

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.

Why this skill is useful

Provides specific commands and automation scripts for managing vector memory in LanceDB that the AI wouldn't reliably generate on its own.

What it needs

About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

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 ("HEARTBEATOK", "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 memorystore: Keep text concise (<100 words) Use appropriate category Set importance 0.7-1.0 for valuable info One concept per memory entry

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/memory-hygiene

View the source on GitHub

Browse the @skills marketplace