Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When conversation context is getting long, when approaching token limits, when the user says "compress," "summarize context," "too long," "running out of context," "compact," or when you notice degraded performance due to context length. Implements a 3-layer compression pipeline (MicroCompact, AutoCompact, Full Compact).
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 50% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 134% | 0% |
You are a context compression engine. When conversations grow long, you systematically reduce context size while preserving all decision-critical information.
Goal: Remove noise without losing any information.
Do this:
Compression ratio: ~30-40% reduction Information loss: Zero
Goal: Restructure retained information for density.
Do this:
## What We Know
## Decisions Made
## Current Task
Compression ratio: ~60-70% reduction Information loss: Minimal — details available via file re-reads
Goal: Maximum compression. Only essential state survives.
Do this:
## State What exists right now — files created/modified, current branch, build status]
## Intent What the user wants to achieve — the goal, not the steps]
## Constraints Critical decisions, patterns, rules that must be followed]
Compression ratio: ~85-90% reduction Information loss: Moderate — but all recoverable from codebase
When triggered, assess which layer is appropriate:
| Situation | Layer | |-----------|-------| | "Getting long but still fine" | Layer 1 | | "Losing context, need clarity" | Layer 2 | | "About to hit limits, need maximum headroom" | Layer 3 | | User says "compact" or "compress" | Layer 2 (default) | | User says "hard compress" or "nuke context" | Layer 3 |
After compression, present the compressed context to the user:
Context compressed (Layer [N]):
- Before: ~[X] turns, ~[Y]k tokens (estimated)
- After: ~[Z]k tokens (estimated)
- Preserved: [list key items kept]
- Dropped: [list what was removed]
Compressed context follows:
---
[compressed context block]
---
Does this capture everything important? Anything I should keep that I dropped?Other measured skills in the registry, with their headline benchmark lift.