# Context Compressor

> Compress context at tier boundaries to save tokens.

- Skill: `cleanexpo/context-compressor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cleanexpo/context-compressor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cleanexpo/context-compressor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cleanexpo (https://skillmd.com/u/cleanexpo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cleanexpo/context-compressor

---


# Context Compressor

## Strategies
1. Truncate - Keep first/last N chars (free)
2. Extract - Pull keyword-relevant sections (free)
3. Summarize - AI summary via Haiku (cheap)

