compress

Compress natural language memory files into caveman format with original backups.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/venomez-viper/PathWise --skill compress-venomez-viper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compress
Source: https://github.com/venomez-viper/PathWise/tree/main/.agents/skills/compress
Command: npx skills add https://github.com/venomez-viper/PathWise --skill compress-venomez-viper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to reduce input tokens while preserving structure, URLs, and essential content.

Core Features & Use Cases

  • Compress memory files like CLAUDE.md, todos, and preferences into a compact caveman format to cut token load.
  • Preserve code blocks, URLs, file paths, headings, and other critical metadata exactly.
  • Back up the original as FILE.original.md and validate the compressed output with a retry workflow.

Quick Start

Run the caveman compress workflow on a target memory file to produce a compressed version and a preserved backup.

Frequently Asked Questions about compress

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

FAQPage Schema
How do I reduce token usage in CLAUDE.md memory files?

Reduce token usage in CLAUDE.md memory files by compressing natural language into a compact caveman format. This deterministic process preserves essential content, structure, URLs, and file paths while cutting input token load across sessions.

Does compressing memory files preserve URLs and code blocks?

Yes, compressing memory files preserves URLs, code blocks, file paths, and headings exactly. The compression targets natural language text to shrink input tokens while ensuring critical metadata and structural elements remain intact for Claude sessions.

Can I back up CLAUDE.md before applying caveman format compression?

Yes, you can back up CLAUDE.md before compression because the workflow automatically saves the original file as FILE.original.md. This ensures your uncompressed natural language memory file is preserved before the final overwrite occurs.

What is caveman format for memory file compression?

Caveman format is a compact text representation that compresses natural language memory files by stripping verbose phrasing while retaining essential instructions. It reduces input tokens for Claude sessions without losing critical structure, URLs, or file paths.

How does the compress workflow validate compressed memory files?

The compress workflow validates compressed memory files using an optional retry workflow before final overwrite. It performs deterministic compression and checks the output to ensure the compressed caveman format maintains the integrity of your original memory file.

Are there limitations to compressing todos and preferences into caveman format?

A key limitation is that compressing todos and preferences into caveman format alters natural language readability, making the memory files harder for humans to parse directly while remaining functionally clear for Claude sessions.