limits

by Andrei Shivalin · ★ 0 · updated yesterday

BandsPromptwarnings

0

Claude Code mod: your 5h/7d quota, context window, prompt-cache time left and session cost on one line above the prompt, with per-subagent cost on hover

install limits

Install

/plugin marketplace add VaitaR/claude-code-limits
/plugin install limits@claude-code-limits

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.startsession.endprompt.submitturn.startturn.stepsession.measuresession.compactagent.spawnturn.completeui.render
API calls
$.clock.now$.process.run$.session.id$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
every promptcompactionsubagent spawns
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/VaitaR/claude-code-limits
Path in repo
repository root
Source commit
d92cb82 the exact code the scan read
Author
Andrei Shivalin @VaitaR
License
MIT
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.