agentleFS
owainlewisowainlewis/agent-skills/skills/compress/SKILL.md

compress

Skill44 starsChanged 3 months agoMITView on GitHub

Shorten a prompt, specification, plan, skill, note, or brain dump without changing its meaning or behaviour. Use when asked to compress, shorten, simplify, tighten, remove repetition, or use fewer tokens. Preserve facts, constraints, examples, edge cases, and checks that affect the result.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use caveman.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    caveman

    Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this for information and instructions, not ordinary prose polishing.

    line 10
  2. Distinctive:

    Remove repetition, throat-clearing, backstory, generic advice, motivational language, and structure that does not change understanding or …

    line 16
  3. Distinctive:

    Ask: if this disappears, could a capable reader act differently or lose a fact, limit, decision, warning, or piece of voice?

    line 45
  4. Distinctive:

    If no, cut it. If yes, keep it or rewrite it more clearly.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Compress

Shorten the input without losing meaning.

Use this for information and instructions, not ordinary prose polishing. Use deslop when voice and writing quality are the main problem.

Process

  1. Identify the purpose and intended reader or agent.
  2. Extract the required content: facts, actions, inputs, outputs, constraints, defaults, examples, edge cases, checks, and stop conditions.
  3. Remove repetition, throat-clearing, backstory, generic advice, motivational language, and structure that does not change understanding or behaviour.
  4. Replace vague phrases with a concrete instruction only when the source supports it. Otherwise cut them.
  5. Merge overlapping rules and place each fact once, where the reader needs it.
  6. Rewrite in plain words and the smallest structure that preserves the logic.
  7. Compare the result with the source. Restore anything whose removal changes the likely interpretation or outcome.

Keep

  • facts, numbers, names, paths, commands, schemas, and citations
  • explicit scope, priorities, and exceptions
  • requirements created by past failures
  • defaults that resolve real ambiguity
  • examples that define a format or expose an edge case
  • verification, failure behaviour, and stop conditions
  • useful voice when compressing a brain dump or note

Cut

  • repeated goals, summaries, and conclusions
  • obvious preambles and narration about the document
  • baseline advice such as "be thorough" or "use good judgement"
  • adjectives such as "robust," "polished," and "production-ready" without a test
  • hedging that does not change confidence or responsibility
  • examples that merely repeat the rule
  • headings, bullets, or steps that add shape but no meaning
  • synonyms for a term already named clearly

Test every cut

Ask: if this disappears, could a capable reader act differently or lose a fact, limit, decision, warning, or piece of voice?

If no, cut it. If yes, keep it or rewrite it more clearly.

Return only the compressed result unless the user asks for a summary of changes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.