limits
by Ramon Fabrega · ★ 0 · updated 10 days ago
Logs the subscription's rate-limit windows (five_hour, seven_day, and each per-model week such as Fable's: percent used and when each resets) to ~/.lore/limits.jsonl, one line per whole-point move, from every session that has it, and keeps the latest per-model reading in ~/.lore/limits-now.json for a status line to draw — the figures the account enforces, kept, so a week of them gives the...
Install
/plugin marketplace add ramonfabrega/mods/plugin install limits@modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.measure- API calls
$.clock.now$.env.get$.fs.read$.http.fetch$.process.run$.session.authorize$.session.id$.session.usage- Reach
- level 3 of 3 networkruns processesreads filesreads env varsrequests an Anthropic credential handle
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/ramonfabrega/mods
- Path in repo
limits- Source commit
05e6f1ethe exact code the scan read- Author
- Ramon Fabrega @ramonfabrega
- License
- No license declared — ask the author 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.