Add effort level to statusline JSON input
Resolved 💬 3 comments Opened Mar 25, 2026 by efhsg Closed Mar 25, 2026
Feature Request
The statusline command script receives a JSON object via stdin with session metadata (model, context window, cost, etc.). The --effort flag (introduced in 2.1.79) is not included in this JSON schema.
Use Case
Users who customize their statusline want to display the current effort level (low/medium/high) alongside model name and context usage. Currently there is no way to access this from the statusline script.
Proposed Change
Add an effort field to the statusline JSON input:
{
"effort": "high"
}
Environment
- Claude Code version: 2.1.81
- OS: macOS
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗