What problem does it solve? Long memory files like CLAUDE.md, todos, and preferences consume large amounts of input tokens every time they are loaded into context, increasing cost and reducing available context window. ## Core Features & Use Cases - Caveman Compression: Rewrites prose in markdown and text files into terse caveman-speak while preserving code blocks, URLs, headings, file paths, and commands exactly. - Validation with Retry: Automatically validates that headings, code blocks, and URLs survived compression, and applies targeted fixes with up to 2 retries before restoring the original. - Safe Overwrite with Backup: Saves the human-readable original as FILE.original.md before overwriting, refuses to compress code, config, or sensitive files like credentials and keys. - Use Case: Your CLAUDE.md has grown to thousands of tokens of verbose instructions. Run the compress command to shrink it into dense caveman format, cutting token usage while keeping every code snippet and link intact. ## Quick Start Ask the AI to compress your memory file by saying "compress memory file CLAUDE.md" or by invoking /caveman:compress with the target filepath.