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
Add context usage/percentage to statusLine JSON input #10557
Add context usage information to the JSON input provided to statusLine commands.
Motivation
The status line currently provides useful information (model, directory, git status), but doesn't include context usage - one of the most important pieces of information during a session. Users want to see how much context budget remains at a glance.
Key Evidence: This Information Already Exists
Claude Code already tracks context usage - evident from the low context warning that appears when approaching limits. If the system can detect when context is running low, it must be tracking token usage internally.
The question is just exposing this information to the status line interface.
Proposed Solution
Add context usage fields to the JSON input structure passed to statusLine commands:
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 29, 2025
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
spm1001 commentedon Oct 29, 2025
Closing as dupe. It would be super useful. The inbuilt system does it but only below a threshold.
github-actions commentedon Nov 5, 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.