token-weather-cache
by youllook · ★ 0 · updated 14 days ago
Context, prompt-cache countdown and plan usage above the prompt: four SVG rings on desktop, fill glyphs in the terminal, with expiry toasts. Modified from Anthropic's token-weather example.
Install
/plugin marketplace add youllook/ClaudeMods/plugin install token-weather-cache@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.endturn.stepturn.completeui.render- API calls
$.clock.after$.clock.now$.env.get$.session.id$.session.usage$.settings.read$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.toast- Draws
AbovePrompt- Reach
- level 1 of 3 reads env varsreads settingspersists 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/youllook/ClaudeMods
- Path in repo
plugins/token-weather-cache- Source commit
4ff0501the exact code the scan read- Author
- @youllook
- License
- MIT
- 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 youllook/ClaudeMods
pip-bridge
youllook/ClaudeMods
Drives the Pip desktop pet: pushes Claude's state (think / run tools / wait / done / error, context left, quota left, subagents) to Pip on 127.0.0.1:38917
shell-guard
youllook/ClaudeMods
Windows shell guard: fixes backslash drive paths in Bash, blocks quote-eating node -e / heredoc patterns, and catches PowerShell/Bash syntax sent to the wrong shell or PowerShell regex escaping in double quotes