text-optimize

Installation
SKILL.md

Text & File Optimizer

Prompt contract

Parse $ARGUMENTS as a RU/EN free-form prompt; optional depth flags and paths may appear anywhere. Resolve mode and scope from prose, not keyed arguments; depth flags are the Modes below.

  1. Strip -l, -s, -d, -x, --light, --standard, --deep, --max; an explicit flag wins without scoring.
  2. Otherwise count distinct whole-word hits from Modes/Context Hints: highest score wins, ties use earliest keyword, zero -> medium before Smart Auto-Detection.
  3. Empty arguments -> medium or per-file auto-detection. Ambiguity -> ONE scoping AskUserQuestion.
  4. Max is opt-in: explicit -x/--max or maximum/extreme compress hint only.
  5. Extract paths from remaining prose; never treat sentence-first words as positional paths.

After resolving mode/targets, print this block ONCE before Phase 1 Analysis:

Installs
3
GitHub Stars
32
First Seen
Aug 14, 2026