Caveman Compress
Compresses CLAUDE.md and todo-style memory files into caveman format while keeping code and paths intact.
- CCM score
- 77 of 100
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 6
- skills.sh installs
- 448.1K
- GitHub stars
- 123.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers natural language memory files such as CLAUDE.md, todo lists, and preference notes, with
.md,.txt,.typ,.tex, and extensionless files supported - Preserves code blocks, inline code, URLs, file paths, commands, version numbers, and headings exactly while trimming filler and articles
- Enforces refusal of secret-looking filenames and of files containing credentials, and sends file text to the configured model provider
- Designed for trimming input tokens from memory files, with the original saved to an out-of-tree backup before the overwrite
Install
$ npx -y skills add juliusbrussee/caveman --skill caveman-compress -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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.
Details
- Repository
- github.com/juliusbrussee/caveman
- Categories
- Memory & Context, Writing & Content
- First seen
- Apr 16, 2026
Questions
What does the caveman-compress skill do?
It compresses memory files such as CLAUDE.md or todo lists into caveman-style prose to reduce input tokens. The compressed version overwrites the original file, and a readable backup is saved as FILE.original.md in an out-of-tree data directory.
How do I install caveman-compress?
Run npx -y skills add juliusbrussee/caveman --skill caveman-compress -y in your project. Once installed, you can run /caveman-compress FILEPATH to compress a named memory file.
Does caveman-compress keep code and URLs intact?
Yes, code blocks, inline code, URLs, file paths, commands, version numbers and environment variables are preserved exactly. Only the surrounding natural language text is shortened.
Is my file sent anywhere when I compress it?
Yes, the file's full text is sent to the model provider the script is configured for, such as the claude CLI, the Anthropic API, codex or an OpenAI-compatible endpoint. Files named like secrets are refused, and files containing credentials are refused before anything is sent.
Where does caveman-compress rank in its category?
It sits in the Memory & Context category and ranks in the top 3 on that category page. Other skills in the category include handoff, caveman-stats, caveman-learn, caveman-optimize and context-engineering.
More from juliusbrussee/caveman
All 25- Caveman Commit447.1K
- Caveman Review443.1K
- Caveman Help433.2K
- Caveman Stats392.5K
- Cavecrew389K
- Caveman Explore137.1K
- Caveman Learn136.1K
- Safe Refactor135.9K
- Caveman Optimize135.1K
- Investigate First134.8K
- Verify And Stop134.2K
- Surgical Patch134.1K
- Lean Build133.7K
- Caveman Evidence Review133.5K
- Caveman Discover133.4K
- Caveman Manage133.2K
- Migration132.9K
- Caveman Setup132.4K
- Ultracave56.5K
- Megacave54.8K
- Compress45.8K
- Caveman Es513
- Caveman Cn437
- Caveman646.1K
Similar to Caveman Compress
More Memory & ContextcompressSkilljuliusbrussee/caveman45.8K installsCompresses natural-language memory files into terse caveman-speak while preserving code, URLs, and paths exactly.
HeadroomMCP serverchopratejas81.1K starsCompresses tool outputs, logs, files, and RAG chunks to cut LLM input tokens while keeping answers.
headroom-skillPluginheadroomlabs-ai/headroom80.8K starsSkill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.
caveman-helpSkilljuliusbrussee/caveman433.2K installsQuick-reference card listing caveman modes, skills, and commands for one-shot display.
memory-md-managementSkillgiuseppe-trisciuoglio/developer-kit3.8K installsAudits CLAUDE.md and other project memory files, scoring them on six criteria before proposing approved updates.