caveman-compress

Compress markdown and text files into a compact caveman format.

Updated Jan 13, 2025
One-click install
npx skills add https://github.com/phucle297/dotfiles --skill caveman-compress-phucle297
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-compress
Source: https://github.com/phucle297/dotfiles/tree/main/.claude/plugins/cache/caveman/caveman/ef6050c5e184/caveman-compress
Command: npx skills add https://github.com/phucle297/dotfiles --skill caveman-compress-phucle297

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) components.

What problem does it solve?

This Skill compresses project memory files into a caveman format, reducing Claude input tokens by about 46% on average, without losing any technical content or structure.

Core Features & Use Cases

  • Memory File Compression: Compresses CLAUDE.md, todos, and preferences into a caveman format for lower token usage.
  • Preservation of Technical Content: Ensures all code, URLs, file paths, and headings are preserved exactly.
  • Backup and Editability: Generates a human-readable backup file for easy editing and re-compression after changes.

Quick Start

To compress your CLAUDE.md file, use the command /caveman:compress CLAUDE.md.

Frequently Asked Questions about caveman-compress

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce Claude input tokens for markdown files?

You can reduce Claude input tokens by compressing markdown and text files into a caveman format, which preserves technical content and structure while cutting token consumption by roughly 46% on average.

Does natural language compression preserve code blocks and file paths?

Natural language compression preserves all technical content exactly, ensuring that code, URLs, file paths, and headings remain unchanged while reducing the surrounding text tokens.

How do I compress a CLAUDE.md memory file for lower token usage?

To compress a CLAUDE.md memory file, run the `/caveman:compress CLAUDE.md` command, which transforms the natural language text into a compact caveman format to minimize token consumption.

Do I need Python to compress markdown files into a caveman format?

Yes, you need Python 3.10 or higher installed to run the compression scripts that convert markdown-like text files into the compact caveman format for Claude sessions.

Can I edit my markdown files after compressing them for Claude?

Yes, the compression process generates a human-readable backup file, allowing you to easily edit the original content and re-compress it after making changes.