Home / Claude Code mods / Cost & usage / usage-forecast

usage-forecast

usage-forecast is a Claude Code mod by 1dohn that a live forecast of your context window, plus your session and weekly usage limits, in the band above the prompt.

Updated 2026-11-28

What is usage-forecast?

usage-forecast is a Claude Code mod by 1dohn that a live forecast of your context window, plus your session and weekly usage limits, in the band above the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Author1dohn
Repository1dohn/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#4,604 of 9,397 Claude Code mods; #791 in Cost & usage
Last commit2026-11-28
Hooks11 events
Seesclassic hooks, compaction, subagent spawns
Draws onAbovePrompt

Is usage-forecast safe to install?

usage-forecast scores 72/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.clock.every
$.clock.now
$.env.getreads env vars
$.http.fetchnetwork requests
$.session.authorizereads the transcript
$.session.model
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface

How do I install usage-forecast?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/1dohn/claude-code-mods
    claude plugin validate ./claude-code-mods/usage-forecast
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add 1dohn/claude-code-mods && claude plugin install usage-forecast@claude-code-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-forecast for you:

Install the "usage-forecast" Claude Code mod from https://github.com/1dohn/claude-code-mods/tree/master/usage-forecast. Run claude plugin validate on it first and show me what it can access before you enable it.

More from 1dohn/claude-code-mods

This repository has 3 Claude Code mods on MCPMods.

  • pixel-office: A lively pixel office in the right panel: Claude is the Manager, staff take the tool calls (and type the reply), work at (Low risk)
  • producer-tag: Plays an anime-voice producer tag (「マスター!確認してください」, 'Master! Please check this.') when Claude needs your input, or finis (Low risk)