All shelves / Mods / Usage
limit-bars
By FynnXland
limit-bars is a Claude Code usage mod by FynnXland.
Draws the 5-hour and weekly limits as two slim bars above the prompt, a ring for how long the prompt cache stays warm, and asks before a costly cold send.
Draws
Install
The marketplace name is fynn-mods.
claude plugin marketplace add FynnXland/fynn-mods claude plugin install limit-bars@fynn-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.8.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-19
What it can reach
- Draws in the session
- Reads usage or context figures
- Runs a command when you press
- Calls another program on this machine
Tested with Claude Code v2.1.295. Inside a session: /plugin marketplace add FynnXland/fynn-mods and /plugin install limit-bars@fynn-mods. It loads in the next session, or after /reload-plugins. The terminal shows no bars below 53 columns. /keepwarm is off by default, because every ping costs quota. The storage ring is off by default and Windows only, set with storagePath. /bars shows or hides each part in all open chats.
The marketplace, fynn-mods, holds FynnXland's six mods; each installs on its own. Plan limits and the prompt cache are why this page files it under usage. antiburn draws the five-hour and weekly limits with reset times and even-pace markers. cache-tax keeps the one-hour cache warm while you step away and stops a send into a cold cache once. This one shares the newest limit reading between all open chats on the computer, asks Send anyway, Compact first, or Cancel before a typed message goes into a cold cache in a chat of 150k or more, and adds /handoff, which has Claude write a short handoff and clears the chat for it. In the source, the bars are an AbovePrompt render and the cold-send question a prompt.submit hook.
Demo
What it hooks into
session.startWhen a session startsturn.stepAt each step of a turnturn.completeWhen a turn endssession.compactWhen the context is compactedprompt.submitWhen you send a promptcommand.runWhen you run its slash command/cache/handoff/keepwarm/bars/diskui.renderDraws into the sessionAbovePromptsession.measureWhen usage is measured
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 12 files. They load when you open them.
Facts
- Author
- FynnXland
- Category
- Usage
- Marketplace
- fynn-mods
- Folder
- mods/limit-bars
- Version
- 0.8.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-19
- Language
- TypeScript
- Files
- 24