shrink memory file. save token every session.
--- A Claude Code skill that compresses project memory files (`CLAUDE.md`, todos, preferences) into caveman format, reducing repeated input size. Claude loads `CLAUDE.md` on every session start, so large files add repeated input tokens. Caveman shortens supported natural-language files. ## What It Do ``` /caveman-compress CLAUDE.md ``` ``` CLAUDE.md ← compressed (Claude reads smaller file each session) CLAUDE.original.md ← human-readable backup (you edit this) ``` Original remains in data directory rather than next to live file, so skill auto-loaders do not read it twice. Path is `$XDG_DATA_HOME/caveman-compress/backups/| ### Original (706 tokens) > "I strongly prefer TypeScript with strict mode enabled for all new code. Please don't use `any` type unless there's genuinely no way around it, and if you do, leave a comment explaining the reasoning. I find that taking the time to properly type things catches a lot of bugs before they ever make it to runtime." |
### |