clawback.md

connecting… Flips passthrough on for the next few real API turns, capturing a no-intervention baseline, then flips it off. report

overview

optimizations

Wipe the server's metrics ring buffer. Charts start empty after this.

cache

Send synthetic pings every 1-4 minutes so Anthropic's prompt cache doesn't expire between turns.

Use Anthropic's 1-hour extended cache tier instead of the default 5 minutes.

Normalize dates and env blocks in the system prompt so the cache survives day boundaries.

Switch to a 15-45 minute ping cadence. Pairs with the 1-hour cache tier to cut ping cost ~6-12×.

network

Compress outgoing requests and convert streaming to single responses. Cuts radio-on time on tethered links.

ops

Resume Claude automatically once a rate-limit cap clears. Only fires under clawback claude (PTY mode).

Disabled while passthrough is on.

metrics

sessions

session context quota week cache turn tps ttft evict