ClaudeCodeMod

All shelves / Mods / Usage

limits

By Ryan-LT

limits is a Claude Code usage mod by Ryan-LT.

Draws a band above the prompt with the 5-hour and weekly limits, a pace warning, and context fill, and toasts at 75%, 90%, and 100%.

Draws

Install

The marketplace name is claude-mods.

In Claude Code
/plugin install limits --marketplace Ryan-LT/claude-mods
Open the repo

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.2.5
License
MIT
Repo stars
6
Last change
2026-10-22

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Reaches the network or an outside service

Run the install in a terminal claude session, answer y to add the marketplace, and choose the user scope. It works in the terminal and the desktop app. Every 2 minutes, or when you press refresh, it asks Anthropic for the figures claude.ai's usage page shows, using your Claude login; it makes no model request, so it spends no tokens, and all open sessions share one ask. Each bar shows the percent used and a countdown to the reset, and its tick marks where an even pace would be by now. The percent turns red when your rate would use up the limit before it resets. ctx shows how full the chat's context window is. A checkout starts with claude --plugin-dir ./limits.

The marketplace name is claude-mods. The marketplace also holds quick-replies, idle-compact, and check, from the same author. This one installs on its own. The plan limits are why this page files it under usage. quota-meter pins the 5-hour and 7-day limits when they are reported, with the reset and whether the current pace fills them first. usage-budget-erikdarlingdata toasts when the 5-hour or 7-day window crosses a percent, and refuses a new subagent past 95% by default. This one asks Anthropic for the figures itself, every 2 minutes or on refresh, with one request shared by every open session, through your Claude login and not a model, so this page lists network access. In the source, the band is drawn in the AbovePrompt slot, the toasts are raised with $.ui.toast, and the figures are fetched with $.http.fetch.

Demo

The author's picture of the limits band above the prompt in the desktop app: 5-hour at 35% with 3h5m to the reset, Weekly at 26% in red with 6d3h to go, Context at 9%, 89.1k of 1M, and a refresh button reading now. The figures are the author's sample.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • session.endWhen a session ends
  • ui.renderDraws into the sessionAbovePrompt

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, 4 files. They load when you open them.

Facts

Author
Ryan-LT
Category
Usage
Marketplace
claude-mods
Repo
Ryan-LT/claude-mods
Folder
limits
Version
0.2.5
License
MIT
Repo stars
6
Last change
2026-10-22
Language
TypeScript
Files
8

Other mods in Usage

context-guardmelodic-softwareShows a toast when the session's context crosses into a worse zone, smart, acceptable, or dumb, and can draw the zone and percent in a row above the prompt.rate-limit-guardmelodic-softwareShows a toast when the account's 5-hour or 7-day rate-limit window reaches 90% or 95% and when it resets, and can draw both windows in a row above the prompt.orca-quotamutlumehmetDraws the 5-hour and 7-day usage of every Claude account on this machine in one band above the prompt, and warns once before the current account hits its limit.context-keepermishgoldenbergOpens a pane of what fills the context window with tips to trim it, and saves a handoff note of the goal, decisions, files, and TODOs to .claude/checkpoints/.usage-metermishgoldenbergOpens a pane of the 5-hour and 7-day plan limits with reset countdowns, burn rate and when a limit fills, session cost, cache hit ratio, and tokens per turn.usage-quotaanantraghunathDraws the 5-hour and weekly limits with a forecast at reset and the context window above the prompt, with a Compact button and Auto compact at a set percent.usage-graphdonvitoDraws cards above the prompt for the 5-hour limit, the weekly limit, and the context window, each with its percentage, a bar, and when it resets.wavy-usageBatuhanCakmakkDraws liquid-filled rings above the prompt for the 5-hour and 7-day limits, the context, and the prompt cache, a jet for the effort, and a pane of recent turns.usage-band-modjonathanlocksDraws one line above the prompt with the model, session cost, context, the 5-hour and weekly limits, and a per-model weekly limit, led by a pixel crab mascot.usage-statsconnorchuang32Opens /usage-stats in the desktop app: a heat map of tokens per day, trends and models tabs, and a Wrapped-style card you can save as an SVG.session-infodougcunhaHolds a commandOpens a pane of the session: context, cost, prompt cache, plan usage, agents, checks, CI runs, and Git, and holds a prompt that would rewrite an expired cache.ccbaremaballarinDraws a quiet band above the prompt: model and effort, the GitHub repo and branch with lines changed, a context bar split as /context, tokens, and plan limits.
All 183 in Usage