Nasrallah-Adel

Claude Token Weather — Development skill for Claude Code

Development community

Claude Code mod: context-window forecast above the prompt with 5h/7d usage windows and session cost.

How to install Claude Token Weather

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

What Claude Token Weather does

Claude Code mod: context-window forecast above the prompt with 5h/7d usage windows and session cost.

Alternatives in Development

  • Fire Cost — Track context usage, estimate session costs, and trigger strategic compaction 77 ★
  • Decant — Local-first analysis of Claude Code and Codex sessions: token spend, context windows, files touched, and cost 59 ★
  • Cc Mod Image View — Claude Code mod: thumbnails of pasted images above the prompt instead of bare [Image #n] tags 27 ★

README

token-weather

A Claude Code mod: a one-line forecast of the context window above the prompt (or under it, by option), with the account's usage windows, the session cost, today's spend and the subagent tally on the same line, buttons that act on it, a `/weather` command, a pane, and a set of optional actions: compact at a threshold, hold a prompt when a window or a cost cap is spent, offer a cheaper model, notify, beep.

☀ Clear  23% of context  234.3k / 1M   last turns ▇█  ▲ +281  · 5h 28% ↻43m · 7d 35% ↻1d5h · $12.55 · today $18.40 · wk $31.00 · agents 1.2M  [ compact ] [ context ] [ cost ] [ clear ]

Every action is off until you turn it on in `/config`; the hints (the `/compact` suggestion, the buttons, today's spend, the agents tally) are on.

The line

  • Weather: ☀ Clear under 25% of the window, ☁ Cloudy under 50%, ☂ Showers under 75%, ☇ Storm under 90%, ↯ Compact soon above.
  • Token count (234.3k): bold, coloured by size: green under warnTokens, yellow from there, red from dangerTokens. The window (/ 1M) stays dim.
  • ⚠2x: shown after the count from warnTokens up: the prompt is above the long-context line, where 1M-context models bill input at a higher rate.
  • Live count: the count moves with every model request of a turn, after every command (/context, /compact, /clear change the context without a turn) and on every measure, so it reads as the status line does. The chart, the trend and the crossings still take one reading per completed turn.
  • Chart: one bar per recent turn (the last 12), scaled to the busiest, and the change since the last turn. Hidden under 60 columns.
  • Fit: a band narrower than the line drops parts in order, agents, spend, trend, chart, then the windows and cost, then the window and tag. The buttons sit at the end of the line when they fit beside the windows and the cost, else on a row of their own under it, so a docked pane never pushes the figures off the row.
  • **