Output Compress — Development skill for Claude Code
Tiered, opt-in output compression skill with a deterministic fidelity gate (Claude Code Agent Skill + Codex AGENTS.md variant).
How to install Output Compress
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zeuikli/output-compress and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Output Compress does
Tiered, opt-in output compression skill with a deterministic fidelity gate (Claude Code Agent Skill + Codex AGENTS.md variant). Caveman-derived.
Alternatives in Development
README
output-compress
Tiered, opt-in output compression with a deterministic fidelity gate. See `SKILL.md` for the full rules (Claude Code / Agent Skills format) or `AGENTS.md` for the same rules in Codex's format. `USAGE.md` covers day-to-day workflows, log analysis, and auto-activation wiring (§7).
What's in the box (v1.5.0)
- Three compression levels —
lite/full/ultra(caveman-derived syntax); deletion only, never rewriting, with negation-first ordering to avoid the most common gate failure (SKILL.md§1, §4). - Model-tier compression caps — the level is capped by who reads the text
(small models
lite, mid-tierfull, frontierultra; uncalibrated models start atlite) (SKILL.md§2). - Never-compress whitelist (7 categories) — code/paths/URLs/env vars, all numbers
and dates, negations + quantifier bounds with their clause, project structured tags
(
CUSTOM_TAG_PATTERNS), safety-critical statements, contract fields as whole blocks, and hedges/qualifiers (the "decontextualization" axis) (SKILL.md§3). - Deterministic fidelity gate —
scripts/fidelity-check.pyregex/set-diffs the whitelist between original and compressed text; no LLM self-judgment.--coveragepre-check tells you when compressing isn't worth it;--logappends JSONL records withsaving_pctand thegrounded_pctrewriting-detector axis (SKILL.md§4). - Delegated compression (optional) — hand the deletion judgment to a cheap worker
model while the orchestrator keeps the gate (scaling-paradox grounding: bigger
compressor models are less faithful) (
SKILL.md§4b). - Pace/usage coupling (optional) —
scripts/usage-pacer.pyemits AHEAD/ON_PACE/BEHIND burn-rate verdicts plus absolute-threshold escalation (80%/95% used) and handoff states (HANDOFF_PREP/HANDOFF_HALT); provider feedersclaude-usage-fetch.py/codex-usage-fetch.pysupply real usage numbers, andcodex-handoff.pyoffers opt-in packet-backed han
Related Skills
Tok Opt
Activate the unified Token Optimizer suite to slash token consumption by 50-70% across high-end models (cavema
Rtk
Install, update, verify, and manage optional RTK tool-output compression.
Toonify MCP
Context compression plugin for Claude Code. Automatically trims large tool output—JSON, YAML, stack traces, an
Caveman
caveman — 65% fewer output tokens, same technical accuracy
Ashlr Brief
Toggle response-shortening (caveman-inspired, ashlr-flavored) with three intensity levels. Trims filler from C
Claude Skill Cave
Caveman mode skill for Claude. Fewer output tokens, longer usage before hitting limits.
Related Agents
Caveman Compress
Compression engine wrapper — runs the caveman-compress CLI on a body artifact in scratch, returns the compress
Caveman
Rewrites any input into caveman style — terse, blunt, facts only. No greetings, no filler, no explanations. Us
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,