ClaudeCodeMod

All shelves / Mods / Usage

token-weather-usage

By augiefra

token-weather-usage is a Claude Code usage mod by augiefra.

Draws a band above the prompt for context size, the 5-hour and weekly limits, cache warmth, session cost, and running agents.

Draws

Install

The marketplace name is augiefra-mods.

In Claude Code
/plugin marketplace add augiefra/claude-mods
/plugin install token-weather-usage@augiefra-mods
/reload-plugins
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
3.17.3
License
Apache-2.0
Repo stars
18
Last change
2026-10-16

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Sees tool calls

If the line does not show up, restart Claude Code. One band above the prompt shows how big your context is, your 5-hour and weekly limits against the clock, with a warning when the week's pace would run out before the reset, whether the prompt cache is still warm, what the session and the last prompt cost, and which agents are running. Running agents show the name of their latest tool, never its arguments. Labels are in English, French, or Russian. auto follows LC_ALL, LC_MESSAGES, or LANG and falls back to English. The desktop app often sets none of them: pick en, fr, or ru in the plugin's Language option in /config. It collects, sends, and retains no personal data, and makes no network requests. It reads the usage figures Claude Code provides, the subagent list, the names of the tools their responses ask for, the locale, and the prompt-cache switches DISABLE_PROMPT_CACHING, FORCE_PROMPT_CACHING_5M, CLAUDE_CODE_PROMPT_CACHE_TTL, and ENABLE_PROMPT_CACHING_1H. Those switches are read, not written. It reads no file. It keeps, in the plugin's local storage on the machine, the latest limits reading, the 7-day share every half hour for two days, and per session the recent context, cache figures, savings, last prompt cost, and each subagent's model, effort, token counts, and description, deleted after 8 idle days. The README does not name that storage file or how to delete it sooner. Every hook passes the event on unchanged and never changes, delays, or refuses anything.

The plugin folder has its own README. The install lines are the repository README. The marketplace name is augiefra-mods. plugin.json displayName is Token Weather Usage. It credits Anthropic's Token Weather and HolyGrail's usage-meter. token-weather on this shelf is Anthropic's sample, a context forecast. token-weather-hamzafer adds a cache countdown and is not this band. hamzafer's usage-meter draws the 5-hour and 7-day limits. This one also draws context, cache warmth, cost, and agents. It hooks no tool call. The tool names come from the agents' model responses.

Demo

The token-weather-usage section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • turn.stepAt each step of a turn
  • turn.completeWhen a turn ends
  • session.compactWhen the context is compacted
  • 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.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
augiefra
Category
Usage
Marketplace
augiefra-mods
Repo
augiefra/claude-mods
Folder
plugins/token-weather-usage
Version
3.17.3
License
Apache-2.0
Repo stars
18
Last change
2026-10-16
Language
JavaScript
Files
6

Other mods in Usage

agent-dietVedantAndhaleStarts Explore subagents, and other agent types you list, on Haiku or a model you pick instead of the main model, and counts how many it moved.budget-guardVedantAndhaleKeeps a prompt from being sent while the 5-hour or weekly usage is at or over your limit, until you send it again, and shows the limit with /budget.context-xrayVedantAndhaleDraws a pane with the exact breakdown of what fills the context window, opened with /xray.output-dietVedantAndhaleTrims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line.pro-hudVedantAndhaleDraws 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.session-receiptVedantAndhaleOpens a pane of every turn's tokens, with the five that spent the most, and toasts after a turn that used 3 or more session points.skill-dietVedantAndhaleLists skills unused lately in this project by name only, so their descriptions leave the prompt, and counts those characters on the status line.turn-budgetVedantAndhaleStops a turn that passes the limit you set, writes a handoff, and copies it for a new session, leaving the old one in place. It can ask first instead.context-lensArunjay4213Pins how full the context window is and what the last turn added, and /context-lens opens the breakdown by category.quota-meterArunjay4213Pins the 5-hour and 7-day plan limits when they are reported, with the reset and whether the current pace fills them first.token-ledgerArunjay4213Pins this session's cost and the last turn's tokens and cache hit, and /ledger lists each turn.mod-packaz9713Holds a commandSeven mods in one install: a context forecast, a cache countdown, a follow-up queue, a plain retell, two holds on risky commands, and Snake.
All 183 in Usage