brewtools:text-optimize

Installation
SKILL.md

Text & File Optimizer

Step 0: Load Rules

REQUIRED: Read references/rules-review.md before 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 Self-check (fact inventory)
Standard -s, --standard Docs, README 30-50% Yes 1 round (>=98%)
Deep -d, --deep CLAUDE.md, system prompts, agent/skill defs, KNOWLEDGE 2-3x No (LLM-only) 1-2 rounds (>=95%)
Max -x, --max CLAUDE.md, system prompts, KNOWLEDGE 3-4x No (LLM-only) 2 mandatory (>=95% + 100% sub-gate)
Installs
8
GitHub Stars
31
First Seen
May 3, 2026
brewtools:text-optimize — kochetkov-ma/claude-brewcode