← ClaudeAtlas

inspectlisted

Statically inspect prompt-cache breakpoints in a captured /v1/messages body or a clawback --state file, with ZERO token spend and no API calls. Answers "where are the cache_control breakpoints, and which ephemeral tokens (cch / date / <env>) sit inside which cached prefixes?" — i.e. what a single mutation cold-starts. Use it to SEE why strip-ephemeral matters (cch precedes the earliest breakpoint, so it cold-starts every cached prefix every request) before spending tokens on a dynamic probe. Read-only and safe to run against a live benchmark.
zapgun-ai/clawback · ★ 2 · Testing & QA · score 63
Install: claude install-skill zapgun-ai/clawback
# clawback cache-breakpoint inspector Run `.skills/inspect/scripts/inspect_breakpoints.sh [PATH] [--json]` from the project root. With no `PATH`, it inspects the most recently modified `runs/*/state*.json`. This is read-only — it touches only files already on disk, never the running proxy — so it is safe to run while a benchmark is in flight. ```bash # inspect the newest run's captured state .skills/inspect/scripts/inspect_breakpoints.sh # inspect a specific captured body or fixture .skills/inspect/scripts/inspect_breakpoints.sh benchmark/fixtures/ccode.json # machine-readable model for tooling .skills/inspect/scripts/inspect_breakpoints.sh runs/l2-haiku/state.A0.json --json ``` ## What it reports A cache-ordered segment table (`tools -> system -> messages`), each row marked with its `cache_control` breakpoint (and TTL) and any ephemeral token it carries, followed by a verdict centered on `cch` (the per-request rotator). Worked example, from a real Claude Code v2.1.145 body: ``` 33 20 system[0] "x-anthropic-billing-header: cch=..." <-- cch 34 14 BREAK 1h system[1] "You are Claude Code, ..." 35 7304 BREAK 1h system[2] " You are an interactive agent ..." <-- iso-date VERDICT: cch sits BEFORE the earliest breakpoint (pos 34). Every cached prefix includes it, so a new cch per request cold-starts 2/2 prefixes ... No breakpoint isolates tools or anything ahead of cch, so nothing survives. ``` ## Why static is enough (and the l