Caveman Token Compressor
Optimizes natural language memory files by removing linguistic filler to significantly reduce input token consumption while preserving all technical substance.
Caveman Token Compressor is a specialized utility designed to maximize context window efficiency for Claude Code. By transforming verbose documentation, TODO lists, and project preferences into a condensed 'caveman' format, it strips away articles and hedging while strictly preserving code blocks, URLs, and technical terminology. This allows developers to fit substantially more project context into every prompt without sacrificing the integrity of their technical instructions or data structures.
Key Features
01Strictly preserves code blocks, inline code, URLs, and file paths
02Smart validation logic with targeted retry mechanisms to ensure data integrity
030 GitHub stars
04Aggressively reduces token count by stripping linguistic filler and articles
05Maintains Markdown structure including headings, lists, and tables
06Automatic backup system creates a human-readable .original.md file
Use Cases
01Optimizing project TODO lists and preference files for faster AI processing
02Maximizing available token space for complex debugging and feature implementation
03Shrinking large CLAUDE.md files that consume too much of the context window