Statusline: no per-command model/effort visibility, and rate-limit/context data goes stale during long agent turns
Summary
Two related gaps in the statusline (statusLine / subagentStatusLine) that make it hard to trust the bar as a live indicator during agentic work:
1. No visibility into model/effort actually used by a running command or subagent
The main statusLine JSON reflects the top-level console session (model.id/model.display_name, effort.level), not what a slash command or subagent is actually running with. Commands and subagents can temporarily override model/effort (e.g. subagent frontmatter model:, or a command invoking /effort mid-flow), but that override is invisible in the bar.
subagentStatusLine gets closer — its tasks[] array includes model per task — but:
- there is no
effortfield per task - there is no field linking a task back to the slash command/skill name that triggered it (only
name/type/description, which reflect whatever the agent itself reports, not the originating command)
Ask: expose effort per subagent task, and/or a command/source field identifying which slash command or skill invocation spawned the task.
2. Context window / 5h / 7d usage caps don't refresh during a long agent turn
The statusline appears to be event-driven (new JSON pushed at specific points, not continuously polled). During a single long-running agent turn (many chained tool calls, e.g. an autonomous loop), there's no refresh event mid-turn — the bar keeps showing the last known snapshot until the turn ends.
Concrete repro: during a long session, the 5h rate-limit window was actually exhausted mid-turn, but the statusline continued showing ~80% usage for the entire remainder of that turn, only updating (to reflect the real, already-exhausted state) once the turn completed.
This makes the rate-limit/context-window indicators unreliable exactly when they matter most — during long unattended agent runs, where a user has no other way to notice they're about to hit (or already hit) a cap.
Ask: either poll/refresh usage and context-window data at some interval during long turns, or clearly mark the displayed values as stale/last-known when a turn is in progress.
Context
Both points came up while discussing how to monitor multi-command/multi-agent workflows where different commands intentionally use different models/effort levels, and where long autonomous runs need trustworthy live feedback on remaining quota.
3 Comments
This is a real issue for both Claude Code and Claude Cowork.
More information and up-to-date information would be really useful to properly oversee agent executions.
Heads up in case you're still tracking this one: the effort half landed in 2.1.214 ("Added reasoning effort to the
subagentStatusLinepayload"). One gotcha, it's absent on models with no effort capability like Haiku 4.5, so it needs to be optional in whatever renders it.The
command/sourcehalf still looks open.Thanks for the feedback - @camjac251 - the 2.1.214 change was exactly what I needed. Per-task effort in the subagentStatusLine payload let me build a custom subagent status line rendering model · effort · context% per running agent.