brewtools:text-optimize
Installation
SKILL.md
Text & File Optimizer
Step 0: Load Rules
REQUIRED: Read
references/rules-review.mdbefore ANY optimization. If file not found -> ERROR + STOP. Do not proceed without rules reference.
Modes
Parse $ARGUMENTS: -l/--light | -s/--standard | -d/--deep | -x/--max | no flag -> medium (default) or auto-detect.
| Mode | Flag | Target | Compression | Human-readable | Verification |
|---|---|---|---|---|---|
| Light | -l, --light |
Any | Minimal | Yes | None |
| Medium | (default) | Any | Moderate | Yes | None |
| Standard | -s, --standard |
Docs, README | 30-50% | Yes | 1 round |
| Deep | -d, --deep |
CLAUDE.md, system prompts, agent/skill defs, KNOWLEDGE | 2-3x | No (LLM-only) | 1-2 rounds |
| Max | -x, --max |
CLAUDE.md, system prompts, KNOWLEDGE | 3-4x | No (LLM-only) | 2 (mandatory) |