diagnose_cascade
Identify token cascade inefficiencies and get ranked findings with severity and recommendations to improve yield.
Instructions
Analyzes your token cascade and diagnoses where you're leaking efficiency. Takes your 4 pillars (input/output/cacheCreate/cacheRead) and produces a ranked list of efficiency leaks with severity (critical/warning/info), findings, and recommendations. Checks: cache leverage (are you rereading what you wrote?), velocity (are you generating enough output per input?), SNR (is your signal drowning in noise?), cache creation ratio (are you over-committing?), input bloat (is fresh input too high?), and 10xDEV (is the full cascade compounding?). Each finding includes an estimated Υ impact. Pure local math — no network, no submission. Use this BEFORE simulate_change to understand what's wrong, then use simulate_change to test fixes. Accepts the same input formats as rank_paste (JSON or 4 whitespace numbers).
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 |
|---|---|---|---|
| cascade | No | ||
| pillars | No | The 4 raw token pillars | |
| summary | No | One-line summary of the operator's cascade health | |
| diagnosis | No | Ranked list of efficiency leaks found, worst first |