Customize your status line changedstatusline
Upstream edited this page at 28 Nov 2026 19:22 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Nov 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
406
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits48to this page, all time
The whole hunk
from line 406, old and new numbered
/
from line 406
406406| `misses` | Requests that re-processed content the cache already held: more than 5% and at least 2,000 tokens of what the request could have read from cache, with no compaction or tool-result clearing to explain the shortfall in cache reads |
407407| `expected_rebuilds` | Cache rebuilds that followed a compaction or a clearing of old tool results |
408408| `hit_ratio` | Cache read tokens as a fraction of all input tokens this session, from 0 to 1. The denominator counts cache reads, cache writes, and uncached input. `null` while those counts are all zero |
409| `cache_write_tokens` | All tokens written to the cache this session, the first request's initial write included |
409| `cache_write_tokens` | All tokens written to the cache this session |
410410| `miss_recache_tokens` | Tokens written to the cache by the requests counted as misses |
411411| `last_miss_at` | When the last miss happened, in epoch seconds. `null` while the session has no misses |
412412| `last_miss_cause` | What Claude Code identified as the likely cause of the last miss, described under [Last miss cause](#last-miss-cause). Requires Claude Code v2.1.260 or later |
from line 432
4324322. Make it executable: `chmod +x ~/.claude/statusline.sh`
4334333. Add the path to your [settings](#manually-configure-a-status-line)
434434
435The Bash examples use [`jq`](https://jqlang.org/) to parse JSON. Python and Node.js have built-in JSON parsing.
435The Bash examples use [`jq`](https://jqlang.org/) to parse JSON.
436436
437437### Context window usage
438438
No line in this hunk matches that.