usage-forecast

by 1dohn · ★ 0 · updated 5 days ago

BandsCommandsvalidates

0

A live forecast of your context window, plus your session and weekly usage limits, in the band above the prompt.

install usage-forecast

Install

/plugin marketplace add 1dohn/claude-code-mods
/plugin install usage-forecast@claude-code-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startturn.startagent.spawnturn.stepturn.completeclassic.PostModelSwitchcommand.runsession.measuresession.compactsession.endui.render
API calls
$.agent.list$.clock.every$.clock.now$.env.get$.http.fetch$.session.authorize$.session.model$.session.usage$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
subagent spawnsclassic hookscompaction
Reach
level 3 of 3 networkreads env varsreads settingsreads mod staterequests an Anthropic credential handlepersists 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/1dohn/claude-code-mods
Path in repo
usage-forecast
Source commit
2f9cf79 the exact code the scan read
Author
@1dohn
License
A license file GitHub could not identify — read it in the repository before reusing code.
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 1dohn/claude-code-mods

pixel-office

1dohn/claude-code-mods

A lively pixel office in the right panel: Claude is the Manager, staff take the tool calls (and type the reply), work at their desks while Claude works and take breaks between turns, report each finished job to the Manager, agents sit at the front desks, brass signs say what each station does, the board shows the to-do list (the Manager ticks each done line), the Janitor sweeps the office...

★ 0PanesBandsGuards

producer-tag

1dohn/claude-code-mods

Plays an anime-voice producer tag (「マスター!確認してください」, 'Master! Please check this.') when Claude needs your input, or finishes work that took 10 seconds or more.

★ 0PromptAudioAutomation

Other mods in Bands, close to this one by stars.