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.
/plugin marketplace add ugglr/claude-token-monster /plugin install token-monster@token-monster
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

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/token-monstersession.measureWhen usage is measuredsession.compactWhen the context is compactedprompt.editWhen you edit the promptprompt.submitWhen you send a promptturn.stepAt each step of a turnturn.startWhen Claude starts a turnturn.completeWhen a turn endsclassic.PermissionRequestA Claude Code eventclassic.PermissionDeniedA Claude Code eventagent.spawnWhen a subagent startsui.renderDraws into the sessionToolProgressAbovePromptPaneclassic.SessionStartA Claude Code eventtool.callAround a tool call, where it can hold oneui.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
- Version
- 0.4.2
- License
- MIT
- Repo stars
- 5
- Last change
- 2026-10-04
- Language
- TypeScript
- Files
- 29