claudemods

All Claude Code modsjoaosavi/cockpit

usage-limit

A Claude Code mod in joaosavi/cockpit

Keeps the account usage limit from running out mid-task, with separate limits for the 5-hour and the 7-day windows: one subagent at a time (90% and 97%), a commit of the work in progress (97% and 98%), a pause that keeps the rest for you (98% and 99%), each one switchable, and an automatic resume when the window resets.

usage-limit reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install usage-limit --marketplace joaosavi/cockpit

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runswrites files, drives Claude, reads files, reads env vars, persists state, draws

Validation

Passed with warnings

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, every tool call, subagent spawns, classic hooks
Hooks
session.start, session.measure, ui.render {component=AbovePrompt}, command.run {command=limit}, prompt.submit, turn.complete, tool.call, agent.spawn, session.end, classic.StopFailure
API calls
$.agent.list, $.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.prompt.submit, $.session.id, $.session.usage, $.store.get, $.store.set, $.ui.invalidate, $.ui.resolve, $.ui.status
Validation
Passed with warnings
Scanned revision
8f1af109dc3d
Marketplace passed
cockpit

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from joaosavi/cockpit

Badge for your README

Reach badge for usage-limit Validation badge for usage-limit

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--usage-limit-reach.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--usage-limit/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--usage-limit-validates.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--usage-limit/)