estruyf

Claude Stats Mod — Development skill for Claude Code

Development community

A Claude Code mod that draws your usage limits and spend in the band above the prompt.

How to install Claude Stats Mod

This entry records only its repository, not the path inside it, so there is no exact command to give. Open estruyf/claude-stats-mod and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Stats Mod does

A Claude Code mod that draws your usage limits and spend in the band above the prompt.

Alternatives in Development

  • Cc Mod Image View — Claude Code mod: thumbnails of pasted images above the prompt instead of bare [Image #n] tags 27 ★
  • Bar — The band above the prompt — this session's epic, its progress, its story and its ProjectStore agents 13 ★
  • Spark Hud — ✻ An animated HUD for Claude Code, with Claude's mascot: live context window, Max plan 5h/7d limits with pace 13 ★

README

claude-stats

A Claude Code mod that draws your usage limits and spend in the band above the prompt.

**Claude Code desktop**

![claude-stats in the Claude Code desktop app: rings for the 5h and 7d limits above the prompt](assets/desktop.png)

**Terminal**

![claude-stats in the Claude Code CLI: the 5h and 7d limits on one line above the prompt](assets/terminal.png)

  • 5h / 7d: the subscription rate-limit windows from $.session.usage(), with a ring (desktop) or pie glyph (terminal) coloured green → amber (60%) → red (85%), and a countdown to the reset.
  • Spend: this session's cost, plus today and this month from ccusage (ccusage daily --json --offline --since ).

Rate limits only show on a Claude subscription (they're absent for API-key, Bedrock and Vertex sessions).

Install

In Claude Code:

/plugin marketplace add estruyf/claude-stats-mod
/plugin install claude-stats@claude-stats-mod
/reload-plugins

Or from your shell:

claude plugin marketplace add estruyf/claude-stats-mod
claude plugin install claude-stats@claude-stats-mod --scope user

Update

Refresh the marketplace, then update the plugin:

claude plugin marketplace update claude-stats-mod
claude plugin update claude-stats@claude-stats-mod

Run `/reload-plugins` in an open session (or restart the desktop app) to load the new version. Inside Claude Code you can also do this from `/plugin`, under the `claude-stats-mod` marketplace.

Try it from a clone

git clone https://github.com/estruyf/claude-stats-mod.git
claude --plugin-dir ./claude-stats-mod

Requires Claude Code 2.1.287+ (mods on by default). On 2.1.286, set `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1` in the `env` block of `~/.claude/settings.json`.

Options

Set them with `/config` or under `pluginConfigs["claude-stats"].options` in settings:

Option Default
showSpend true Show the spend pill. Turn it