[FEATURE] Customizable Agent View rows / status line to show per-session & weekly quota usage
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
The Agent View (the multi-session list that shows ongoing/background Claude Code sessions) displays a fixed set of columns per session row — session name, status, last action, timestamp, and whether it needs input. There is no way to surface quota usage in this view.
When running several sessions/agents in parallel, the thing I most need at a glance is how much of my quota each one is burning. Today I have to drop into an individual session and run /usage (which only reflects that one session) to see the 5-hour session window and the weekly window. There's no aggregate or per-row view across the agents I'm running, so it's easy to blow through the weekly cap without warning while juggling multiple agents.
Proposed Solution
Allow the Agent View rows to be customized the same way the in-session status line already can be — i.e. let a statusLine-style script (or a dedicated agentView status line setting in settings.json) render extra info per session row.
Concretely:
- Reuse the existing status line mechanism: the script already receives JSON session data on stdin (including rate-limit fields). Let that same script output be rendered as an extra column/segment per row in the Agent View.
- Or add a configurable column in the Agent View that can display session 5h quota % and weekly quota %, with reset countdowns.
Ideal UX: each row in the Agent View shows something like Session 42% · Week 71% alongside the existing status, so I can see at a glance which agent is consuming quota and how close I am to the weekly cap — without entering each session.
Alternative Solutions
/usagecommand — works, but only shows the current session and requires entering each session one at a time; no cross-agent view.- Custom in-session status line — already reads rate-limit JSON and can show session + weekly quota persistently, but only for the current session, not in the Agent View list.
- Community scripts (e.g. claude-code-statusline, claude-code-limit-tracker) solve the in-session case but cannot reach the Agent View list.
None of these give per-agent quota visibility in the list view itself.
Feature Category
- Interactive mode (TUI)
Use Case Example
- I have 3–4 Claude Code agents running in parallel on different projects via the Agent View.
- One of them is doing a large, token-heavy task and is quietly eating into my weekly quota.
- With this feature, the Agent View row for that agent shows
Session 88% · Week 76%, so I immediately see which agent to pause. - This saves me from entering each session to run
/usage, and prevents accidentally exhausting the weekly cap mid-task.
Additional Context
The status line already exposes the rate-limit data needed for this (session + weekly windows, reset times), so this is largely about plumbing that existing output into the Agent View rows rather than inventing a new data source. Agent View is currently in Research Preview, so this may be a natural enhancement while the view's UX is still being shaped.