Caveman Token Compressor

0•

Optimizes Claude's context window by compressing natural language documentation into token-efficient fragments while preserving all technical code.

The Caveman Token Compressor is a specialized utility designed to maximize Claude's efficiency by reducing the token footprint of project documentation, memory files (CLAUDE.md), and todo lists. It intelligently strips away articles, filler words, and hedging language to create 'caveman-speak' prose that remains understandable to AI models while occupying significantly less space. Crucially, the skill implements strict protection for code blocks, URLs, file paths, and Markdown structures, ensuring that the technical integrity of your documentation remains 100% intact.

Key Features

01Strict preservation of code blocks, inline code, and technical identifiers
02Maintains Markdown hierarchy including headers, lists, and tables
03Smart validation with targeted retry logic to ensure compression quality
04Aggressive token reduction via natural language caveman-style compression
05Automatic creation of human-readable .original.md backups
060 GitHub stars

Use Cases

01Optimizing project-specific preferences and style guides for token-heavy agent workflows
02Shrinking massive CLAUDE.md or project instruction files to fit more code into the context window
03Compressing long-running TODO lists and progress logs to reduce API costs