npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claude-usage-pet

v1.0.0

Published

A coral pixel mascot (Clawd) that roams your screen and shows real Claude Code usage — plan limits, cost, streaks, and Tamagotchi-style care + gamification.

Readme

🟧 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