[FEATURE] Surface context-window usage in the Android app (and web app)
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/codeweb- Claude Desktop (Mac/Windows)
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗