suggest_improvements
Generates ranked improvement suggestions for your token cascade by simulating multiple strategies and returns the highest-impact change for optimizing yield.
Instructions
Generates ranked, simulated improvement suggestions for your token cascade. Takes your 4 pillars, tests multiple improvement strategies (increase cache reads, reduce fresh input, increase output, optimize cache creation), simulates each with the canonical cascade engine, and returns them ranked by Υ yield impact. Each suggestion includes: the action, which pillar to change, how much to change it, the projected Υ after the change, the yield delta, the projected class tier, and a rationale. Also returns the single highest-impact change (best_single_change). Pure local math — no network, no submission. Use this after diagnose_cascade to get actionable next steps, then use simulate_change to fine-tune before committing. Accepts the same input formats as rank_paste.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Token pillars — ccusage JSON or "input output cacheCreate cacheRead" (same format as rank_paste). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestions | No | Ranked recommendations, highest Υ impact first | |
| current_class | No | Current class tier | |
| current_yield | No | Current Υ before any changes | |
| best_single_change | No | The single highest-impact change |