You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Include Token Usage in Status Line JSON #10436
I have searched existing requests and this feature hasn't been requested yet
This is a single feature request (not multiple features)
Problem Statement
Add token usage information to the JSON input provided to custom status line commands, allowing users to display conversation token counts in their status line.
Current Behavior: The JSON passed to statusLine.command includes:
Currently only exceeds_200k_tokens is available, which is binary and provides limited visibility.
Priority
Low - Nice to have
Feature Category
CLI commands and flags
Use Case Example
Users want to monitor conversation length directly in their status line (e.g., 🎯 40K/200K or 20%) to:
Know when to start fresh conversations
Track context window usage in real-time
Avoid hitting token limits unexpectedly
Additional Context
Token usage is already visible in system messages (budget:token_budget) during conversations, so this data exists internally and could be exposed to status line scripts.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Oct 27, 2025
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Nov 4, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.