caveman-compress

Compress natural language markdown memory files into concise caveman-speak format.

2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/AlbertLin821/AIYO_new --skill caveman-compress-albertlin821
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-compress
Source: https://github.com/AlbertLin821/AIYO_new/tree/main/.agents/skills/caveman-compress
Command: npx skills add https://github.com/AlbertLin821/AIYO_new --skill caveman-compress-albertlin821

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the high token cost of loading large project memory files like CLAUDE.md into every AI session by compressing them into a concise, caveman-style format.

Core Features & Use Cases

  • Token Efficiency: Reduces input token overhead by approximately 46% on average, ensuring your project context fits better within model limits.
  • Safety & Integrity: Preserves all technical substance, including code blocks, URLs, file paths, and markdown structure, while only compressing natural language prose.
  • Use Case: If your CLAUDE.md has grown to 1000+ tokens, use this tool to shrink it to a fraction of its size while maintaining all instructions, ensuring your AI assistant remains efficient and cost-effective.

Quick Start

Use the caveman-compress skill to compress your CLAUDE.md file and create a human-readable backup.

Frequently Asked Questions about caveman-compress

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

FAQPage Schema
How do I reduce token usage when loading markdown memory files into Claude?

To reduce token usage for markdown memory files, you can compress natural language prose into a concise caveman-speak format. This minimizes input token consumption while preserving all code blocks, technical paths, and markdown structural integrity.

Can I compress CLAUDE.md files without breaking code blocks and file paths?

Yes, compressing CLAUDE.md files safely preserves code blocks, URLs, file paths, and markdown structure. The compression strictly targets natural language prose, ensuring all technical substance and instructions remain fully intact for your AI assistant.

What is caveman-speak compression for markdown memory files?

Caveman-speak compression is a technique that transforms verbose natural language in markdown memory files into a highly concise format. It shrinks documentation and preference files to save input tokens while retaining their original technical meaning and instructions.

Does the Anthropic API or local CLI work better for markdown token optimization?

Markdown token optimization can be performed utilizing either the Anthropic API or a local CLI. Both processing methods apply automated validation and targeted error correction to compress your memory files into the concise caveman-speak format.

How much token overhead can I save by compressing project memory files?

Compressing project memory files reduces input token overhead by approximately 46% on average. This shrinks large project context files to a fraction of their size, ensuring your context fits better within model limits.

What are the limitations of compressing markdown files into caveman-speak?

The main limitation of compressing markdown into caveman-speak is that it targets only natural language prose. It strictly avoids altering code blocks and structural elements, meaning token reduction is limited to the prose sections of your markdown files.