All Claude Code modsPedroLaRosa/claude-code
token-weather-usage
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.
token-weather-usage reaches L1 (reads) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 6
- API methods referenced: 8
- Access from classified calls: L1, reads: reads env vars, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
Install hint
/plugin install token-weather-usage --marketplace PedroLaRosa/claude-codeFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L1 Reads filesother: $.state.get, other: $.state.set, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Only what it hooks
- Hooks
session.start, session.end, session.measure, turn.step, turn.complete, ui.render {component=AbovePrompt}- API calls
$.agent.list, $.clock.every, $.clock.now, $.env.get, $.session.usage, $.state.get, $.state.set, $.ui.resolve- Validation on 2.1.302
- Passed
- Scanned revision
9e553ede78f4- Marketplace passed
- pedro-la-rosa-claude-code
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from PedroLaRosa/claude-code
- dep-bouncerSupply-chain gate: vets npm/pnpm/yarn/bun installs against the registry before they run
- lazygit-popupalt+g opens lazygit in a tmux popup; ESC (or q) quits lazygit and closes it
- lensPuts tsc, linter and secret-scan diagnostics in the result of every Edit and Write, so Claude fixes what it b…
- model-effort-switcherShows the model and effort under the prompt, cycled with alt+up/down (model), alt+left/right (effort) and alt…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/PedroLaRosa--claude-code--token-weather-usage/)
[](https://mods.aidojo.si/mods/PedroLaRosa--claude-code--token-weather-usage/)