caveman-compress

Compress target files into caveman form while preserving code blocks and links.

28|3|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/mifunedev/openharness --skill caveman-compress-mifunedev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-compress
Source: https://github.com/mifunedev/openharness/tree/main/.claude/skills/caveman-compress
Command: npx skills add https://github.com/mifunedev/openharness --skill caveman-compress-mifunedev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compresses target files into a concise caveman form without sacrificing technical content, preserving every fact, code block, and link.

Core Features & Use Cases

  • Preserves fidelity: Maintains all code blocks, URLs, and structural headings while shortening prose.
  • Scoped compression: Applies only to memory/** notes, untracked scratch files, or files explicitly overridden by the user.
  • Safety-first overwrite: Shows a diff and token delta and requires user confirmation before writing changes back to the source.

Quick Start

Ask to compress a target file and confirm before overwriting with the compressed caveman version.

Frequently Asked Questions about caveman-compress

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

FAQPage Schema
How do I compress markdown prose to save tokens without losing code blocks and links?

To compress markdown prose and save tokens without losing code blocks and links, this tool shortens text into a concise caveman form while preserving all technical facts, URLs, and structural headings. It provides a diff and token delta before overwriting your file.

Does compressing notes in place overwrite my original files?

Compressing notes in place does overwrite original files, but only after you explicitly confirm. The tool shows a diff and token delta and requires user confirmation before writing the compressed caveman version back to the source file.

What file types can I compress into caveman form?

You can compress memory notes, untracked scratch files, or files explicitly overridden by the user. The tool applies scoped compression to these targets, maintaining frontmatter, headings, and log structure intact.

How does caveman compression preserve technical fidelity?

Caveman compression preserves technical fidelity by keeping every code block, URL, and structural heading intact while shortening the surrounding prose. It ensures no technical facts are lost during the text compression process.

Can I review changes before a file is compressed?

Yes, you can review changes before a file is compressed. The tool reports a diff and token delta showing exactly what will change, requiring your confirmation before any in-place overwriting occurs.