← All skills

Skill Compressor

Longer agent instructions can consume more context without producing better behaviour. Shorter instructions can also delete the line that made a skill reliable.

Skill Compressor makes a skill cheaper to load without breaking when it activates or how it behaves. It freezes a baseline, proposes a smaller candidate and accepts it only when routing and runtime tests show that the important behaviour survived.

Use it when

Example request

Use skill-compressor to reduce this skill's expected token load without changing when it activates or what it does.

What to expect

The result includes a measured before and after comparison. A shorter file does not win if it loses required behaviour.

Install and source

npx skills@latest add simonasrazm/skills --skill skill-compressor

Read the Skill Compressor source or the skills.sh listing.