caveman-compress

Compress natural language memory files to reduce token usage.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/roberttmadsen13-del/TOURney --skill caveman-compress-roberttmadsen13-del
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-compress
Source: https://github.com/roberttmadsen13-del/TOURney/tree/main/SKILLS/caveman-main/caveman-compress
Command: npx skills add https://github.com/roberttmadsen13-del/TOURney --skill caveman-compress-roberttmadsen13-del

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Compresses natural language memory files to reduce token usage and keep projects efficient.

Core Features & Use Cases

  • Reduces token load by compressing natural-language content without altering core substance.
  • Keeps a human-readable backup as .original.md.
  • Safe checks and validation with optional retry and explicit backups.

Quick Start

Run caveman-compress <filepath> to compress a natural language file and create a backup at FILE.original.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 token usage in markdown memory files without losing content?

To reduce token usage in markdown memory files, apply deterministic compression to natural language content while preserving core substance. The tool validates output and saves the uncompressed original as a backup file.

Can I compress CLAUDE.md and todos.md files to minimize session token costs?

You can compress CLAUDE.md, todos.md, and memory notes across projects to minimize token costs during sessions. The process applies deterministic compression to natural language and creates an explicit backup.

What is deterministic natural language compression for markdown CLI workflows?

Deterministic natural language compression for markdown CLI workflows shrinks token load by algorithmically condensing text without altering meaning. It detects natural language, compresses it, and validates the output.

How do I run compression on a markdown file from the command line?

To run compression on a markdown file from the command line, execute the compression script with the target filepath. The process compresses the natural language content and automatically generates a backup.

Does markdown token compression alter my original project memory notes?

Markdown token compression does not destroy original project memory notes. It keeps a human-readable backup by saving the original file as FILE.original.md before applying the compressed changes.

Are there limitations to compressing markdown memory files for token reduction?

A limitation of compressing markdown memory files for token reduction is that it targets natural language specifically. Output is validated with targeted fixes if needed to ensure content remains intact.