Skip to content

plugin87/claude-usage-pet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŸง Claude Usage Pet

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. ๐Ÿพ

platform electron license


Install

npx claude-usage-pet           # run instantly, no install
# or
npm install -g claude-usage-pet
claude-usage-pet               # alias: clawd

Runs 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).


What you get

๐Ÿพ A living desktop pet

Clawd walks, rests, sits, blinks, jumps, sends little hearts, and every so often takes off on a jet โœˆ๏ธ, a bike ride ๐Ÿšฒ, or does a quick run ๐Ÿƒ across your screen. Drag him anywhere; click to open his panel; right-click for the menu.

๐Ÿ“Š Real usage at a glance โ€” click Clawd

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 โœ“" / "โš ๏ธ limit in ~2d").
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.

๐ŸŽฎ Tamagotchi + gamification

  • 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.

๐Ÿ”” Stay informed

Desktop notifications at 80% / 90% usage and when a limit resets, so you never get cut off mid-flow.


How it works

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 /usage uses. The token is read from your macOS Keychain (Claude Code-credentials) or ~/.claude/.credentials.json on 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.

Settings & controls

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

Build native apps (optional)

npm run pack        # quick unpacked build
npm run dist:mac    # universal .dmg + .zip (sign/notarize: see NOTARIZE.md)
npm run dist:win    # Windows installer + portable

Disclaimer

Unofficial, 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

About

๐ŸŸง A coral pixel mascot (Clawd) that lives on your screen and shows your real Claude Code usage โ€” plan limits, cost & streaks โ€” with Tamagotchi care + gamification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors