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 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)
Installs
6
GitHub Stars
28
First Seen
May 3, 2026
brewtools:text-optimize — kochetkov-ma/claude-brewcode