Caveman Memory Compressor
Compresses memory files like CLAUDE.md into ultra-dense caveman speak to slash LLM token usage while preserving code and structure.
Caveman Memory Compressor drastically reduces LLM context window consumption by translating verbose documentation, developer instructions, and memory files into ultra-dense, article-free syntax. The skill strips redundant filler words, polite hedging, and connective fluff while strictly preserving code blocks, inline commands, URLs, technical identifiers, and markdown formatting. By automatically generating out-of-tree backups and performing multi-pass validation before overwriting, it provides a safe, reproducible way to optimize agent context buffers and cut token costs by up to 65%.
Key Features
01Cuts token consumption by up to 65% across agent memory files and system instructions
02Strictly preserves code blocks, inline backticks, file paths, and technical terminology
03Automates out-of-tree backups preventing accidental ingestion by skill auto-loaders
04Executes multi-pass output validation and targeted cherry-pick correction
05Enforces built-in secret detection guarding against sensitive file exposure
06113,302 GitHub stars
Use Cases
01Optimizing bulky CLAUDE.md or project guide files to maximize agent context capacity
02Condensing lengthy developer task lists and sprint notes for token-efficient retrieval
03Lowering API invocation costs and latency for autonomous coding agents with large context loads