A coral pixel mascot named Clawd who lives on your screen and shows your real Claude Code usage โ plan limits, cost, streaks โ and grows as a little Tamagotchi you feed and play with.
No more typing /usage. Just glance at Clawd. ๐พ
npx claude-usage-pet # run instantly, no install
# or
npm install -g claude-usage-pet
claude-usage-pet # alias: clawdRuns on macOS, Windows, and Linux (anything with Node 18+). Because it runs
from your locally-installed package, there's no macOS "damaged" Gatekeeper
prompt like prebuilt .dmg/.exe files get. Quit anytime via the mascot's
right-click menu โ Quit.
First install pulls in Electron (a few hundred MB).
Clawd walks, rests, sits, blinks, jumps, sends little hearts, and every so often
takes off on a jet
A tabbed panel powered by your actual Claude Code data:
| Tab | Shows |
|---|---|
| Limits | Real Session (5h) + Weekly utilisation, % left, reset times, and a burn-rate estimate ("on track โ" / " |
| Cost | Estimated USD value at API rates โ today / week / 30-day, per model. |
| Activity | 7-day chart (tokens or $), total tokens, messages, sessions, top project. |
| ๐ Awards | Level + XP, ๐ฅ streak, ๐ช coins, achievements, daily quest, and a treat shop. |
The plan limits are the same numbers /usage shows โ Clawd reads your Claude
Code OAuth token locally and calls the same endpoint. Your menu-bar icon also
shows the live % at a glance.
- Hunger & energy that change over real time โ Clawd gets hungry (๐ช thought bubble), lazy, and eventually sleeps (Zzz). Feed him to perk him up.
- Level up from your token usage, ๐ฅ daily streaks from real activity, achievements, daily quests, and ๐ช coins to spend on treats.
- Clawd's mood reacts to your limits โ a calm glow when you're fine, a worried red pulse when you're near a cap.
Desktop notifications at 80% / 90% usage and when a limit resets, so you never get cut off mid-flow.
Everything is local and private:
- Usage & cost are parsed from your session logs in
~/.claude/projects/**/*.jsonl(incremental โ only changed files are re-read). - Plan limits come from the same OAuth endpoint
/usageuses. The token is read from your macOS Keychain (Claude Code-credentials) or~/.claude/.credentials.jsonon Windows/Linux. It never leaves your machine and is never logged. - If you're not logged into Claude Code, the panel falls back to showing usage vs. your own busiest day/week.
Right-click the mascot (or the menu-bar icon):
- Feed Clawd ๐ช, take a jet flight
โ๏ธ / bike ride ๐ฒ - Settings โ menu-bar metric (weekly/session), pet size, notifications on/off, jet on/off
- Refresh, Reset position, Open at login, Quit
npm run pack # quick unpacked build
npm run dist:mac # universal .dmg + .zip (sign/notarize: see NOTARIZE.md)
npm run dist:win # Windows installer + portableUnofficial, community-made, and not affiliated with or endorsed by Anthropic. "Claude" is a trademark of Anthropic. Cost figures are estimates of equivalent API pricing โ on a subscription you don't actually pay per token.
MIT ยฉ plugin87