infocompressor

Use when the user needs to compress, condense, or summarize lengthy content while preserving ALL critical details. Triggers: "compress this", "make it shorter but keep everything", "create a cheat sheet", "dense summary", "reference format", "compact version", "information-dense". NOT for casual summaries—only when user explicitly wants maximum density with zero data loss.

14 stars

Best use case

infocompressor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use when the user needs to compress, condense, or summarize lengthy content while preserving ALL critical details. Triggers: "compress this", "make it shorter but keep everything", "create a cheat sheet", "dense summary", "reference format", "compact version", "information-dense". NOT for casual summaries—only when user explicitly wants maximum density with zero data loss.

Teams using infocompressor should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/infocompressor/SKILL.md --create-dirs "https://raw.githubusercontent.com/extractumio/ag3ntum/main/skills/.claude/skills/infocompressor/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/infocompressor/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How infocompressor Compares

Feature / AgentinfocompressorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when the user needs to compress, condense, or summarize lengthy content while preserving ALL critical details. Triggers: "compress this", "make it shorter but keep everything", "create a cheat sheet", "dense summary", "reference format", "compact version", "information-dense". NOT for casual summaries—only when user explicitly wants maximum density with zero data loss.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Text Compression Skill

Transform verbose documents into dense, human-readable reference specs.

## Core Principles

- **Style:** Spec/reference guide — imperative, terse, scannable
- **Format:** Markdown with minimal nesting
- **Redundancy:** Zero. State each fact once.
- **Notation:** Plain language with minimal intuitive symbols.
- **Target:** 40-60% reduction for most technical documents.
- **DRY:** Don't repeat. Reference existing docs instead of duplicating.
- **Progressive disclosure:** Link to details, don't inline everything.

---

## Referencing Other Documents

When information exists elsewhere, reference it — don't copy it.

**Syntax:**
- `@DocumentName` — mention another doc in same system
- `[Label](URL)` — link to external resource
- Imperative prefix: "Read @Auth for token handling"

**Patterns:**

| Instead of... | Write... |
|---------------|----------|
| Copying auth flow from another doc | "Auth flow: Read @Authentication" |
| Repeating error format spec | "Error format: See @APIConventions#errors" |
| Duplicating setup instructions | "Setup: Follow @GettingStarted first" |

**When to reference vs inline:**

| Situation | Action |
|-----------|--------|
| Info exists in canonical source | Reference it |
| Info is 1-2 lines, critical to flow | Inline it |
| Reader needs context to proceed | Inline minimum, reference full |
| Info changes frequently | Reference (single update point) |

**Example:**

```markdown
## Create Order

Purpose: Submit new order for processing

`POST /orders`

Prerequisites: Read @Authentication for token setup

**Input:**
- items: array of {sku, qty}
- shipping: address object (see @DataTypes#address)

**Flow:**
Validate → Check inventory (@InventoryService) → Reserve → Confirm

**Errors:**
Standard error format. See @APIConventions#errors
- 400: invalid items
- 409: insufficient stock
```

---

## Information Priority

Preserve in order of criticality. Never lose critical items.

| Priority | Category | Examples |
|----------|----------|----------|
| Critical | Identifiers | Names, IDs, versions, dates, codes |
| Critical | Values | Numbers, thresholds, percentages, limits |
| Critical | Entities | People, systems, components, orgs |
| High | Relationships | X depends on Y, A contains B |
| High | Causality | If X then Y, triggers, because |
| High | Actions | What was done, chosen, rejected |
| Medium | Sequences | Order, steps, workflows |
| Medium | Constraints | Limits, conditions, exceptions |
| Low | Context | Background, history, rationale |

---

## Representation Selection

Pick the **first** format that fits:

| Data Shape | Use |
|------------|-----|
| Single fact | Inline text |
| List of items (no attributes) | Bullet points |
| Named properties | `key: value` pairs |
| Simple sequence (no branching) | Numbered list |
| Sequence with branching | MermaidJS flowchart |
| 2+ attributes per item | Table |

---

## Language Rules

### Sentence Construction

- **Imperative mood.** "Validate input" not "The input should be validated"
- **Present tense.** "System returns error" not "System will return"
- **Active voice.** "User submits form" not "Form is submitted by user"
- **3-7 words per statement** when possible

### Words to Cut

| Remove | Replace With |
|--------|--------------|
| In order to | *(delete, use infinitive)* |
| It is necessary to | Must |
| Due to the fact that | Because |
| In the event that | If |
| At this point in time | Now |
| Has the ability to | Can |
| Is responsible for | *(verb directly)* |
| Basically, essentially, actually | *(delete)* |
| Please note that | *(delete)* |
| The fact that | *(delete)* |
| In cases where | When / If |
| There is/are | *(rephrase)* |
| It should be noted | *(delete)* |
| As a matter of fact | *(delete)* |
| For the purpose of | For / To |
| In the process of | *(delete, use -ing verb)* |
| On a daily basis | Daily |
| At the present time | Now / Currently |
| In the near future | Soon |
| A large number of | Many |
| The vast majority of | Most |
| In spite of the fact that | Although / Despite |
| Perhaps, might, it seems | *(delete or commit)* |
| Moving on to | *(delete)* |
| As mentioned earlier | *(delete)* |

### Standard Qualifiers

Use consistently throughout:

- **Must** — required, will fail without
- **Should** — recommended, best practice
- **May** — optional, allowed
- **Never** — prohibited

### Relationship Notation

Use these intuitive symbols inline when clearer than prose:

| Symbol | Meaning | Example |
|--------|---------|---------|
| `→` | leads to, causes, then, outputs | `Input → Validate → Store` |
| `←` | depends on, requires, from | `Service ← Database` |
| `↔` | bidirectional | `Client ↔ Server` |
| `\|` | or, alternative | `JSON \| XML` |
| `+` | and, combined | `Auth + Logging` |
| `?` `:` | if-then-else | `Valid ? Process : Reject` |
| `..` | range | `1..100`, `A..Z` |

### Pattern Transformations

Convert verbose patterns to compact forms:

| Verbose Pattern | Compressed |
|-----------------|------------|
| "X results in Y" | X → Y |
| "X depends on Y" | X ← Y |
| "X and Y communicate" | X ↔ Y |
| "If X then Y, otherwise Z" | X ? Y : Z |
| "from X to Y" | X..Y |
| "X or Y" | X \| Y |
| "X followed by Y followed by Z" | X → Y → Z |
| "X contains A, B, and C" | X: A, B, C |
| "the value ranges from 10 to 100" | value: 10..100 |

---

## Structure Templates

### Concept / Definition

```markdown
## Term Name

Short definition in one sentence.

- property: value
- property: value
- related: Other Concept
```

### Process / Flow (with branching)

```markdown
## Process Name

Brief purpose (1 line).

​```mermaid
flowchart LR
    A[Start] --> B{Condition?}
    B -->|yes| C[Action 1]
    B -->|no| D[Action 2]
    C --> E[End]
    D --> E
​```

**Errors:**
- Condition X: return 400
- Condition Y: return 401
```

### Process / Flow (linear)

```markdown
## Process Name

1. Actor does action
2. System validates
3. System creates record
4. Return confirmation
```

Or inline for simple flows:

```markdown
## Process Name

Input → Validate → Transform → Store → Respond
```

### Constraint / Rule

```markdown
## Rule Name

Applies to: [scope]

- condition: description
- condition: description

Violation: what happens
```

### API Endpoint

```markdown
## Endpoint Name

Purpose: what business problem this solves (1 line)

`METHOD /path/{param}`

**Input:**
- param (path): description
- field (body): type, constraints

**Output:** description of success response

**Errors:**
- 400: invalid input
- 401: not authenticated
- 404: resource not found
```

### Configuration / Options (simple)

```markdown
## Config Section

- timeout: 30s
- retries: 3
- cache: enabled
```

### Configuration / Options (with attributes)

```markdown
## Options

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| timeout | int | 30 | Seconds before abort |
| retries | int | 3 | Max retry attempts |
```

### Decision Record

```markdown
## Decision Name

Context: brief situation

| Option | Outcome |
|--------|---------|
| A | consequence |
| B | consequence |

Chosen: A — reason
```

---

## Compression Pipeline

### Step 1: Segment

Read document. Tag each chunk:

- **Concept** — defines something
- **Flow** — describes sequence
- **Rule** — states constraint
- **Config** — lists settings
- **Example** — shows usage

### Step 2: Normalize

- Pick one term per concept. Use everywhere.
- Convert to active voice, present tense.
- Replace verbose phrases (see Words to Cut).

### Step 3: Structure

- Match each segment to a template.
- Extract only required fields.
- Discard prose that doesn't fit.

### Step 4: Compress

- Shorten sentences to 3-7 words.
- Remove articles (a, an, the) where clear.
- Use bullets over paragraphs.
- Use key-value over bullets when named.
- Use flowchart over list when branching.
- Apply relationship notation where clearer than words.
- Remove hedging — commit to statements or omit.
- Remove transitions between sections.
- Remove attribution when source is obvious.
- Replace duplicated content with @references to canonical source.

### Step 5: Validate

- [ ] All requirements preserved?
- [ ] All error/edge cases listed?
- [ ] All config options present?
- [ ] No duplicate information?
- [ ] Can reader reconstruct full meaning?

---

## Density Levels

Choose based on audience:

| Level | Reduction | Use For |
|-------|-----------|---------|
| Light | 30-40% | General audience, first-time readers |
| Medium | 40-60% | Technical audience, reference docs |
| Heavy | 60-75% | Expert audience, quick lookup, cheat sheets |

Default to **Medium** for most technical documentation.

---

## Example

### Before (147 words)

```
User Authentication Process

When a user wants to log in to the system, they need to provide their 
email address and password. The system will first check if the email 
exists in the database. If the email is not found, an error message 
will be displayed indicating that the account does not exist.

If the email is found, the system will then verify the password. The 
password is checked against the hashed version stored in the database. 
If the password is incorrect, the system will increment the failed 
login counter and return an error. After 5 failed attempts, the 
account will be temporarily locked for 15 minutes.

If the password is correct, the system will generate a session token 
and return it to the user. This token must be included in all 
subsequent requests.
```

### After (67 words, 54% reduction)

```markdown
## Login

Purpose: Authenticate user, issue session token for API access

`POST /auth/login`

**Input:**
- email: string
- password: string

**Flow:**

​```mermaid
flowchart TD
    A[Receive credentials] --> B{Email exists?}
    B -->|no| C[404]
    B -->|yes| D{Password valid?}
    D -->|no| E[Increment fails]
    E --> F{Fails >= 5?}
    F -->|yes| G[Lock 15 min]
    F -->|no| H[401]
    G --> H
    D -->|yes| I[Generate token]
    I --> J[Return token]
​```

**Rules:**
- Lock after: 5 failed attempts
- Lock duration: 15 minutes
- Token required for all subsequent requests

**Errors:**
- 404: email not found
- 401: invalid password
- 423: account locked
```

---

## Final Checklist

Before delivering compressed document:

**Preservation (Critical)**
- [ ] All numerical values present?
- [ ] All identifiers/codes present?
- [ ] All named entities present?
- [ ] All causal relationships captured?
- [ ] All decision points captured?
- [ ] Sequence order maintained?

**Quality**
- [ ] Every sentence under 10 words?
- [ ] No passive voice?
- [ ] No filler phrases?
- [ ] No hedging language?
- [ ] Simplest representation used?
- [ ] No repeated information?
- [ ] References used instead of duplication?
- [ ] All edge cases covered?

**Readability**
- [ ] Readable without original document?
- [ ] No ambiguity introduced?
- [ ] Notation used consistently?
- [ ] Compression ratio 40-60%?

Related Skills

deep-research

14
from extractumio/ag3ntum

Use when the user asks to research, investigate, explore, or analyze a topic requiring multiple sources. Triggers: "research X", "find out about", "what's the current state of", "compare options for", "deep dive into", "gather information on", "write a report about". NOT for simple factual questions answerable in one search—only for multi-source synthesis needing 5+ sources.

create_image

14
from extractumio/ag3ntum

Creates image from user prompt. Use when the user wants to generate, create, or edit images using AI. Triggers: "create an image of", "generate a picture", "draw", "make an illustration", "visualize", "edit this image", "modify the photo", "change the background". Supports text-to-image generation and image editing with masks. NOT for image analysis or description—only for creating or modifying visual content.

create-python-code

14
from extractumio/ag3ntum

Use ONLY for complex Python tasks requiring reusable scripts, multi-file processing, or data pipelines. DO NOT USE for: one-off calculations, web fetch + process, simple file transforms, or tasks under 30 lines. For simple tasks, just write inline Python directly with mcp__ag3ntum__Bash without loading this skill.

Self-Review Skill

14
from extractumio/ag3ntum

Run this skill before committing to catch issues early. It runs linting, structural tests, and verifies no debug artifacts remain.

swe-cli-skills

12
from SylphAI-Inc/skills

Senior engineer CLI expertise for AI agents — workflows, safety guardrails, gotchas, and anti-patterns across cloud, IaC, containers, databases, dev tools, and platforms

DevOps & Infrastructure

PicoClaw Fleet

11
from EricGrill/agents-skills-plugins

Orchestrate a fleet of remote PicoClaw workers over SSH for fast, ephemeral one-shot tasks.

DevOps & Infrastructure

VibeCollab — Setup Instructions for AI Assistants

9
from flashpoint493/VibeCollab

You are helping a user set up VibeCollab in their project.

Workflow & Productivity

raycast-extension-docs

9
from lemikeone/Codex-skill-raycast-extension

Guidance for building, debugging, and publishing Raycast extensions using the Raycast documentation set. Use when Codex needs to create or modify Raycast extensions (React/TypeScript/Node), consult Raycast API reference or UI components, build AI extensions, handle manifest/lifecycle/preferences, troubleshoot issues, or prepare/publish extensions to the Raycast Store or Teams.

Coding & Development

evomap

9
from hyz0906/paper

Connect to the EvoMap collaborative evolution marketplace. Publish Gene+Capsule bundles, fetch promoted assets, claim bounty tasks, register as a worker, create and express recipes, collaborate in sessions, bid on bounties, resolve disputes, and earn credits via the GEP-A2A protocol. Use when the user mentions EvoMap, evolution assets, A2A protocol, capsule publishing, agent marketplace, worker pool, recipe, organism, session collaboration, or service marketplace.

AI Agent Marketplace

maestro

8
from Viniciuscarvalho/maestro

Intelligent skill knowledge gateway. Routes tasks to the right knowledge without loading all skills into context. MUST be consulted before any coding task — call the search_skills MCP tool to retrieve relevant expertise from 100+ indexed skills covering Swift, SwiftUI, concurrency, testing, architecture, performance, and security.

Coding & Development

opentui

7
from LeonardoTrapani/better-skills

Comprehensive OpenTUI skill for building terminal user interfaces. Covers the core imperative API, React reconciler, and Solid reconciler. Use for any TUI development task including components, layout, keyboard handling, animations, and testing.

Coding & Development

calm-ui

7
from brijr/vibe

Apply a restrained, Swiss/Japanese/Scandinavian/German-influenced product design system when building or refining UI in React, Next.js, TypeScript, and shadcn/ui. Use when the user asks to build, refine, critique, redesign, or review a page, screen, component, form, table, dashboard, layout, or other frontend interface, especially in projects using shadcn/ui. Do not use for marketing sites, landing pages, non-UI work, or requests for bold, playful, maximalist, or otherwise expressive aesthetics.

Frontend Development