Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chuan-khunav0.2.0In 1 marketplace
A weather band above the prompt: model, context fill, recent turns, rate limits, time and cost.
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads environment variables (CLAUDE_CODE_EFFORT_LEVEL); reads your settings.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that draws your status line's figures as a weather band above the prompt. It sits beside your own status line, so you can keep both or turn either off.
╭────────────────────────────────────────────────────────────────────────────────────────────╮ (forecast color)
│ Opus 5.5 (high) ☂ Showers ▓▓▓▓▓▓▒░░░ 67% 134k/200k ($1.23) ▁▂▂▃▅▆█ ▲+98k last turn │
│ 5h 12% 2h30m 7d 41% 3d02h30m · use 0.44%/h · left 0.79%/h 12:34 │
╰────────────────────────────────────────────────────────────────────────────────────────────╯
use is the %/h spent since the window opened, and left is the %/h you can still spend before it resets. The session time sits at the right.The effort comes from CLAUDE_CODE_EFFORT_LEVEL or the effortLevel setting when the session starts. After that, it follows the effort of each request the main loop sends, so /effort shows after the next turn.
| Context used | Forecast | Color |
|---|---|---|
| under 25% | ☀ Clear | cyan |
| 25–49% | ☁ Cloudy | blue |
| 50–74% | ☂ Showers | yellow |
| 75–89% | ☇ Storm | magenta |
| 90% up | ↯ Compact soon | red |
Each rate limit's percent takes a color:
| Rate limit | cyan | yellow | red |
|---|---|---|---|
| 5h, by percent used | under 50% | 50–79% | 80% up |
| 7d, by pace (%/h spent since the window opened ÷ %/h left before the reset) | under 0.8 | 0.8–1.2 | over 1.2 |
When the band is narrow, row 2 drops use/left, and row 1 drops the chart first, then the last-turn delta, then the cost, then the effort. The model and the context figures always stay. If there are no rate-limit figures (for example, when you're not on a subscription), row 2 shows only the session time.
| Hook | What it does |
|---|---|
session.start | Takes a first reading, clears the history and reads the effort. |
turn.step | Takes the effort from each request of the main loop. It passes the response through untouched. |
turn.complete | Takes a reading after each main-loop turn and adds it to the chart. Subagent turns are skipped. |
session.measure | Refreshes the figures when the engine measures the session, for example when a rate-limit window moves. It doesn't add to the chart. |
ui.render on AbovePrompt | Draws the band in its frame. While a survey is showing, it hands the band back to Claude Code. |
The figures come from $.session.usage() (context, rate limits, cost and startedAt) and $.session.model(). The band has no timer, so it changes only when one of these events fires. The session time is measured at the last reading.
/plugin install context-weather --marketplace chuan-khuna/altr-stack
claude plugin validate ./plugins/context-weather
claude plugin test ./plugins/context-weather
claude --plugin-dir ./plugins/context-weather
You need Claude Code 2.1.318 or later, running in a terminal (AbovePrompt isn't drawn on every surface).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chuan-khuna/altr-stack --plugin context-weather