BlogSubmit

Search mods by name, tag, or keyword.

    Claude Plugins

    Token Weather

    See context usage and recent growth as a weather strip above the Claude Code prompt.

    contextinterface

    About Token Weather

    Token Weather is an Anthropic sample mod that reads the session context counters after a turn and draws a compact forecast above the prompt. It combines the current percentage, token count and recent trend without asking a model to interpret the data.

    • Context percentage and token count from session usage.
    • A small history chart for the last twelve turns.
    • Updates through session, turn and interface hooks.

    How to install

    Open the source documentation to check prerequisites and installation scope. Copy the commands below and run them one line at a time. Replace any example paths with the directory you intend to use.

    Terminal

    git clone https://github.com/anthropics/claude-code-playground.git
    claude plugin marketplace add ./claude-code-playground/claude-code/mods
    claude plugin install token-weather@claude-code-playground-mods

    Requires Claude Code 2.1.287 or later. After installation, run /reload-plugins in the active session and check /plugin to confirm the mod loaded.

    Complete any authentication or settings steps documented by the maintainer, then reload the session and confirm the capability is available. Entries in the same repository may share a parent plugin installation.

    Getting started

    Install the sample from its local marketplace, then keep the cloned directory in place. Start a conversation and read the band above the prompt after each turn.

    Before you use it

    Review the project instructions and requested tool access, then try a small task. This directory checks sources and setup notes; inclusion is not a code security audit.

    How to read the weather strip

    The strip combines an absolute context reading with a short visual history. For example, 67% means the reported input context occupies 67% of the model window; the small bars compare recent turns with each other.

    Weather levels
    Clear is below 25%; Cloudy is 25–49%; Showers is 50–74%; Storm is 75–89%; Compact soon starts at 90%. These are the mod’s display bands, not a safety verdict.
    Recent turns
    The chart covers up to twelve turns. Its bars are scaled relative to the fullest turn shown, while the percentage is an absolute reading of the context window.
    Last-turn change
    The change indicator shows how much the reported context increased in the last completed turn. The strip updates after a turn, not continuously while Claude is working.

    First run and expected result

    Install
    Run the commands above from a terminal and retain the cloned local marketplace directory. Reload plugins or start a fresh Claude Code session.
    Observe
    In the terminal client, complete a short turn and look above the prompt. The band should show a weather label, percentage, token count and recent-turn chart.
    Compare
    Read several files in a later turn and compare the next reading. The history and increase should change after that turn completes; the mod does not send a model request just to calculate the band.

    Requirements and limits

    Terminal display
    The maintainer documents an AbovePrompt terminal surface and Claude Code 2.1.287 or later. Other clients should not be assumed to show the same band.
    Different percentages
    The mod measures the full context window. Claude Code’s own compaction notice can use a lower threshold, so its percentage may differ from the weather strip.
    Session history
    The recent-turn history resets on a new session or plugin reload. Another plugin drawing in the same AbovePrompt area may compete for that space.

    These steps summarize the maintainer documentation; source review is not a runtime compatibility test.

    Related mods

    Claude Plugins
    Atlas — jamubc/toolbox

    Browse project files, inspect Git changes and open an editor in a Claude Code side pane.

    Claude Code ModCommunity project2 repo starsRepo updated Oct 13, 2026

    Blast Radius — anthropics/claude-code-playground

    Preview the impact of a risky shell command in Claude Code before choosing Proceed or Cancel.

    Claude Code ModAnthropic repository261 repo starsRepo updated Oct 14, 2026

    Browse — jamubc/toolbox

    Open a browser pane inside the Claude Code terminal with the /browse command.

    Claude Code ModCommunity project2 repo starsRepo updated Oct 13, 2026