token-hamster

Reviewed at commit 82dfb7a

An animated hamster above the prompt that eats every token in the colours of the token mix, with moods from the 5-hour and weekly limits and a reset…

What we checked

Shows an animated hamster above the prompt with your session token usage, remaining context and 5-hour/weekly limits, and puts a short usage line in the status bar. It reads usage numbers and tool names from Claude Code, makes no network calls, runs no programs and only stores a lifetime token count.

Review details

Static review of the source at the pinned commit; not run. Registers /hamster and hooks tool.call (counts tool names per turn, passes the call through unchanged), session.start, turn.start, turn.complete and ui.render (AbovePrompt band and a Pane). Runtime calls: $.session.usage, $.agent.list, $.clock, $.store.get/set (one numeric 'lifetime' key), $.ui.status, $.ui.open, $.ui.resolve. Token counts, cost, rate-limit percentages, context breakdown category names and tool names are kept in in-memory state for the stats pane. No fetch, no $.fs, no $.process, no eval. SVG strings are built locally from numbers and escaped text. The ../types import is a type-only declaration file (types/index.d.ts), which was reviewed. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of token-hamster

Claude Code mod that shows token usage, 5-hour and weekly limits, reset countdown and cost per turn as an animated hamster above the prompt

Made this mod? Add a badge to your README

modsforClaude badge for token-hamster

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/token-hamster.svg)](https://modsforclaude.com/mods/token-hamster/)

← All mods