memory-compaction
CommunityAutomate weekly LanceDB memory compression.
Authorybbms777
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates the maintenance of LanceDB memories by regularly backing up, pruning obsolete items, and merging related fragments to preserve critical information while controlling storage growth.
Core Features & Use Cases
- Weekly backups: automatically copy LanceDB data to backups/YYYY-MM-DD, keeping the most recent four backups.
- Selective pruning: delete memories with low importance and long inactivity to reduce noise and storage.
- Smart merging: cluster and merge similar fragments using embedding similarity to preserve the most important L0摘要 while reducing redundancy.
- Alerts & reliability: stop on errors and notify via Telegram to ensure operators are aware of issues.
- Use Case: schedule routine memory maintenance for long-running deployments that accumulate noisy or redundant memories.
Quick Start
Run the memory_compaction.py script to execute the full backup, pruning, and merge process and deliver a Telegram alert.
Dependency Matrix
Required Modules
lancedb
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: memory-compaction Download link: https://github.com/ybbms777/openclaw-claude-code-integration/archive/main.zip#memory-compaction Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.