status-line-live
Custom status line renderer adding live session data to Claude Code: token metrics, session titles, git state, and cost tracking.
Distinguished from the built-in /status_line command -- this is the
renderer and its supporting scripts.
Components
| File | Role |
|---|---|
scripts/statusline.sh | Main renderer (called by Claude Code via stdin JSON) |
scripts/get-session-tokens.sh | Token data extraction from session JSONL |
docs/architecture.md | Data flow, caching, troubleshooting |
Output Format
code
project branch (3) Opus 4.6 $0.66 +28 -5 (70+210K+1.6M):7K [1:267] | session title
Dependencies
jq, bc, git
Related
- •
/status_linecommand -- verbose explainer with ASCII diagrams - •
session-titles/-- runtime data (titles + token cache)