When to choose it
Keeping context usage visible as a session grows.
Choose it if: You want a terminal band showing context usage and recent turns without a separate model call.
Look elsewhere if: You need persistent usage history or an exact auto-compact threshold; the sample does not provide those.
What the source describes
- Reads session context usage after each turn
- Shows a weather state and recent-turn chart
- No separate model call for the context reading
Requirements
- Claude Code v2.1.287 or later
- Terminal surface for the AbovePrompt band
Review, then try in one session
- Prepare the session. Use Claude Code 2.1.287 or later and a terminal. Review the sample README and hooks before loading.
- Setup check 2. Clone the upstream repository and enter its mods directory.
- Setup check 3. Inspect the plugin with the documented validator.
- Setup check 4. Load this sample for one session.
These commands download the sample and then load its code. Read the source before running the final line. Validation is an inspection aid, not a security guarantee.
git clone https://github.com/anthropics/claude-code-playground.git
cd claude-code-playground/claude-code/mods
claude plugin validate ./token-weather
claude --plugin-dir ./token-weatherHow to use it
Work normally; the band takes an initial reading and updates after each completed main-thread turn. There is no token-weather slash command.
Compare the context reading after two ordinary, read-only turns. This request example is written by ClaudeStack; it is not a transcript of a tested session.
Read README.md and summarize the project. Then read one small source module and explain its role without editing files.Its percentage uses the full model context window; Claude Code's auto-compact notice uses a lower threshold, so the two can differ.
Updates occur after a turn, not continuously. Subagent turns do not add readings.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- Forecast ranges in source: under 25% Clear; 25–49% Cloudy; 50–74% Showers; 75–89% Storm; 90%+ Compact soon.
- It reads $.session.usage().context without asking for a token breakdown or making a model call. A failed reading keeps the preceding reading.
- The source describes a forecast label, full-window percentage, token total/window, up to 12 recent readings, and the last-turn change. The exact numbers and forecast depend on the session.
Self-check: Finish two ordinary main-thread turns and compare the readings. Its denominator is the full context window and history resets when the session or plugin reloads.
Troubleshooting
The percentage differs from Claude Code's context-used notice, or reads 0 before the first response.
Finish a normal turn, then compare each number against its documented denominator. Token Weather uses the full window and has no reported usage before a response.
The band is missing or its chart has disappeared.
Use an interactive terminal, widen it to at least 60 body columns for the chart, and disable a competing AbovePrompt Mod. Check /plugin for the active Mod name and the official debug-log guidance if the entire Mod is absent.
Disable or remove it
- For the one-session --plugin-dir route, end that session and start Claude Code without that directory flag.
- Disable the installed plugin in /plugin → Installed, or from the shell. Shell: claude plugin disable token-weather@claude-code-playground-mods.
- Uninstall at the scope where you installed it; these examples use user scope. Shell: claude plugin uninstall token-weather@claude-code-playground-mods --scope user.
Limitations & considerations
- Uses the full context window; the auto-compact notice uses a different threshold
- History resets on session start or reload; another AbovePrompt mod can conflict
Mods execute with your user privileges and are not sandboxed. They can access files, launch processes and make network requests. ClaudeStack has not run or security-audited this Mod. Use claude plugin validate on a downloaded directory to inspect declared behavior; validation does not certify safety. Check the official trust guidance before loading it.
Source & review record
Our description is based on public documentation and manifests available on 2026-10-05. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- License of the reviewed source
- Official plugin installation documentation
Usage guide sources
Upstream revision checked for this guide: 569c5283d9a0a7ee7938df85bb32e4f48cbb8c86. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.