Skill · Published 2026-08-08

terseness-compressor

Download terseness-compressor.zip 100% test coverage Ported from terseness_compressor

A Claude Skill for a draft that reads padded rather than dense — a long explanation, a PR description, a doc section.

What it removes, and what it refuses to touch

Twelve filler/hedging openers (“I will now …”, “Let me …”, “It’s worth noting that …”, “In order to …”, and more), plus collapsing runs of blank lines to one.

Left completely untouched, always: fenced code blocks, any line containing a backtick, and any line mentioning security, a warning, an advisory, a caveat, or an error. This never removes a fact, a number, a caveat, or a code detail — only phrasing that adds zero information.

python3 compress.py <file> --measure

--measure prints a real before/after byte count — report that number, not an estimate.

Where this came from

Ported from PinkyAI’s own terseness_compressor engine module — built specifically so a compression claim could be checked against a real corpus instead of asserted, the same discipline this port follows. Re-implemented independently in dependency-free Python with its own full test suite, currently at 100% statement coverage.

Honest scope

A small, fixed phrase table plus blank-line collapsing — not a language model and not a discourse parser. It only ever removes phrasing that adds zero information; the exemption list above is the actual point of the tool, not a footnote.

Preview the real source

Read straight out of this skill's own source directory, unedited — the exact bytes that ship inside terseness-compressor.zip, not a rewritten excerpt. Switch tabs to read a file before downloading, or use Copy to paste it somewhere else.

Choose a file to preview

← Back to skills