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.
- Strip
-l,-s,-d,-x,--light,--standard,--deep,--max; an explicit flag wins without scoring. - Otherwise count distinct whole-word hits from Modes/Context Hints: highest score wins, ties use earliest keyword, zero ->
mediumbefore Smart Auto-Detection. - Empty arguments ->
mediumor per-file auto-detection. Ambiguity -> ONE scopingAskUserQuestion. - Max is opt-in: explicit
-x/--maxor maximum/extreme compress hint only. - 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: