
Caveman Compress
Compresses markdown memory files into caveman-speak to cut token usage while preserving all code blocks, URLs, and technical terms exactly. Overwrites the original with compressed version and saves a readable backup as FILE.original.md. Removes articles, filler words, and verbose phrasing but keeps structure intact. The compression process runs through a Python CLI that validates output and retries on errors. Good for trimming bloated CLAUDE.md files or todo lists without losing technical substance. Works only on natural language files, never touches actual code.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 12
- skills.sh installs
- 428.9K
- GitHub stars
- 118.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add juliusbrussee/caveman --skill caveman-compress --agent claude-codeInstalls into .claude/skills of the current project.
Files
Caveman Compress
Purpose
Data leaves the machine. Compression sends the file's full text to the model provider that
scripts/compress.pyis configured for: theclaudeCLI, the Anthropic API, or an OpenAI-compatible endpoint. Files whose names look like secrets (.env,credentials,secrets,.netrc, …) are refused before they are read, and a file whose text holds a credential (a private key block, or a cloud, Git host or model API token) is refused before anything is sent. Don't compress a file the provider shouldn't see.
Compress natural language files (CLAUDE.md, todos, preferences) into caveman-speak to reduce input tokens. Compressed version overwrites original. Human-readable backup saved as <filename>.original.md, but NOT beside the source file — it lives in an out-of-tree data dir ($XDG_DATA_HOME/caveman-compress/backups/<parent-dir-name>/, or %LOCALAPPDATA%\caveman-compress\backups\<parent-dir-name>\ on Windows) so skill auto-loaders don't re-ingest it as a live file.
Trigger
/caveman-compress <filepath> or when user asks to compress a memory file.
Sponsors
Details
- Repository
- github.com/juliusbrussee/caveman
- Categories
- Code Review & Quality, Release Management
- First seen
- Apr 16, 2026
More from juliusbrussee/caveman
All 25- Caveman Review427.5K
- Caveman Help418.2K
- Cavecrew374.2K
- Caveman Stats374.1K
- Caveman Explore122.4K
- Caveman Learn121.5K
- Safe Refactor121.2K
- Caveman Optimize120.5K
- Investigate First120.1K
- Verify And Stop119.6K
- Surgical Patch119.5K
- Lean Build119.1K
- Caveman Evidence Review119K
- Caveman Discover119K
- Caveman Manage118.7K
- Migration118.4K
- Caveman Setup118K
- Compress45.8K
- Ultracave41.3K
- Megacave40.1K
- Caveman Es513
- Caveman Cn437
- Caveman618.3K
- Caveman Commit431.6K