ClaudeCodeMod

All shelves / Mods / Usage

usage-weather

By ptpmediabr

usage-weather is a Claude Code usage mod by ptpmediabr.

Draws one line above the prompt with the context as a weather icon, the 5-hour and weekly limits with resets, cache warmth, and a Clear & continue button.

Draws

Install

The marketplace name is usage-weather.

In Claude Code
/plugin install usage-weather --marketplace ptpmediabr/usage-weather
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.2.2
License
MIT
Repo stars
4
Last change
2026-10-09

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Runs a command when you press

The README is in Portuguese. The install works in a terminal claude session: answer y to add the marketplace, choose the user scope, then the cache option; at user scope it also loads in the desktop app. cacheTtl is 5m or 1h, 1h by default, and /plugin configure usage-weather@usage-weather changes it. Clear & continue has the session's model write a handoff summary, then clears the conversation and sends the summary as the first message. Tested with Claude Code 2.1.296.

The marketplace name is usage-weather, and it holds only this plugin. The context, limits, and cache figures are why this page files it under usage. token-weather-usage, by augiefra, draws a band for context size, the 5-hour and weekly limits, cache warmth, and session cost. usage-band, by JetsonChan, draws one line for the limits, the context, and the last turn's cache hit. This one shows the context as a forecast, from sun under 25% to lightning over 90%, the limits in green, amber from 60%, and red from 85%, and whether the cache is still warm. Clear & continue warns whether the clear is cheap or costly first, and if a step fails the summary goes to the clipboard. The line hides while Claude Code shows a survey.

Demo

The top of the usage-weather README, in Portuguese: one line above the prompt drawn as text, an umbrella, 67%, 134.4k/200k, 5h 42% resetting in 2h13m, week 18% resetting in 4d 3h, cache warm 54m, and a Clear & continue button; then a table of what each item means, with the context told as weather, from sun under 25% to lightning over 90%. The figures are the author's example.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • session.endWhen a session ends
  • 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
ptpmediabr
Category
Usage
Marketplace
usage-weather
Repo
ptpmediabr/usage-weather
Version
0.2.2
License
MIT
Repo stars
4
Last change
2026-10-09
Language
TypeScript
Files
10

Other mods in Usage

am-context-barromnycristopherDraws a card above the prompt with context use against where quality drops, what fills it, turns left, limits, git status, and the phase of a plan you're on.compactlyswapnildahiphaleOpens a cost and cache pane with each turn's cost and when the cache goes cold, and compacts at a natural break a Sonnet judge picks, with a handoff summary.cache-meterT-AI-LabsDraws one row above the prompt with how much of the last turn the prompt cache served, how long it stays warm, and a Keep warm switch that refreshes it.context-meterT-AI-LabsDraws one row above the prompt with the context fill against an auto-compact threshold you pick, and Compact and Clear buttons.usage-limitsT-AI-LabsDraws one row above the prompt with how much of the 5-hour and weekly limits is used, with the time until each resets.context-usageT-AI-LabsDraws the context fill with an auto-compact threshold, Compact and Clear buttons, and the 5-hour and weekly limits in two rows above the prompt.rich-statuslineTheBabaYagaDraws one line above the prompt with the directory, git branch and changes, model and effort, and bars for context and the 5-hour and 7-day limits.cachebeat404MayankKeeps the prompt cache warm while you are away with a small background request, and draws a beating heart under the prompt and a beat count under your turn.tokensaverAGregDevPuts Clawd in a pane and a band above the prompt, trims noisy shell output before Claude reads it, warns as the context fills, and routes subagents by tier.colorwheelAlexeyHRDesignDraws a band in the desktop app with your 5-hour and 7-day limits on its edges and the context as weather, and redraws replies with full-width diagrams.model-pickeralfredtmDraws a band above the prompt when a session opens that lists the models by digit, and runs /model for the one you press; 0 keeps the current one.context-meterAndrewDongminYooDraws the measured context fill above the prompt past 50%, and skips an auto-compact set off when an advisor request makes the session read twice as full.
All 183 in Usage