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.16.4
License
MIT
Repo stars
7
Last change
2026-10-07
What it can reach
Draws in the session
Reads usage or context figures
Sees tool calls
Runs a command when you press
Calls another program on this machine
The panel's and the crab's words are in Chinese, the author's words. Needs Claude Code 2.1.287 or later in the terminal, or 2.1.286 or later in the desktop app, plus Node.js on your PATH and git for the branch. Clicking and hovering need fullscreen rendering. In the terminal the panel sits under the prompt. In the desktop app it is an SVG card above the prompt. Cost is the API list-price equivalent /cost shows, and the README says subscribers are not charged that amount. Each running subagent adds a baby crab. At 80 percent context the crab turns red, and at 95 percent it flashes. At 75 percent context a compact button appears and runs /compact. Clicking the model runs /model, effort runs /effort, context runs /context, the limit cells run /usage, and the project name opens the project folder. /hud cycles full, compact, and hidden, and /hud agents opens a board of each subagent's last tool. In the macOS desktop app, Node from Homebrew or nvm may be missing from the app's PATH, and the token cell then counts from this launch only.
The install name is usage-hud. The marketplace name is claude-code-mods. The marketplace also holds html-shelf. This one installs on its own. The marketplace source is ./usage-hud. The plan limits, context, and session cost are why this page files it under usage. limits-meter draws plan limits and context above the prompt, in tokens and percent, with the model, effort, and a toast on a costly switch. pro-hud draws the 5-hour session, the week, and context above the prompt in the desktop app, plus this turn and finished tool calls as one line. This panel is those figures under the prompt, with the crab above it.
Demo
From the author's repo.
What it hooks into
session.startWhen a session starts
command.runWhen you run its slash command/hud/model/effort
turn.startWhen Claude starts a turn
turn.stepAt each step of a turn
classic.SessionStartA Claude Code event
classic.SubagentStartA Claude Code event
classic.SubagentStopA Claude Code event
tool.callAround a tool call, where it can hold one
turn.completeWhen a turn ends
ui.renderDraws into the sessionTurnDurationPaneAbovePromptPromptHint
session.measureWhen usage is measured
prompt.editWhen you edit the prompt
prompt.submitWhen you send a prompt
session.compactWhen the context is compacted
classic.PermissionRequestA Claude Code event
classic.NotificationA Claude Code event
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.