claude-code - 💡(How to fix) Fix [FEATURE] Surface context-window usage in the Android app (and web app)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Cloud sessions can run very long because the model is doing real work between user turns, and the user can't watch a status line tick over. By the time the auto-compression message arrives, the user has already lost the ability to make a structured handoff.

RAW_BUFFERClick to expand / collapse

The CLI shows context-window usage and /status exposes it, but neither is available in cloud sessions launched from the Android app or claude.ai/code web sessions. In a long session it's not possible to tell whether the model is at 20% or 80% of its window, which makes it hard to plan when to wrap up, fork a sub-agent, or commit-and-handoff before auto-compression kicks in.

Asked the agent mid-session to estimate its own usage and the honest answer was "I don't have a way to query that" — so the information isn't reachable from the model side either.

Proposed

Show a small context-usage indicator in the chat UI on Android and web — same data the CLI exposes (current / cap, % used, ideally also a compression-imminent warning).

Why this matters in cloud sessions specifically

Cloud sessions can run very long because the model is doing real work between user turns, and the user can't watch a status line tick over. By the time the auto-compression message arrives, the user has already lost the ability to make a structured handoff.

Related

  • #59412 (token usage in agent view row, CLI-focused)

Platforms

  • Android app (priority)
  • claude.ai/code web
  • Claude Desktop (Mac/Windows)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Surface context-window usage in the Android app (and web app)