Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By oborchersv1.1.1MITIn 1 marketplace
Compresses CLAUDE.md, ARCHITECTURE.md and agent instruction files to cut token use, either losslessly or with lossy rewrites. Lossy rewrites are checked by a reviewer agent and approved section by section unless you pass --auto.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Compress LLM agent instructions, CLAUDE.md files, ARCHITECTURE.md files, and code documentation to minimize token usage while preserving the information an LLM needs to operate correctly.
LLM-facing markdown accumulates bloat: verbose explanations, redundant examples, motivational filler, hedging language, implied-knowledge tutorials. Every extra token costs money and eats context window. There's no structured way to compress these files while ensuring critical information survives.
| Mode | What Changes | Risk | Typical Reduction |
|---|---|---|---|
| Lossless | Structure only — whitespace, formatting, redundant syntax | Zero | 20-40% |
| Lossy | Semantics — rewrite for density, remove filler, consolidate | Reviewed | 40-70% |
Lossless is always safe. Lossy uses a compressor-reviewer loop with user approval per section.
/markdown-compressor:compress path/to/file.md # Lossy mode (prompted)
/markdown-compressor:compress path/to/file.md --lossless # Lossless mode
/markdown-compressor:compress path/to/file.md --auto # Lossy, no per-section review
/markdown-compressor:compress path/to/file.md --lossless --auto # Lossless, no review
section-compressor agent applies compressioncompression-reviewer agent checks for information loss (lossy only)Three ways to skip per-section review:
--auto flag — skip review from the startcompression-reviewer agent still runs for lossy compression and automatically incorporates its fixes — it just doesn't gate on the userThe markdown-compression skill activates when Claude detects relevant work: "compress this file", "optimize tokens", "make this more concise", "shrink this markdown".
Always safe to remove: filler, restated information, hedging, verbose transitions, redundant illustrative examples, decorative markdown, HTML comments
Never removed: specific values/thresholds, behavioral rules (NEVER/ALWAYS), tool names and paths, decision logic, output formats, edge cases, YAML frontmatter, operational examples (copy-pasteable curl/CLI/config blocks)
| Component | File | Purpose |
|---|---|---|
| Skill | skills/markdown-compression/SKILL.md | Core compression principles and techniques |
| References | skills/markdown-compression/references/ | Detailed lossless and lossy technique catalogs |
| Examples | skills/markdown-compression/examples/ | Before/after compression examples |
| Command | commands/compress.md | /markdown-compressor:compress slash command |
| Agents | agents/section-compressor.md | Compresses one section (aggressive) |
agents/compression-reviewer.md | Reviews compression for info loss (adversarial) | |
| Hook | hooks/hooks.json | SessionStart awareness injection |
# Test locally
claude --plugin-dir /path/to/markdown-compressor
7-day copy clicks
npx claudepluginhub oborchers/fractional-cto --plugin markdown-compressorBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground