claw-compactor
CommunityCut token waste with deterministic memory compression.
Authoraeromomo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Claw Compactor reduces token usage by compressing memory and transcripts using five layered techniques, enabling faster AI workflows.
Core Features & Use Cases
- 5-layer compression pipeline including rule-based preprocessing, dictionary encoding, observation-based summaries, and tiered context loading
- Lossless compression for memory content; selective lossy compression for transcripts while preserving decisions and actions
- Automatic generation of MEMORY.md tiered summaries (L0/L1/L2) and codebooks for efficient context loading
- On-demand references and scripts for auditing, troubleshooting, and extending the pipeline
Quick Start
Point this AI at a workspace and run the full pipeline to compress memory and transcripts.
Dependency Matrix
Required Modules
tiktoken
Components
scriptsreferences
💻 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: claw-compactor Download link: https://github.com/aeromomo/claw-compactor/archive/main.zip#claw-compactor 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 223,000+ vetted skills library on demand.