juliusbrussee avatar

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-code

Installs 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.py is configured for: the claude CLI, 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
1leonxlnx avatarminimalist-uileonxlnx/taste-skillClean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.425.2Kskills.sh installs
2prisma avatarprisma-cliprisma/skillsPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, validate, format, debug, and mcp. Use for ORM/database CLI workfl416.7Kskills.sh installs
3runcomfy-com avatarai-video-generationruncomfy-com/skillsGenerate AI videos on RunComfy via the `runcomfy` CLI — a smart router across the full video-model catalog: HappyHorse 1.0 (Arena #1, native in-pass audio), Wan392.8Kskills.sh installs
4emilkowalski avatarapple-designemilkowalski/skillsApple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, dr285.7Kskills.sh installs
5doany-ai avatarimage-outpaintingdoany-ai/skillsImage outpainting on RunComfy via the `runcomfy` CLI — extend a still beyond its original canvas, fill in what the camera didn't capture, change aspect ratio (s274.6Kskills.sh installs
6runcomfy-com avatarcodex-petruncomfy-com/skillsCodex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into `${CODEX_HOME:-$HOME274.3Kskills.sh installs