chimera_optimize
Clean and compress text by removing filler phrases, duplicate sentences, and extra whitespace. Returns optimized text with token savings.
Instructions
Remove filler, deduplicate sentences, normalize whitespace from text. Returns optimized text and token savings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to optimise | |
| strategies | No | Ordered list of optimisation passes to apply. Default: [whitespace, dedup_sentences, strip_filler] | |
| preserve_code | No | Skip optimisation inside code fences (``` blocks). Default true. | |
| focus | No | Optional task focus/query. quantum mode uses it to keep the most relevant units. | |
| algorithm | No | Optimisation algorithm. quantum = salience selection. classic = legacy line/filler cleanup. | quantum |