token-weather

by Nasrallah Adel · ★ 1 · updated 10 days ago

PanesBandsStatus lineReskinsCommandsPromptAudiovalidates

0

A live forecast of the context window above the prompt, with the 5-hour and 7-day usage windows, the session cost, today's spend and the subagent tally on the same line; buttons, a /weather command and a pane; and optional actions: auto-compact at a threshold, prompt guards on the rate window or a cost cap, a model downshift offer, native notifications and sound.

install token-weather

Install

/plugin marketplace add Nasrallah-Adel/claude-token-weather
/plugin install token-weather@nasrallah-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.endsession.measuresession.compactturn.stepturn.completeprompt.submitcommand.runui.render
API calls
$.audio.play$.audio.speak$.clock.after$.clock.every$.command.register$.command.run$.prompt.fill$.prompt.suggest$.session.compact$.session.id$.session.model$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.close$.ui.invalidate$.ui.notify$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
PromptHintAbovePromptPane
Can see
compactionevery prompt
Reach
level 2 of 3 drives Claudewrites the prompt boxplays audiopersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Nasrallah-Adel/claude-token-weather
Path in repo
repository root
Source commit
9602c7d the exact code the scan read
Author
Nasrallah Adel @Nasrallah-Adel
License
Apache-2.0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.