xendo3000

Claude Token Consumption Bar — Development skill for Claude Code

Development community

A band above the Claude Code prompt showing 5h and weekly plan usage, context fill and session cost.

How to install Claude Token Consumption Bar

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

What Claude Token Consumption Bar does

A band above the Claude Code prompt showing 5h and weekly plan usage, context fill and session cost.

Alternatives in Development

  • Opencode Bar — Effortless token usage tracker for OpenCode 309 ★
  • Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
  • Claude Notch — Approve Claude Code from your Mac's notch 40 ★

README

usage-bar

A band above the Claude Code prompt that shows, at a glance, how much of your plan you have used:

![usage-bar in the Claude Code desktop app](assets/screenshot.png)

In a terminal, the bars are drawn with block characters instead.

  • 5h: the rolling five-hour window, percent used and time until it resets
  • 7d: the weekly window, percent used and time until it resets
  • Context: how full the current conversation's context window is
  • ≈$: API-equivalent cost of the session (an estimate; a Pro/Max plan is not billed per request)

Bars turn yellow at 70% and red at 90%. Run `/usage-bar` to hide or show the band; the choice is remembered. Rate-limit figures appear on a Claude subscription only, after the first reply of a session. Nothing is sent anywhere: the figures come from Claude Code itself.

Install

Requires a recent Claude Code: run `claude update` first.

At the prompt of a Claude Code terminal session, run these two commands one after the other:

/plugin marketplace add xendo3000/claude-token-consumption-bar
/plugin install usage-bar@claude-token-consumption-bar

Pick the **user** scope so the band shows in every session, then start a new session.

From a shell instead:

claude plugin marketplace add xendo3000/claude-token-consumption-bar
claude plugin install usage-bar@claude-token-consumption-bar --scope user

In the desktop app: click **+** next to the prompt box, then **Plugins**, **Add marketplace** with `xendo3000/claude-token-consumption-bar`, then **Add plugin**.

Uninstall

From a shell:

claude plugin uninstall usage-bar

Or at the prompt of a Claude Code terminal session: `/plugin uninstall usage-bar`. To only hide the band without uninstalling, run `/usage-bar`.