ClaudeCodeMod

All shelves / Mods / Usage

vitals

By naicud

vitals is a Claude Code usage mod by naicud.

Draws a framed live dashboard above the prompt: model, effort, context, plan limits with a forecast, cost, tokens and cache, subagents, shells, and tools.

Draws

Install

The marketplace name is naicud.

In Claude Code
/plugin marketplace add naicud/cc-vitals
/plugin install vitals@naicud
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.9.5
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
  • Reaches the network or an outside service

Then /reload-plugins. Needs Claude Code 2.1.287 or later, git for the folder and branch, and ccusage on the PATH for the usage section and /vitals report; without ccusage the band still works. From a shell: claude plugin marketplace add naicud/cc-vitals, then claude plugin install vitals@naicud. Account-wide plan limits are read with your Claude login; with an API key, Bedrock, or Vertex, the limits are the ones this session's last response reported. In the terminal's main screen the band takes at most half the rows. It replaces most of what a statusLine script shows. cache_ttl, 1h by default, drives the cache-cold warning.

The marketplace, naicud, holds only this plugin, from plugins/vitals. This one installs on its own. Watching the session's figures is why this page files it under usage. desktop-statusline draws a status band above the prompt in the desktop app's Code tab, with context, plan limits, and the last turn; vitals is built on it. cockpit opens a panel beside the transcript with context, rate limits, cost, subagents, tool calls, changed files, and tests. This one draws in the terminal too, at three levels, adds a forecast of both plan limits at your pace, what fills the context, and the model and effort each subagent's requests used, toasts when a limit crosses 80% and 95%, and has /vitals report, a pane of your account's limits and the last 14 days, 6 weeks, and two months from ccusage. It runs git and ccusage, and its one request of its own reads the plan limits through the session's Claude login. In the source, the band is drawn in the AbovePrompt slot, and the panes are opened with $.ui.open.

Demo

The author's picture of the vitals band in its tallest layout: a header with model, effort, folder and branch, session time, prompts, cost and burn rate; bars for context, compaction, and the 5-hour and weekly limits with a forecast; then tables of tokens per turn and session with cache hits, the context split by category, usage today, this week and this month, the agents with model and effort, and the tools with calls and errors. The figures are the author's sample.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/vitals/vitals-low/vitals-medium/vitals-high
  • classic.SessionStartA Claude Code event
  • session.attachA Claude Code event
  • session.measureWhen usage is measured
  • turn.stepAt each step of a turn
  • turn.completeWhen a turn ends
  • tool.callAround a tool call, where it can hold oneBashAgentTaskStop
  • prompt.submitWhen you send a prompt
  • session.compactWhen the context is compacted
  • ui.renderDraws into the sessionAbovePromptPane

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

Slash commands 4

  • /vitalsVitals: next detail level (high → medium → low) · "/vitals pane" every agent and shell · "/vitals report" weekly and monthly usage
  • /vitals-lowVitals: the vitals box alone (model, effort, cost, context, compaction, limits, forecast)
  • /vitals-mediumVitals: the vitals box, what fills the context, and the agents
  • /vitals-highVitals: everything (tokens, context, usage, agents, tools, shells)

Files

The author's source, 3 files. They load when you open them.

Facts

Author
naicud
Category
Usage
Marketplace
naicud
Repo
naicud/cc-vitals
Folder
plugins/vitals
Version
0.9.5
License
MIT
Repo stars
5
Last change
2026-10-15
Language
TypeScript
Files
13

Other mods in Usage

dispatch-gatewdsewdser-bitHolds a commandRefuses one tool call once the main session has made 8 requests in a row itself, and a subagent past 3 an hour, so Claude hands work out. A retry goes through.usage-baromeerdvrnDraws your 5-hour and 7-day plan limits under the prompt, used or left, with the git branch and file counts, the model, context, and the session's cost.limitsRyan-LTDraws a band above the prompt with the 5-hour and weekly limits, a pace warning, and context fill, and toasts at 75%, 90%, and 100%.context-guardmelodic-softwareShows a toast when the session's context crosses into a worse zone, smart, acceptable, or dumb, and can draw the zone and percent in a row above the prompt.rate-limit-guardmelodic-softwareShows a toast when the account's 5-hour or 7-day rate-limit window reaches 90% or 95% and when it resets, and can draw both windows in a row above the prompt.orca-quotamutlumehmetDraws the 5-hour and 7-day usage of every Claude account on this machine in one band above the prompt, and warns once before the current account hits its limit.context-keepermishgoldenbergOpens a pane of what fills the context window with tips to trim it, and saves a handoff note of the goal, decisions, files, and TODOs to .claude/checkpoints/.usage-metermishgoldenbergOpens a pane of the 5-hour and 7-day plan limits with reset countdowns, burn rate and when a limit fills, session cost, cache hit ratio, and tokens per turn.usage-quotaanantraghunathDraws the 5-hour and weekly limits with a forecast at reset and the context window above the prompt, with a Compact button and Auto compact at a set percent.usage-graphdonvitoDraws cards above the prompt for the 5-hour limit, the weekly limit, and the context window, each with its percentage, a bar, and when it resets.wavy-usageBatuhanCakmakkDraws liquid-filled rings above the prompt for the 5-hour and 7-day limits, the context, and the prompt cache, a jet for the effort, and a pane of recent turns.usage-band-modjonathanlocksDraws one line above the prompt with the model, session cost, context, the 5-hour and weekly limits, and a per-model weekly limit, led by a pixel crab mascot.
All 183 in Usage