ClaudeCodeMod

All shelves / Mods / Play

token-monster

By ugglr

token-monster is a Claude Code play mod by ugglr.

Draws a pixel monster in a side pane that eats tokens, and shows how full the context is, the plan limits, and what Claude is doing.

Draws

Install

The marketplace name is token-monster.

In Claude Code
/plugin marketplace add ugglr/claude-token-monster
/plugin install token-monster@token-monster
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.4.2
License
MIT
Repo stars
5
Last change
2026-10-04

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Sees tool calls
  • Calls another program on this machine

Needs Claude Code 2.1.287 or later, and it looks best with 24-bit color. Mods are not sandboxed, so read the code before you install any mod. The pane opens by itself at 144 columns or more, and /token-monster opens it at any width. Size is how full the context is, and the bar splits that by category as /context does. Glow is the session limit and the weekly limit. The status line supplies context, limits, and the session cost, and those figures are Claude Code's own. A frosted bowl means the prompt cache lapsed, after 5 minutes, or an hour once the session keeps the cache that long, and the readout estimates the tokens the next prompt re-reads. Sound is off by default. One chime plays through afplay on macOS when Claude starts waiting. Press d for the diet, then e. The next /compact replaces the marked tool results with a short note the model reads and leaves the rest. A tool call that fails twice only shows, and Claude is never told. It also reads the response stream, each tool call's name and its path, description, command, URL, search, or prompt, running subagents, and permission dialogs. No network calls. Token counts are the author's estimate, about four characters a token. Cookie Monster, Tamagotchi, Dragon Ball, and Street Fighter are named only as inspiration and are not affiliated.

The plugin is the repository. The marketplace name is token-monster, and its source is ./, the repository root. The monster is why this page files it under play. terminal-pet draws a pixel crab above the prompt that reacts as Claude works, its belly showing how full the context is. hyday-pet draws a virtual pet above the prompt that grows as Claude uses tools, with a pane for care. This one reads the context fill, the /context category breakdown, the session and weekly limits, and the session cost from the status line. The diet note is the addition to what the model reads. The fed-up state is only shown.

Demo

The Read the monster section: size is the context fill, glow is the plan limits, chewing is the stream, and a frosted bowl is a lapsed prompt cache.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/token-monster
  • session.measureWhen usage is measured
  • session.compactWhen the context is compacted
  • prompt.editWhen you edit the prompt
  • prompt.submitWhen you send a prompt
  • turn.stepAt each step of a turn
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • classic.PermissionRequestA Claude Code event
  • classic.PermissionDeniedA Claude Code event
  • agent.spawnWhen a subagent starts
  • ui.renderDraws into the sessionToolProgressAbovePromptPane
  • classic.SessionStartA Claude Code event
  • tool.callAround a tool call, where it can hold one
  • ui.closeWhen its pane closes

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /token-monsterOpen the Token Monster pane, swap its monster and color, put it on a diet, or turn sound on or off

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
ugglr
Category
Play
Marketplace
token-monster
Repo
ugglr/claude-token-monster
Version
0.4.2
License
MIT
Repo stars
5
Last change
2026-10-04
Language
TypeScript
Files
29

Other mods in Play

pixel-petNamenomeaningDraws a pixel pet above the prompt that acts out the tool Claude is using, with context and rate-limit bars below.agent-narratorOneWave-AIDraws each step of the session in one plain sentence, with a running estimate of time saved.boss-fightOneWave-AIDraws a pixel boss when tests fail, one hit point per failure, and a hit for each failure a later run fixes.code-petOneWave-AIDraws a pixel pet in a pane that eats when Claude calls a tool, gets sick when one fails, and panics at a destructive command.pixel-catmatthlhDraws a pixel cat above the prompt that follows the tool Claude is using, with the 5-hour, 7-day, and context figures beside it.arcadeArbakovMaximOffers a game above the prompt once Claude has worked for 10 seconds, with NES games in a pane and Sega, Doom, chess, books, and videos in a browser window.mantleAkshitTiwariiOpens a theme studio with /mantle and recolors Claude Code live as Claude thinks, runs a tool, or errors, with Windows Terminal and claude.ai themed to match.heatomeerdvrnHeats up as you send prompts and Claude's tool calls succeed, shows the tier in the footer, and sends a fire burst above the prompt once you are hot.gamble-with-claude-codeszarkansOpens a casino pane with slots, roulette, and blackjack, where you bet the tokens Claude Code burned today. No real money, and nothing you can win.spinlings416rehmanDraws a creature card game above the prompt: while Claude works, wild creatures appear and your team of three battles them. /spin opens your cards.adlib-lyricsbixxterDraws the synced lyrics of what's playing in Apple Music or Spotify above the prompt, word by word, with a small mascot dancing on the beat.reel-timemebessusnTells Reel Time, a fishing game you run as your own Claude artifact, when Claude starts and finishes, so a bell rings and a golden fish bites when it's done.
All 96 in Play