Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Information Compression

ASecurity

Applies lossy vs lossless compression thinking to representation and communication. Use when asked to 'cut this down', 'what can I remove', 'what's essential here', 'summarise without losing the key point', 'what must be preserved', or when a representation needs to be more efficient without becoming misleading.

19 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsgogit

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill information-compression --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Information Compression?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Information Compression
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-information-compression/badge)](https://www.skillsdirectory.com/skills/rondoflow-information-compression)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: information-compression
description: "Applies lossy vs lossless compression thinking to representation and communication. Use when asked to 'cut this down', 'what can I remove', 'what's essential here', 'summarise without losing the key point', 'what must be preserved', or when a representation needs to be more efficient without becoming misleading."
---

# Information: Compression

Every representation is a compression of reality. A report compresses events. A model compresses a domain. An explanation compresses understanding. A decision brief compresses weeks of analysis. The question is never whether to compress — it's whether the compression preserves what matters.

Claude Shannon proved that there is a theoretical lower bound on how far any lossless compression can go: you cannot compress below the entropy of the source without discarding information. This is the source coding theorem. Applied practically: there is always a floor. A message with genuine information content cannot be shortened indefinitely without loss — and often the thing being shortened to below-floor is not actually long; it's precise. The problem is usually the reverse: sources that are padded, redundant, or poorly structured can be dramatically shortened without any loss, because they weren't near the floor to begin with.

The critical distinction is lossy vs. lossless. Lossless compression preserves every bit of the original — the compression is reversible. Lossy compression discards some information permanently, in exchange for a representation that is smaller or more usable. Both are legitimate; the choice depends entirely on what the information is for, who will use it, and what the cost of loss is. An executive summary is lossy by design. A legal contract is lossless by necessity. The skill is making the trade-off explicit — and knowing what you are throwing away.

James Gleick's *The Information* notes that compression is cognition: the brain is fundamentally a compression engine. Understanding is compression. This is why the best explanations are short: not because they're simpler, but because they've found the structure that allows reconstruction from minimal representation. Teaching someone a principle rather than a list of cases is compression.

---

## Your Process

**Step 1: Identify What the Representation Is For**
Before deciding what to cut, establish the purpose of the compressed form. Who is it for? What decision or action does it need to enable? What understanding must be present in the receiver after they've processed the compressed version? The appropriate compression strategy is entirely downstream of this answer.

**Framing check:** Confirm the representation, its purpose, and the audience before continuing. State what you've identified in one sentence, then use `AskUserQuestion`:
- **Question:** "I'm reading this as: [one-sentence framing of what's being compressed, for whom, and for what purpose]. Is that right?"
- **Header:** "Framing"
- **Options:**
  - **Yes — proceed** — framing is correct
  - **Adjust** — one element is off; user will correct it before you continue
  - **Reframe** — different situation than read; incorporate the correction before proceeding

**Step 2: Classify Information as Essential, Reconstructable, or Discardable**
Work through the full source material and classify every component:

- **Essential:** Cannot be removed without changing the meaning, decision, or understanding that the representation must support. Removing this creates loss that cannot be recovered.
- **Reconstructable:** Can be removed from the representation because a capable receiver will reconstruct it — from context, prior knowledge, inference, or a linked source. This is lossless compression: the information is present in compressed form.
- **Discardable:** Contributes nothing to the purpose of this representation, for this receiver. Removing it creates no loss for the intended use. (Note: discardable for one receiver may be essential for another — compression is always audience-relative.)

**Before proceeding:** Present your classification to the user for review. Use `AskUserQuestion`:
- **Question:** "I've classified the content into essential, reconstructable, and discardable. Before I apply the compression, do any of my classifications look wrong?"
- **Header:** "Classification check"
- **Options:**
  - **Looks right — proceed** — the classification is sound
  - **Move one element** — user will identify something miscategorised
  - **The purpose needs adjusting** — the receiver or use case is different than I understood

**Step 3: Decide Lossy vs. Lossless**
Explicitly declare the compression mode for each component:
- Elements classified as reconstructable → lossless compression strategy (they can be compressed out without loss)
- Elements classified as discardable → safe to drop entirely
- Elements classified as essential but redundantly stated → lossless: consolidate to single occurrence
- If the target format forces dropping essential elements → lossy; state explicitly what is being lost and why

**Step 4: Apply the Compression**
Produce the compressed representation. When compression is lossy, mark clearly — in the output or in a note — what has been dropped and what the receiver would need to know if they required the uncompressed form.

**Step 5: Test Against the Purpose**
Ask: given only the compressed form, can the intended receiver accomplish the intended purpose? Run through the specific decision or action the representation is meant to support. If not, the compression is below the entropy floor — you have compressed past the point of usability.

---

## Human Check-in

Before proceeding, use the `AskUserQuestion` tool. State your interpretation of the situation in 1–2 sentences — what is being compressed, what must be preserved, and what the tension is — then ask:

- **Question:** "My read: [your 1–2 sentence interpretation]. How do you want to proceed?"
- **Header:** "Scope"
- **Options:**
  - **Full analysis** — Walk through every step, showing the classification and the rationale for each compression decision
  - **Compressed output only** — Deliver the compressed form directly, with a brief note on what was dropped
  - **Classification only** — Identify what's essential vs. reconstructable vs. discardable, and stop there
  - **Reframe** — The read is off; correct it and the analysis will follow the corrected framing

Proceed based on their selection. If the user reframes, incorporate the correction before running any analysis.

## Output Format

**Compression Brief**

- Purpose: [who this is for and what it must enable]
- Mode: Lossless / Lossy / Mixed
- Compression ratio estimate: [rough ratio of compressed to original]

**Classification**

| Element | Classification | Rationale |
|---|---|---|
| [element] | Essential / Reconstructable / Discardable | [why] |

**What is being dropped (lossy elements):** [explicit statement of what information will not be recoverable from the compressed form, and why this is acceptable given the purpose]

**Compressed Output:**

[The compressed representation itself — the actual deliverable]

**Reconstruction Note:** [What a receiver would need to access if they required the full, uncompressed version]

---

## Notes

Compression analysis is most powerful when the receiver and purpose are precisely defined — because what is "reconstructable" and "discardable" depends entirely on the receiver's prior knowledge and the purpose the representation serves. Vague audiences produce over-cautious compression (nothing gets cut because "someone might need it") or reckless compression (things get cut that a specific receiver needed badly).

The nearest-neighbour trap is conflating compression with simplification. Compression is about representation efficiency — minimising form while preserving function. Simplification is about reducing cognitive load. A simplified explanation may actually be longer than the original if it adds scaffolding the receiver needs. Use `/communication-clarity-audit` when the goal is readability rather than efficiency, and `/information-redundancy` when the question is specifically about repetition.

---

## What's Next

After delivering this output, use `AskUserQuestion` to offer the next move:

- **Question:** "Compression applied. What's next?"
- **Header:** "Next"
- **Options:**
  - `/information-redundancy` — Examine whether the remaining redundancy is load-bearing or wasteful
  - `/communication-clarity-audit` — Audit the compressed form for clarity and receiver fit
  - `/information-signal-noise` — Check whether the compression preserved the signal or accidentally compressed it out
  - **Done** — Wrap up and synthesise what we have so far

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →