information-compression
Applies lossy vs lossless compression thinking to representation and communication. Use when asked to 'cut this down', 'what can I remove', 'what's essential…
от rondoflow★ 37 звёзд на GitHub
Установить information-compression в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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 A
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл information-compression?
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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл information-compression запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…