valeryia-piatrova

Token Hamster โ€” Development skill for Claude Code

Development community

๐Ÿน Claude Code mod & plugin: usage monitor, token tracker & statusline.

How to install Token Hamster

This entry records only its repository, not the path inside it, so there is no exact command to give. Open valeryia-piatrova/token-hamster and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Token Hamster does

๐Ÿน Claude Code mod & plugin: usage monitor, token tracker & statusline. Live token usage, 5-hour session and weekly limits with reset countdown, rate limit forecast, cost per turn, cache hit rate, usage by subagent, tool and model. Terminal, VS Code & desktop. An animated tamagotchi hamster eats your tokens. A live ccusage alternative.

Alternatives in Development

  • Claude Swap โ€” Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k โ˜…
  • Claude Usage Monitor โ€” Claude Code statusline plugin for 5-hour/7-day quota, context usage, tokens, and reset countdowns in your term 51 โ˜…
  • Brow โ€” Claude Code usage and rate limits in the MacBook notch 50 โ˜…

README

๐Ÿน Token Hamster: Claude Code mod for token usage & limits

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Claude Code mod](https://img.shields.io/badge/Claude%20Code-mod-D97757.svg)](https://github.com/anthropics/claude-code/tree/main/mods) [![Claude Code plugin](https://img.shields.io/badge/Claude%20Code-plugin-D97757.svg)](#install)

![Token Hamster demo: the hamster eats tokens, runs in its wheel with a quarter of the Claude Code limit left, and sleeps in its house when the limit runs out](docs/demo.gif)

**Token Hamster is a [Claude Code mod](https://github.com/anthropics/claude-code/tree/main/mods), a plugin whose behaviour lives in a hooks module, that shows your token usage, your 5-hour and weekly plan limits, when they reset, and what each turn costs, live, inside Claude Code.** An animated hamster eats every token Claude eats, so you see your usage at a glance instead of running a separate command.

  • Token usage: input, output, cache read and cache write tokens for the session, plus a lifetime total.
  • Usage limits: the 5-hour session limit and the weekly limit as percent left, with a refill in โ€ฆ countdown to the reset.
  • Cost: cost per turn and for the session, and cache hit rate.
  • Forecast: your pace per turn and when the session limit will run out at that pace.
  • Statusline: ๐Ÿน all 3.9M ยท session 62% ยท week 95% ยท credits $1.99 under the prompt.

No API key, no log scraping, nothing estimated: the numbers come from Claude Code's own `usage` data at the end of every turn.

How do I check my Claude Code usage?

Install the mod and keep coding. Token Hamster answers the usual questions without leaving the session:

Question Where you see it
How many tokens has this session used? The hamster's cheeks, the pane's counts, the statusline
How close am I to the 5-hour limit? session 62% in the statusline; the hamster's mood
How much of the weekly limit is left?