ClaudeCodeMod

All shelves / Mods / Usage

usage-pet

By manson341349-beep

usage-pet is a Claude Code usage mod by manson341349-beep.

Draws context, the 5-hour and weekly limits, and the cache hit rate above the prompt. The desktop Code tab draws four rings, with a pixel pet beside them.

Draws

Install

The marketplace name is claude-desktop-mods.

In Claude Code
/plugin marketplace add manson341349-beep/claude-desktop-mods
/plugin install usage-pet@claude-desktop-mods
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.

License
MIT
Repo stars
5
Last change
2026-10-15

What it can reach

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

The band's words are in English or Chinese. auto follows the system language, zh is Chinese, and en is English. Anything else means auto. The terminal shows the numbers only. The rings, the pet, and the light and dark appearance are in the Code tab of the desktop app. The author says the plugin makes no network requests and has no telemetry. It reads Claude Code's own usage numbers for this session. Hover a ring for the exact figure. Beside cache hit, a countdown shows how long the cache stays warm, about an hour on a subscription and five minutes on an API key. The band is a thin strip until the numbers change, then it opens for five seconds. Clawd types while Claude works, sweats above 90 percent of a limit, and wears sunglasses at a 90 percent cache hit or more. From version 1.9.0 the plugin itself counts tokens for the last seven days. XP, level, and achievements stay in the plugin's local store. No prompts or file contents are stored. A tool call is counted and then passed on unchanged. It never denies one. seasonal defaults to auto, which dresses Clawd for Halloween from October 25 to November 1. off skips that. /clawd-card is a command you type. On macOS it runs Quick Look, sips, and osascript. On Windows it runs the bundled export script with PowerShell, using Edge or Chrome. A click flips Clawd. This is an unofficial fan drawing of Clawd.

The install name is usage-pet. This page adds the author's name. The marketplace name is claude-desktop-mods. The marketplace lists this plugin. The four usage readings are why this page files it under usage. The pet sits beside them. usage-band draws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit. terminal-pet draws a pixel crab above the prompt that reacts as Claude works, its belly showing how full the context is. These rings are context, the 5-hour limit, the weekly limit, and the cache hit rate. The numbers are the ones Claude Code already has, so this page does not list a network call. The tool-call count never refuses the call.

Demo

Clawd, in a crown, types on a laptop beside four rings for context, the 5-hour limit, the weekly limit, and cache hit. The rings rise, Clawd puts on sunglasses at a 96 percent cache hit, a 60-minute cache countdown appears, and Clawd flips.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.attachA Claude Code event
  • turn.completeWhen a turn ends
  • tool.callAround a tool call, where it can hold one
  • command.runWhen you run its slash command/clawd-card/clawd
  • ui.renderDraws into the sessionPaneAbovePrompt
  • session.measureWhen usage is measured

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

Slash commands 2

  • /clawdClawd band: toggle always-expanded / auto-collapse · 在「一直展开」和「自动收起」之间切换
  • /clawd-card

Files

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

Facts

Author
manson341349-beep
Category
Usage
Marketplace
claude-desktop-mods
Repo
manson341349-beep/claude-desktop-mods
Folder
plugins/usage-pet
License
MIT
Repo stars
5
Last change
2026-10-15
Language
TypeScript
Files
18

Other mods in Usage

context-alarmmutlumehmetWarns when the context window fills, with a status line under the prompt, and suggests /save-context before compaction.cache-watchernikisgeDraws the cache time, the context, the plan limits, and this session's API value above the prompt, and a press can keep the cache warm.fast-jev-outputtamaratranSends a long Bash result to TypeSafe's Jev, which trims it before Claude reads it, and toasts the cut. The full output stays in the project.usage-statusrobbytDraws a row under the prompt hint with the 5-hour and 7-day limits left and how full the context is.brewmod-plan-effortkochetkov-maDraws a row above the prompt while Claude plans, naming the effort it raised to, xhigh by default.cache-keepernateherkaiDraws whether this chat's prompt cache is warm or cold, what a cold rewrite would cost, and the plan limits, and can keep a big chat warm.usage-budgeterikdarlingdataHolds a commandToasts when the 5-hour or 7-day window crosses a percent, and refuses a new subagent past 95% by default.leitstanddominikmartnDraws free disk space and context fill above the prompt, and names a hook of yours that just blocked a tool call.working-memoryHangghostDraws the context window as a brain: tool calls light regions, it fills as context grows, and compact plays a sleep sweep.jev-pilotAkramovic1Asks TypeSafe's Jev, through OpenRouter, to set each turn's effort, the subagent model, and the one skill a prompt needs, with a pilot that says what it chose.cmd-dietVedantAndhaleAdds quiet flags to noisy shell commands before they run, so Claude reads the short output, and counts the quieted commands on the status line.read-capVedantAndhaleHolds a commandRefuses a whole-file read over 1,000 lines once, points Claude at an outline of that file, and counts the reads it capped.
All 183 in Usage