ClaudeCodeMod

All shelves / Mods / Usage

usage-header

By Szotasz

usage-header is a Claude Code usage mod by Szotasz.

Draws the context window above the prompt, a color per category, with the 5-hour and weekly limits under it.

Draws

Install

The marketplace name is claude-mods.

In your shell
claude plugin marketplace add Szotasz/claude-mods
claude plugin install usage-header@claude-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.

Version
0.1.0
Repo stars
6
Last change
2026-10-07

What it can reach

  • Draws in the session
  • Reads usage or context figures

The band's labels are Hungarian when the system language is Hungarian, and English otherwise. The plugin's own page is the Hungarian section of the root README. The breakdown is a local estimate and makes no API call. It refreshes at the end of each turn and when a limit moves. Limit figures exist only on a Pro or Max subscription. Under 70 percent the limits are green, from 70 percent through 90 yellow, and over 90 red, with the reset time. /hasznalat toggles the band, and /hasznalat be or ki sets it. The choice is kept across sessions. The toolbox can switch it. The band sits under the focus-mode list and the toolbox when those are showing. Set usage-header.language in /config to auto, hu, or en.

The install name is usage-header. This page adds the author's name. The marketplace name is claude-mods. The marketplace also holds usage-band, project-pane, focus-mode, tool-hub, snake-pane, supabase-guard, public-repo-guard, and decision-popup. This one installs on its own. The colored context band, with the two limits under it, is why this page files it under usage. context-bar draws the context window as one stacked bar, a color per category, with token counts and the compaction point. 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. This band is the categories and the two limits, and the breakdown stays on this machine. auto is the default for usage-header.language: Hungarian when LANG is Hungarian, English otherwise.

Demo

The usage-header section of the claude-mods README, in Hungarian, on the author's GitHub page.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/hasznalat
  • state.setA Claude Code event
  • session.measureWhen usage is measured
  • ui.renderDraws into the sessionAbovePrompt

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

Slash commands 1

  • /hasznalat

Files

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

Facts

Author
Szotasz
Category
Usage
Marketplace
claude-mods
Repo
Szotasz/claude-mods
Folder
plugins/usage-header
Version
0.1.0
Repo stars
6
Last change
2026-10-07
Language
TypeScript
Files
5

Other mods in Usage

green-lanternvogiaan1904Draws the 5-hour and 7-day limits as Green Lantern charge that drains as you use it, with a power-ring spinner and an emerald theme.long-live-the-claudeLapis0x0Draws the 5-hour and 7-day limits, context, and cache time above the prompt. Long-run, off by default, keeps the cache warm and pauses near the limit.usage-petmanson341349-beepDraws 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.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.
All 183 in Usage