ccstatusline formats Claude Code’s terminal status line with themes, widgets for model and git info, token usage, and related metrics.
Overview
ccstatusline is a formatter and configuration tool for the status line feature in Claude Code. It runs as a command that Claude Code invokes on a refresh interval, rendering widgets you arrange in a terminal UI setup flow. You can start it with npx or bunx without a global install, or pin a global install so settings call ccstatusline directly.
The interactive TUI lets you define multiple status lines, add and reorder widgets, pick colors and powerline separators, set refresh timing where Claude Code supports it, and preview output live. Settings persist under a user config path, and the tool can write the statusLine command object into Claude Code settings, including optional refresh intervals.
Widgets cover model and session details, git branch and worktree displays, token and cache usage, cost and limit indicators, thinking effort, context bars, directory links, Claude account status, and many timing or forecast displays described in release notes. Configuration can be exported and imported as JSON with review before merge.
The project documents Windows, proxy, and workspace-trust caveats for Claude Code, and notes that the status line command only runs in trusted workspaces. Package-runner choice affects how often registry resolution runs on each repaint, which matters for latency on some platforms.
Key features
- Widget-based status line layout
- Powerline themes and separators
- Git branch and token usage widgets
- Install hook into Claude Code settings
- JSON export and import of configs
- Live preview in configuration TUI
- Pinned global install option
- Configurable refresh interval
Use cases
- Show model and usage in Claude Code
- Display git context while coding
- Track token limits and cache state
- Theme the Claude Code terminal bar