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) and passed claude plugin validate with warnings.
- Events hooked: 6
- API methods referenced: 8
- Access from classified calls: L1, reads: reads env vars, reads mod state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- 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 Readsreads env vars, reads mod state, drawsValidation
Passed with warningsListed under Prompt cache mods for Claude Code, Context and usage meters for Claude Code.
View 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
- Passed with warnings
- 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. What a mod can access and 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/)