From Token Weather Usage
One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, the subagents running, and a one-click pill for the GOs Claude proposes. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).
7 events · 14 calls
Ships in Token Weather Usage. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
env.getprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startsession.endturn.stepturn.completesession.compactsession.measureui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
listeverynowgetsubmitidmodelusagedeletegetkeyssetinvalidateresolveCLAUDE_CODE_PROMPT_CACHE_TTLDISABLE_PROMPT_CACHINGENABLE_PROMPT_CACHING_1HFORCE_PROMPT_CACHING_5MLANGLC_ALLLC_MESSAGESWhere Claude Code finds the mod
hooks/hooks.jsonhooks/token-weather-usage.mjs (written ./token-weather-usage.mjs)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub augiefra/claude-mods --plugin token-weather-usage