Skill: Quota / token exhaustion failover (HARD GATE)
Use when any coding agent or surface returns a quota, rate-limit, weekly/monthly cap, spend-limit, or "tokens exhausted" error.
Rule: never silent-fail and never burn the same exhausted surface with blind retries. Try param/effort/scope levers before vendor failover. Then traverse the vendor-neutral tier tree + closed-world lineup before naming a substitute SKU.
- Hard gate tree:
../../knowledge/ai-coding-quota-exhaustion-decision-tree.md - Deep layer (playbook):
../../knowledge/coding-agent-levers-playbook.md— lever encyclopedia, interaction matrix, missing-lever failover, worked examples. Tree remains the hard gate; do not duplicate the encyclopedia here.
Ladder
- Classify — context overflow | rate limit | soft quota | hard weekly/monthly/spend
- Record — surface, model, error, reset time, task state, remaining headroom
- Levers on usable surface (before vendor hop)
- Lower effort / thinking / fast flags to stretch quota if quality OK
- Raise reasoning dial on same model before bigger SKU
- Tighten prompt/scope; decompose into smaller runs
- Shrink context; avoid max window params unless required
- Failover order (same tier first)
- Same vendor, different surface (CLI ↔ cloud agent)
- Same tier, different vendor (closed-world lineup)
- Lower-cost tier that still fits the task leaf
- Wait until reset if deadline allows
- Escalate (Team Lead / human) for plan upgrade / spend-limit raise / true ambiguity
- Deliverable — levers tried + chosen failover + reset time + what NOT to retry
Lever catalog (summary)
| Lever | When |
|---|---|
| Lower effort / fast / thinking off | Soft quota left; quality bar still met |
| Raise reasoning dial same model | Quality insufficient; not hard-capped |
| Tighten prompt / scope | Token burn from sprawling asks |
| Decompose | One big agentic run burning quota |
| Shrink context / window param | Context overflow or expensive max window |
| Same vendor, other surface | Hard cap on one meter only |
| Same tier, other vendor | Cap is hard; task still needed |
| Lower tier that fits leaf | Prestige SKU unaffordable under cap |
| Wait for reset | Soft deadline; alternates miss quality bar |
| Escalate plan upgrade | Alternates fail + hard deadline |
Anti-patterns
- Identical retry on the exhausted surface
- Jumping SKU before effort/scope levers
- Hiding the limit from the Team Lead / human
- Inventing SKUs outside the verified lineup
- Using max context "just in case" under quota pressure
Credit
Companion to the quota-exhaustion decision tree + coding-agent-levers-playbook; mirrors Grok Bot HARD GATE (Matthew-approved effort levers, 2026-09).