memory-hygiene

Audit and optimize Clawdbot's LanceDB vector memory to reduce token waste.

1|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill memory-hygiene-xianmingyao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-hygiene
Source: https://github.com/xianmingyao/openclaw-CaySon/tree/main/skills/memory-hygiene
Command: npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill memory-hygiene-xianmingyao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit, clean, and optimize Clawdbot's vector memory (LanceDB) to prevent token waste and bloated memory that slows responses and drains resources.

Core Features & Use Cases

  • Audit memory to identify junk memories and auto-capture noise.
  • Wipe memory storage to reset the LanceDB index when necessary.
  • Reseed with key facts and decisions to maintain accurate memory after maintenance.
  • Monthly maintenance cron to automate wipe and reseed workflows.
  • Guidance for memory_store usage and storage guidelines to keep memory concise.

Quick Start

Execute a memory health check, then wipe bloated memory and reseed with essential facts to restore lean memory.

Frequently Asked Questions about memory-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit vector memory to reduce token waste in LanceDB?

Auditing vector memory involves scanning the LanceDB index to identify junk memories and auto-capture noise. This process detects bloated entries that drain resources, enabling you to selectively clean the storage and optimize token usage.

Why does my Clawdbot memory bloat with auto-capture noise and how do I fix it?

Memory bloat occurs when auto-capture stores unnecessary data, slowing responses. You fix it by wiping the LanceDB index and reseeding with only essential facts, enforcing strict storage guidelines to prevent future token waste.

What is the best way to wipe and reseed memory storage after maintenance?

The best way to wipe and reseed memory is using a deterministic workflow that clears the LanceDB index, then injects key facts and decisions. This restores accurate, lean memory while removing accumulated junk and noise.

Can I automate periodic memory maintenance and reseeding with a cron job?

Yes, you can automate periodic memory maintenance using a monthly cron. This scheduled automation executes the wipe and reseed workflows, ensuring the vector memory index remains lean without manual intervention.

Do I need to configure autoCapture guidelines to keep vector memory lean?

Yes, configuring autoCapture guidelines is required to keep memory lean. Enforcing strict rules on what to store prevents auto-capture noise from filling the memory index, directly reducing token waste and maintaining response speed.

When should I completely wipe my memory storage index instead of just auditing it?

You should completely wipe the memory storage index when it is heavily bloated with junk and auditing alone cannot recover optimal performance. Wiping resets the index, allowing you to reseed with essential facts for a clean state.