Skip to content

feat: show each session's context size in a CTX column - #33

Merged
brtkwr merged 1 commit into
mainfrom
feat/ctx-column
Sep 23, 2026
Merged

brtkwr merged 1 commit into
mainfrom
feat/ctx-column

Conversation

@brtkwr

@brtkwr brtkwr commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

A new CTX column shows how big each conversation is in tokens as of its last reply (70k, 289k, 1.2M), in other words how full its context is if you resume it. It drops after a compaction. SIZE stays as it was.

It's read from the last Claude reply's recorded usage: input plus cache reads plus cache writes. Replies that record zero usage, such as API-error placeholders, are skipped so they don't show as an empty context.

On real sessions:

  WHEN      PROJECT          TOPIC                                   CTX   MSGS  HITS    SIZE
  now       ccs            ● CCS autorefresh and attached sessions   289k     99     0     3MB
  2m ago    two-app-values ● Backup usernames for production         783k    370     0     6MB
  16m ago   two-inc        ● Tailscale evaluation for org             70k     12     0   398KB

🤖 Generated with Claude Code

https://claude.ai/code/session_01JUmkVYwbkobda1AnHuwFDE

CTX is the conversation's size in tokens as of its last reply (input +
cache reads + cache writes from that reply's usage), e.g. 281k, 1.2M.
Zero-usage placeholder replies such as API errors are skipped.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUmkVYwbkobda1AnHuwFDE
@brtkwr
brtkwr merged commit d2e7533 into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant