What cc-statusline Offers
cc-statusline transforms your Claude Code terminal into an informative dashboard with real-time project insights, git status, usage tracking, and more.Directory Display
Current working directory with
~ home abbreviationGit Integration
Active branch name and repository status
Model Information
Claude model name, version, and Claude Code version
Context Tracking
Real-time context window usage with visual progress bars
Cost Monitoring
Live cost tracking with hourly burn rate calculations
Session Timer
Time remaining until usage limit reset
Token Analytics
Token consumption and tokens-per-minute metrics
Color Themes
256-color palette support for beautiful terminals
Feature Categories
Core Features (Always Available)
These features work out of the box with minimal dependencies:- π Directory Display - Shows your current working directory
- πΏ Git Branch - Displays active git branch (requires git)
- π€ Model Information - Claude model and version details
- π Claude Code Version - Shows which version youβre running
- π¨ Output Style - Current output style setting
Advanced Features (Require jq)
Install jq to unlock:- π§ Context Usage - Real-time context window tracking with progress bars
- π° Cost Tracking - Live cost monitoring with burn rates
- π Token Analytics - Token consumption and burn rate metrics
- β Session Timer - Time until usage limit resets (also requires ccusage)
Example Output
Default 3-Line Layout
With all features enabled, you get a clean, informative 3-line display:See compact mode example
See compact mode example
Installation Options
- Quick Start
- Global Installation
- Project-Specific
The fastest way to get started:Answer a few questions and youβre done!
Feature Selection
During installation, you can customize which features to enable:| Feature | Description | Example | Requires |
|---|---|---|---|
| π Directory | Current working directory | ~/my-project | - |
| πΏ Git Branch | Active git branch | feature/statusline | git |
| π€ Model | Claude model name & version | Sonnet 4 | - |
| π Claude Code | Claude Code version | v1.0.85 | - |
| π¨ Output Style | Current output style setting | default | - |
| π§ Context | Remaining context with progress bar | 83% [========--] | jq |
| π° Cost | Live costs with burn rate | $49.00 ($16.55/h) | jq |
| β Session | Time until reset with progress | 3h 7m until reset | jq + ccusage |
| π Tokens | Token consumption with burn rate | 14638846 tok (279900 tpm) | jq |
All features are pre-selected by default (v1.2.2+). Simply press Enter to accept or use arrow keys and Space to customize.
Performance Characteristics
cc-statusline is designed for speed:| Metric | Target | Typical |
|---|---|---|
| Execution Time | <100ms | 45-80ms |
| Memory Usage | <5MB | ~2MB |
| CPU Impact | Negligible | <1% |
| Dependencies | Minimal | jq only |
Benchmarked on macOS with all features enabled
Next Steps
Directory & Git Features
Learn about directory display and git integration
Context Tracking
Understand context usage monitoring
Cost Monitoring
Track costs and burn rates in real-time
Customization
Customize colors, themes, and layouts