Przejdź do treści
Biblioteka skilli
AI i agenci · Pisanie

response-compression

/response-compression

Skraca rozwlekłe odpowiedzi przez usuwanie wypełniaczy i ramowania, oszczędzając 200-400 tokenów, gdy odpowiedzi puchną lub kontekst szybko się zapełnia.

Licencja
MIT
Ostatnia zmiana repozytorium
01.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 01.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Skraca rozwlekłe odpowiedzi przez usuwanie wypełniaczy i ramowania, oszczędzając 200-400 tokenów, gdy odpowiedzi puchną lub kontekst szybko się zapełnia.

Oryginalny opis (EN)

Compresses verbose responses by removing filler and framing to save 200-400 tokens. Use when responses feel bloated or context is filling fast.

Jak działa

  1. When To Use
  2. When NOT To Use
  3. Elimination Rules
  4. Before/After Transformations
  5. Termination Guidelines
  6. Directness Guidelines
  7. Quick Reference Checklist
  8. Token Impact
  9. Integration
  10. Exit Criteria
Sekcje z nagłówków SKILL.md, w oryginale · 221 linii, 987 słów
Podgląd SKILL.md
---
name: response-compression
description: Compresses verbose responses by removing filler and framing to save 200-400 tokens. Use when responses feel bloated or context is filling fast.
alwaysApply: false
category: optimization
tags:
- tokens
- efficiency
- communication
- directness
tools: []
complexity: low
model_hint: fast
estimated_tokens: 500
---

# Response Compression

Eliminate response bloat to save 200-400 tokens per response while maintaining clarity.


## When To Use

- Reducing verbose output to save context tokens
- Providing concise answers without losing information

## When NOT To Use

- Educational explanations where detail improves understanding
- First-time setup instructions needing step-by-step clarity

## Elimination Rules

### ELIMINATE

| Category | Examples | Replacement |
|----------|----------|-------------|
| **Decorative Emojis** | `--` | (remove entirely) |
| **Filler Words** | "just", "simply", "basically", "essentially" | (remove or rephrase) |
| **Hedging Language** | "might", "could", "perhaps", "potentially", "I think" | Use factual statements |
| **Hype Words** | "powerful", "amazing", "seamless", "robust", "elegant" | Use precise descriptors |
| **Conversational Framing** | "Let's dive in", "Now that we've", "Moving forward" | Start with content |
| **Transitions** | "Furthermore", "Additionally", "In conclusion" | (remove, use structure) |
| **Call-to-Action** | "Feel free to", "Don't hesitate to", "Let me know if" | (remove from endings) |

### PRESERVE (When Appropriate)

| Category | Example | When to Use |
|----------|---------|-------------|
| **Status Indicators** | `[pass] [fail] [warn]` | In structured output, checklists |
| **Technical Precision** | Exact error messages | When debugging |
| **Safety Warnings** | Critical info about data loss | Always preserve |
| **Context Setting** | Brief necessary background | When user lacks context |

## Before/After Transformations

### Example 1: Opening Bloat

**Before** (68 tokens):
```
Great question! I'd be happy to help you understand how this works.
The bloat detector is a powerful tool that analyzes your codebase
and provides comprehensive insights into potential issues...
```

**After** (28 tokens):
```
The bloat detector analyzes codebases using three tiers: quick scan
(heuristics), static analysis (tools), and deep audit (git history).
```

### Example 2: Closing Bloat

**Before** (45 tokens):
```
I've completed the task. Here's what I did:
- Deleted 5 files
- Saved 18k tokens

Next steps:
1. Review the changes
2. Run tests
3. Commit if satisfied

Let me know if you need anything else!
```

**After** (15 tokens):
```
Done. Deleted 5 files, saved 18k tokens.
Backup: backup/unbloat-20260102
```

### Example 3: Hedging Removal

**Before**:
```
I think this might potentially be causing the issue, but I could be wrong.
Perhaps we should consider looking into it further.
```

**After**:
```
This causes the issue. Investigate the connection pool timeout setting.
```

## Termination Guidelines

### When to Stop

End response immediately after:
- Delivering requested information
- Completing requested task
- Providing necessary context

### Avoid Trailing Content

| Pattern | Action |
|---------|--------|
| "Next steps:" | Remove unless safety-critical |
| "Let me know if..." | Remove always |
| "Summary:" | Remove (user has the response) |
| "Hope this helps!" | Remove always |
| Bullet recaps | Remove (redundant) |

### Override: action-first-output

When `Skill(conserve:action-first-output)` is active, two rows above
are overridden:

- **"Next steps:"**: one single-line next action is required, not
  removed. The ban still holds for multi-item "Next steps:" blocks.
- **Bullet recaps**: a position marker ("step 3 of 5 done") is
  required every turn. The ban still holds for recapping content the
  reader just read.

See the Precedence table in that skill for the full resolution.

### Exceptions (When Summaries Help)

- Multi-part tasks with many changes
- User explicitly requests summary
- Critical rollback/backup information
- Complex debugging with multiple findings

## Directness Guidelines

### Direct =/= Rude

**Goal**: Information density, not coldness.

| Eliminate | Preserve |
|-----------|----------|
| Unnecessary encouragement | Technical context |
| Rapport-building filler | Safety warnings |
| Hedging without reason | Necessary explanations |
| Positive padding | Factual uncertainty markers |

### Encouragement Bloat

**Eliminate**:
- "Great question!"
- "Excellent point!"
- "Good thinking!"
- "That's a great approach!"

**Replace with**: Direct answers to the question.

### Rapport-Building Filler

**Eliminate**:
- "I'd be happy to help you..."
- "Feel free to ask if..."
- "I hope this helps!"
- "Let me know if you need..."

**Replace with**: Useful information or nothing.

### Preserve Helpful Directness

The following are NOT bloat:
- Brief context when user needs it
- Clarifying questions when ambiguity affects correctness
- Warnings about destructive operations
- Error explanations that help debugging

## Quick Reference Checklist

Before finalizing response:

- [ ] No decorative emojis (status indicators OK)
- [ ] No filler words (just, simply, basically)
- [ ] No hedging without technical uncertainty
- [ ] No hype words (powerful, amazing, robust)
- [ ] No conversational framing at start
- [ ] No unnecessary transitions
- [ ] No "let me know" or "feel free" closings
- [ ] No summary of what was just said
- [ ] No "next steps" unless safety-critical
- [ ] Ends after delivering value

## Token Impact

| Pattern | Typical Savings |
|---------|-----------------|
| Eliminating opening bloat | 30-50 tokens |
| Removing closing fluff | 20-40 tokens |
| Cutting filler words | 10-20 tokens |
| Removing emoji | 5-15 tokens |
| Direct answers | 50-100 tokens |
| **Total per response** | **150-350 tokens** |

Over 1000 responses: 150k-350k tokens saved.

## Integration

This skill works with:
- `conserve:token-conservation` - Budget tracking
- `conserve:context-optimization` - MECW management
- `sanctum:pr-review` - Review feedback

## Exit Criteria

- [ ] Response contains none of the banned openers: "Great question!",
  "I'd be happy to help", "Let's dive in", "Furthermore",
  "Additionally", "In conclusion"
- [ ] Response contains no trailing filler: "Let me know if...",
  "Feel free to...", "Hope this helps!", "Next steps:" (unless
  safety-critical)
- [ ] Token count of final response is 150-400 tokens lower than a
  naive version of the same content would be, verified by comparing
  before/after examples when token impact is measurable
- [ ] Safety warnings, technical precision, and factual uncertainty
  markers are preserved intact; only decorative and conversational
  content is removed

Wersje

W bazie nie ma innych skilli o nazwie response-compression.

Migawka bazy z 13.11.2026 · wersja paczki ab0ec85be1e5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100context-minimization
    Ogranicza zużycie okna kontekstu w długich zadaniach, gdy czytane są całe duże pliki, wynik poleceń zalewa transkrypt, a odpowiedzi stają się rozwlekłe i wolne.
  • 100context-compression
    Pomaga, gdy kontekst rozmowy jest rozdęty lub zapominane są ograniczenia, oraz przygotowuje zwięzłe przekazanie przed kontynuacją pracy.
  • 100input-token-overheads
    Audytuje źródła narzutu tokenów wejściowych, gdy okno kontekstu zapełnia się zbyt szybko lub koszt tokenów jest zbyt wysoki.
  • 100doncheli-context-health
    Raportuje stan okna kontekstu i zaleca kompresję lub czyszczenie, gdy kontekst się zapełnia.
  • 100compression
    Skraca odpowiedzi Claude do trybu zwięzłego, aby zmniejszyć liczbę tokenów, korzystając z wtyczki sift-compress lub własnej reguły.
  • 100context-weaving
    Zapobiega przepełnieniu kontekstu przed uruchomieniem czterech lub więcej agentów, kompresuje długie sesje i przenosi rozwlekłe treści do systemu plików, gdy pojawia się błąd Prompt is too long.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.