token-weather-usage

by Pedro La Rosa · ★ 1 · updated yesterday

Bandsvalidates

0

Demo: colored pills above the prompt: context tokens with weather, 5h/7d limits vs time elapsed, prompt cache time left, session cost, running subagents. No network, no files, no process access.

install token-weather-usage

Install

/plugin marketplace add PedroLaRosa/claude-code
/plugin install token-weather-usage@pedro-la-rosa-claude-code

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.measureturn.stepturn.completeui.render
API calls
$.agent.list$.clock.every$.clock.now$.env.get$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Reach
level 1 of 3 other: $.state.getother: $.state.setreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/PedroLaRosa/claude-code
Path in repo
mods/token-weather-usage
Source commit
947c119 the exact code the scan read
Author
Pedro La Rosa @PedroLaRosa
License
No license declared — ask the author before reusing code.
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.

More from PedroLaRosa/claude-code

dep-bouncer

PedroLaRosa/claude-code

Supply-chain gate: vets npm/pnpm/yarn/bun installs against the registry before they run

★ 1ToastsGuards

lazygit-popup

PedroLaRosa/claude-code

alt+g opens lazygit in a tmux popup; ESC (or q) quits lazygit and closes it

★ 1Bands

lens

PedroLaRosa/claude-code

Puts tsc, linter and secret-scan diagnostics in the result of every Edit and Write, so Claude fixes what it broke in the same turn

★ 1ReskinsGuardsCommands

model-effort-switcher

PedroLaRosa/claude-code

Shows the model and effort under the prompt, cycled with alt+up/down (model), alt+left/right (effort) and alt+. (ultracode)

★ 1BandsReskinsCommands