claude-2x-statusline
Modular, multi-tier statusline for Claude Code — GitHub
Choose your tier
Standard
+ model + context + cost
Full
+ rate limits + timeline
Minimal
2x Active (green — over 3 hours left)
09:15 ▸ ⚡ 2x 6h 45m left ▸ feature-branch ~2
2x Active (yellow — 1-3 hours left)
12:30 ▸ ⚡ 2x 1h 30m left ▸ main
2x Active (red — under 1 hour!)
13:45 ▸ ⚡ 2x 15m left ▸ main ~7
Peak hours (1x mode)
16:30 ▸ PEAK → 2x in 4h 40m ▸ main
Weekend (all day 2x)
11:00 ▸ ⚡ 2x 21h 00m left weekend ▸ main
Standard
2x Active
22:44 ▸ ⚡ 2x 5h 37m left ▸ Opus 4.6 ▸ 40% ▸ $0.420 ▸ 23m ▸ main ~3
Peak hours
16:30 ▸ PEAK → 2x in 4h 40m ▸ Opus 4.6 ▸ 72% ▸ $1.23 ▸ 1h05m ▸ main
High context usage (red warning)
14:20 ▸ ⚡ 2x 5h 40m left ▸ Sonnet 4.6 ▸ 89% ▸ $2.15 ▸ 45m ▸ dev ~12
Full (with --full flag)
2x Active — full dashboard
22:44 ▸ ⚡ 2x 5h 37m left ▸ Opus 4.6 ▸ ▰▰▰▰▱▱▱▱▱▱ 40% ▸ $0.42 ▸ main ~3 ↑1
│ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━●━━━ │ ━ 2x ━ 1x 14:00-20:00 ● now
│ ▸ current ▰▰▱▱▱▱▱▱▱▱ 15% ⟳ 10pm · weekly ▰▰▰▱▱▱▱▱▱▱ 31% ❄ ⟳ mar 20 │
Peak hours — full dashboard
16:30 ▸ PEAK → 2x in 4h 40m ▸ Opus 4.6 ▸ ▰▰▰▰▰▰▰▱▱▱ 72% ▸ $1.23
│ ━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━━━ │ ━ 2x ━ 1x 14:00-20:00 ● now
│ ▸ current ▰▰▰▰▰▰▰▱▱▱ 72% ⟳ 8pm · weekly ▰▰▰▰▰▱▱▱▱▱ 55% ⟳ mar 22 │
Weekend — full dashboard
11:00 ▸ ⚡ 2x 21h left weekend ▸ Opus 4.6 ▸ ▰▱▱▱▱▱▱▱▱▱ 8% ▸ $0.05
│ ━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━━━━━━ │ ━ 2x all day ● now
│ ▸ current ▰▱▱▱▱▱▱▱▱▱ 8% ⟳ 4am · weekly ▰▰▱▱▱▱▱▱▱▱ 20% ❄ ⟳ mar 22 │
Custom — pick your segments
Create ~/.claude/statusline-config.json and toggle each segment on/off:
{
"tier": "custom",
"segments": {
"time": true,
"promo_2x": true,
"model": true,
"context": true,
"git_branch": true,
"git_dirty": true,
"cost": false,
"duration": false,
"rate_limits": true
}
}
Install
macOS / Linux
git clone https://github.com/Nadav-Fux/claude-2x-statusline.git ~/.claude/cc-2x-statusline \
&& bash ~/.claude/cc-2x-statusline/install.sh
Windows (PowerShell)
irm https://raw.githubusercontent.com/Nadav-Fux/claude-2x-statusline/main/install.ps1 | iex