Token Weather Usage

Watch Claude Code limits, cache and cost

·

source at e14b505

·

Apache-2.0 license

One line above the prompt: context tokens, 5-hour and 7-day limits against the clock, prompt cache time left, session cost and running subagents.

145 installs

What this mod can do

  • Reviewed at commit e14b505
  • Submits prompts for you, which can be sent as your own words
  • Reads environment variables
3 more things it can do
  • Remembers data between sessions
  • Lists running subagents
  • Runs on a timer
Good to know (3)
  • The GO pill's OK sends the approvals as your message; nothing sends without that click
  • Dollar figures use Anthropic list prices; on a subscription they're API equivalents, not a bill
  • Labels in English, French or Russian
Are mods safe?

Preview

Terminal

☀ 44k │ 5h ━━╍─── 26% · 2h07 │ 7d ╍╍╍╍── 7% · 2d01h │ cache 5% · 1h00 │ ≈ $0.20 [-]

Claude Desktop

Token Weather Usage in Claude Desktop

What it does

In the author's words

One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, the subagents running, and a one-click pill for the GOs Claude proposes. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).

What you see
A one-line usage band above the prompt
Works in
Terminal and Claude Desktop
Slash commands
None
Uses your tokens
Yes
Changes files
Nothing
Network access
None
Reviewed commit
e14b505
Preview recorded with
Claude Code 2.1.309

How it works

  1. Starts timers at session start and reads each model response as it arrives
  2. Compares each limit's share used with the time elapsed in its window
  3. Draws one band: context, 5h and 7d bars, cache countdown, cost and agents
  4. Adds a green GO pill when Claude's answer asks for quoted GO approvals

Common questions

Why does the next message cost more after switching models?

A prompt cache belongs to one model, the README says. After /model in a long thread, the next message rewrites the whole context at the new model's price. The cache pill warns you before you send.

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://statuslin.es/badge/mods/token-weather-usage.svg)](https://statuslin.es/mods/token-weather-usage?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://statuslin.es/og/mods/token-weather-usage.png)](https://statuslin.es/mods/token-weather-usage?utm_source=readme-badge)

More like this

Deck in Claude Desktop

A cockpit for Claude Code: plan bars and subagent strips, context, usage limits with reset countdowns and burn rates, spend, the model route and a pet. Six bar styles, three collapsed looks. CLI and Desktop.

Flightdeck in Claude Desktop

Flightdeck: a live agent dashboard for Claude Code. Main model vitals, an on-call architect, every permission check, subagent cards and swimlanes, a turn receipt and a session log, all from real session events

Opus 4.8 [high] ~/app main 16:20:55 | ⛁ ██░░░░░░░░ 22% | 5h ●◔○○○ 26% ↻2h7m | 7d ◔○○○○○○ 7% ↻2d1h │ $0.41 ⏱ 10m

Two-line status with a block context bar and quarter-step dot meters (◔◑◕●) for the 5-hour and weekly limits (fill shows usage, color shows whether you are ahead of or behind pace), plus model, effort, git and cost. Needs no jq.

████▊░░░░░░░░░░░░░░░░░ 22% of 200K · GOOD │ ↓ 44.0K ↑ 1.4K │ $0.41 │ ⏱ 10m 12s │ +128/-34 │ 5h 26% ↻2h06m │ 7d 7% ↻2d0h │ ◆ Opus 5.5 · main · 03:53

One-line adaptation of @kyleledbetter's Dreambase Panel: a context bar with status word, token/cost/duration/lines-changed stats, and model + git branch + clock, all on a single line in a terracotta Claude-brand palette.

Opus 4.8 high ✦ │ ctx 22% │ app (main) │ PR #1287 ● │ $0.41 · 10m +128 -34 Session ● ● ● ● ● ● ● ● ○ ○ ○ 74% left Resets in 2h 6m Weekly ● ● ● ● ● ● ● ● ● ● ○ 93% left Resets in 2d 0h Fable ● ● ● ● ● ● ● ● ● ○ ○ 85% left Resets in 2d 0h ◐ Read:index.ts ✓ Read×1 ✓ Bash×1 ✓ Edit×1 ✓ Grep×1 ◐ code-reviewer Review the change for regressions

A header with model, context and burn rate per hour, then live tool and agent activity parsed from the session transcript.

Model: Opus 4.8 | Thinking: high | Context: [▰▰▱▱▱▱▱▱▱▱] 45k/200k (22%) | cwd: ~/app | ⎇ main | (+0,-0) Cost: $0.41 | Block: 2hr 6m | Weekly: 7.0% | Session: 10m | In: 916.7 t/s | Out: 29.2 t/s | Cached: 2k | Session: [▰▱▱▱▱] 26.0% Mem: 0.8G/1.0G | (*゚∀゚*) | Session ID: b8e1c0d2-4a6f-4e2a-9c1b-3f5d7a9e2c10

Three lines in One Dark: model, thinking effort and a context bar up top; cost, quota, session clock and token throughput in the middle; weather, free memory and a rotating kaomoji below.