◉ Pulse
Gui-Gou avatar
#70 today

Gui-Gou/claude-statusline-burnrate

Shell AI #anthropic #bash #claude #claude-code

Stop opening /usage — a Claude Code status line that does the weekly-limit math: today's share, sustainable burn rate, sleep-aware pacing. Pure bash + jq.

Created Aug 1, 2026
Stars
9
Today
+9
Forks
0
Quality
100/100
Momentum
21

README

Fetched from GitHub on Nov 7, 2026, 1:51 AM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to Gui-Gou/claude-statusline-burnrate and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

claude-statusline-burnrate

Stop opening /usage. It's all right there.

bash deps platform license

every stat explained

Real server-side rate_limits — the same numbers /usage shows — answers what you actually want: am I ok, and how hard can I push? Pure bash + jq. No node, no daemons, no estimates.

The pacing math counts awake hours, so the trend doesn't fall "behind" every night while you sleep. And the colors stay gray until something needs you: only a meter that has actually warmed up gets to pull your eye.

Install

Needs jq and Claude Code v2.1+.

Easiest — you already have an AI open. Paste this into Claude Code:

Install the status line from github.com/Gui-Gou/claude-statusline-burnrate: download
https://raw.githubusercontent.com/Gui-Gou/claude-statusline-burnrate/main/statusline.sh
to ~/.claude/statusline.sh, chmod +x it, then set statusLine to
{"type":"command","command":"~/.claude/statusline.sh"} in ~/.claude/settings.json
without touching my other settings.

Using the Antigravity CLI too? Add "and the same statusLine in ~/.gemini/antigravity-cli/settings.json" to the prompt (see below).

By hand — two commands:

curl -fsSL https://raw.githubusercontent.com/Gui-Gou/claude-statusline-burnrate/main/statusline.sh -o ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh

Then add to ~/.claude/settings.json:

{
  "statusLine": { "type": "command", "command": "~/.claude/statusline.sh" }
}

Open a new session. That's it.

Try it first

git clone https://github.com/Gui-Gou/claude-statusline-burnrate && cd claude-statusline-burnrate
./demo.sh             # the four states below, fake data
./demo.sh --live      # animated tour: meters sweep, models cycle
./demo.sh --classic   # the one-line v1

states

Prefer one line?

v1 is still here as statusline-classic.sh: same math, one row, emoji labels and an animated cat whose mood follows the worst meter.

classic one-liner

curl -fsSL https://raw.githubusercontent.com/Gui-Gou/claude-statusline-burnrate/main/statusline-classic.sh -o ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh

Upgrading from v1: re-running the install gives you the card. The card is about 65 columns wide, so on a narrow terminal the classic line fits better.

Using Herdr?

Herdr already shows your plan usage, git branch and agent status. statusline-herdr.sh keeps only what Herdr can't show for each pane: the model and effort, this chat's context, the lines this session added and removed, and the folder Claude works in right now.

Herdr shows the folder a pane started in, but Claude moves with cd. So the folder is plain while Claude stays inside the launch folder, amber once it leaves it, and red when it is working in a different git repo, where edits may land in the wrong place.

Herdr edition

curl -fsSL https://raw.githubusercontent.com/Gui-Gou/claude-statusline-burnrate/main/statusline-herdr.sh -o ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh

Inside a Herdr terminal it also writes one small JSON per session to ~/.claude/.cache/herdr-usage/, so a Herdr panel can show the plan usage. Try it with ./demo.sh --herdr.

Antigravity CLI (agy)

Both scripts also work as the status line of Google's Antigravity CLI. Needs jq, python3 and agy.

Already installed for Claude Code? Skip the download and just add the setting below. Otherwise:

mkdir -p ~/.claude
curl -fsSL https://raw.githubusercontent.com/Gui-Gou/claude-statusline-burnrate/main/statusline.sh -o ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh

Then add to ~/.gemini/antigravity-cli/settings.json:

{
  "statusLine": { "type": "command", "command": "~/.claude/statusline.sh" }
}

agy's payload carries no rate_limits, so the script falls back to agy -p "/usage": parsed with python3, refreshed in the background every 3 min, and cached in ~/.claude/.cache/agy-quota.cache. Gemini models use the Gemini quota, Claude/GPT models the other one. The effort comes from the model name (Gemini 3.8 Flash (High)), and Gemini Flash, Gemini Pro and GPT get their own colors (plus a mascot in the classic line: ⚡ ✨ 🪐).

In Claude Code, rate_limits are present, so the fallback never runs.

Tweak

Variable Default
SL_DAY_START 2 Hour your day flips (2 = 2am)
SL_SLEEP_HOURS 6 Hours after that spent asleep — zero-weight in the pacing math
SL_STATUS 1 0 stops the background check of status.claude.com (a 🔥 appears only during an incident)
SL_TASKS 0 1 counts open / in-progress / blocked items in project-management/TASKS.md in place of the cost
SL_AGY_BIN agy on PATH, else ~/.local/bin/agy Path to the agy binary
SL_HERDR_FEED auto Herdr edition only: auto writes the usage feed inside Herdr, 1 always, 0 never
SL_HERDR_DIR 1 Herdr edition only: 0 hides the current-folder segment
SL_AGY_TTL 180 Seconds between background agy /usage refreshes

Colors, thresholds and layout are short, commented blocks of bash. Make it yours.


A ⭐ helps the next dev find it before a rate-limit panic.

MIT

Rendered by GitHub from the repository’s README. Scroll to read the full file.
First trending

Aug 2, 2026

first spotted on the list

Best rank

#70

highest position reached

Appearances

1

times on the trending list

Quality score

100

out of 100

Momentum

21

trend strength indicator

Star velocity

0.09

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot

Not enough snapshots yet — check back soon.

Rank history

position on trending · lower is better

Not enough snapshots yet — check back soon.

3D card for your website

Live HTML card with a glass surface and pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/Gui-Gou/claude-statusline-burnrate" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="Gui-Gou/claude-statusline-burnrate — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

Gui-Gou/claude-statusline-burnrate stars badge
Markdown
[![Gui-Gou/claude-statusline-burnrate](https://www.notionpulse.cc/api/badge/Gui-Gou/claude-statusline-burnrate.svg)](https://www.notionpulse.cc/repo/Gui-Gou/claude-statusline-burnrate)
HTML
<a href="https://www.notionpulse.cc/repo/Gui-Gou/claude-statusline-burnrate"><img src="https://www.notionpulse.cc/api/badge/Gui-Gou/claude-statusline-burnrate.svg" alt="Gui-Gou/claude-statusline-burnrate stars badge" /></a>

Repository of the Day

#70 Repository of the Day

Repository of the Week

#70 Repository of the Week

Repository of the Month

#70 Repository of the Month