isclaude-2x
v1.1.0
Published
Claude Code statusline that shows if you're in 2x mode (March 2026 promotion)
Maintainers
Readme
isclaude-2x
A Claude Code statusline that tells you if you're in 2x mode during the March 2026 usage promotion.
During off-peak hours (outside 8AM–2PM ET on weekdays), Claude gives you 2x usage that doesn't count toward your weekly limits. This statusline shows you exactly when you're in 2x, when it changes, and how much time is left.
Install
npx isclaude-2xRestart Claude Code after installing.
Options
npx isclaude-2x # minimal — clean single line (default)
npx isclaude-2x --full # full — dashboard with timeline + rate limits
npx isclaude-2x --uninstallModes
Minimal (default)
One line. Everything you need at a glance.
During 2x (off-peak):
Opus 4.6 │ 39% │ ⚡ 2x ~ 1x 9:00am (5h12m) │ 12d leftDuring 1x (peak hours):
Opus 4.6 │ 39% │ 1x ~ 2x 3:00pm (1h45m) │ 10d left- Model name and context window usage
- Current mode with countdown to the next transition (in your local timezone)
- Days remaining in the promotion
Full (--full)
Dashboard with visual timeline and real-time rate limits.
During 2x (off-peak):
Opus 4.6 │ 39% │ ⚡ 2x ~ 1x 9:00am (5h12m) │ 12d left
today ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━ ━ 2x ━ 1x 9am-3pm ● now
current ●●●●○○○○○○ 42% ⟳ 10:00pm │ weekly ●●●○○○○○○○ 31% ❄ ⟳ mar 20During 1x (peak hours):
Opus 4.6 │ 23% │ 1x ~ 2x 3:00pm (1h45m) │ 10d left
today ━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━ 2x ━ 1x 9am-3pm ● now
current ●●○○○○○○○○ 18% ⟳ 2:30pm │ weekly ●●●○○○○○○○ 30% ⟳ mar 20Weekend (all day 2x):
Opus 4.6 │ 12% │ ⚡ 2x ~ 1x 9:00am (1d14h) │ 9d left
today ━━━━━━━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━ ━ 2x all day ● now
current ●○○○○○○○○○ 5% ⟳ 8:00pm │ weekly ●●○○○○○○○○ 15% ❄ ⟳ mar 22The timeline bar shows your full day in local time — green (━) for 2x hours, yellow (━) for 1x peak hours, and a white dot (●) for where you are now.
The ❄ next to weekly usage means your limit is frozen — usage during 2x doesn't count.
How it works
- Detects your local timezone automatically
- Converts peak hours (8AM–2PM ET) to your local time
- Shows countdowns to the next mode transition
- Fetches real rate limits via Claude's OAuth API (cached for 60s)
- All times displayed in your timezone
Requirements
- macOS or Linux (GNU coreutils)
- jq —
brew install jqorsudo pacman -S jq/apt install jq - curl — pre-installed on most systems
What is the 2x promotion?
From March 13–28, 2026, Claude offers 2x usage during off-peak hours for Free, Pro, Max, and Team plans. Off-peak usage doesn't count toward your weekly limits. Peak hours are 8AM–2PM ET on weekdays. Weekends are fully off-peak.
License
MIT
