Claude Code status line
Your limits and reset times, in two lines.
A bash script that replaces the status line in Claude Code. The session is on the left: model, context, cache, cost and time. On the right edge are the day your plan ends and the 5-hour and weekly limits, each with a bar and the time left until it resets.
Free, MIT licence. Not affiliated with Anthropic.
What it looks like
The script's own output with sample figures: normal use, getting close, and almost out.

What it shows
Everything comes from the data Claude Code gives to a status line, except the plan date.
5-hour and weekly limits
Percent used, a bar and a countdown to the reset for each. Yellow from 70%, orange from 80%, red from 90%.
Plan end date
Days left and a bar for the month, read from a one-line file. Gregorian by default, Jalali with one setting.
The session
Model and effort, cost, context window, cache hit ratio, session time and the time spent waiting for the model.
Install
One line in the terminal. It sets the status line in Claude Code and keeps a backup of your settings. Best in a window of about 135 columns or more.
brew install amirhp-com/tap/claude-code-statusline && claude-code-statusline install
curl -fsSL https://raw.githubusercontent.com/amirhp-com/claude-code-statusline/main/install.sh | bash
After installing
Installed with curl? Use ~/.claude/claude-code-statusline.sh in place of the command name.
Add your plan date
Optional:
claude-code-statusline plan-ends 2026-12-20, with your own date. Change it after each renewal, or useoffto hide it.Use the Jalali calendar
Run
claude-code-statusline install --jalali.Remove it
claude-code-statusline uninstallputs your previous status line back. Run it before removing the Homebrew package.
// open-source/
More open source
The other projects with a page of their own. The rest, 65 in all, are in the explorer, each with its status and where the numbers come from.
- Receipt Uploader for WooCommerce1,000+ installs, rated 5.0 from 14
- upload-url-to-serverOne PHP file, 32 releases since 2020
- Justify It and Lorem SazAdobe XD plugins, 11,015 downloads, archived
- CF7 DatabaseContact Form 7 submissions, kept and exported
- Gravity Forms OTP VerificationA one-time code before the entry is saved
- Forms Notifier for ElementorElementor forms to Telegram, SMS, WhatsApp and 16 more
- Block External RequestWordPress's outbound calls, under control
- Slipnet for macOSA Mac client for a DNS-tunnelling VPN
- KeepMeUpKeeps the Mac awake, takes orders from Telegram
- HushSpeech to text on the Mac, Persian and English
- Claude Code status lineLimits and reset timers in two lines
- BDM, BlackSwan Download ManagerSegmented downloads on the Mac, with browser extensions
- Firefox add-onsFive published, 4.6 average rating