Domains
Forms
- SKILL.md10.0%
- scripts70.0%
- other20.0%
Domains
Forms
Use Cases
A Claude Code developer has a large `CLAUDE.md` project memory file that consumes significant input tokens on every session load. Running `/caveman-compress CLAUDE.md` compresses it into caveman format, removing filler and redundant narration while preserving all code examples, commands, and paths. A backup is saved as `CLAUDE.md.original.md`. Every subsequent session loads this file with ~46% fewer input tokens.
A developer maintains todo lists, coding preference configs, and other Markdown memory files. The natural language descriptions in these files consume many tokens with low information density. Using `/caveman-compress` batch-compresses these files — the agent identifies and compresses only prose sections, preserving all code blocks, YAML frontmatter, table structures, and other technical content unchanged, ensuring structural integrity and readability after compression.
Skill File
Mechanism
Breaks down how the skill works and what it produces, so you can quickly judge whether it fits your scenario and value.
/caveman-compress <filepath>.scripts/__main__.py in the skill directory and runs python3 -m scripts <absolute_filepath>.<filename>.original.md; backup files are never compressed.FILE.original.md for human reading.