All Claude Code modsjoaosavi/cockpit
usage-limit
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.
- Events hooked: 10
- API methods referenced: 16
- Access from classified calls: L2, writes or runs: writes files, drives Claude, reads files, reads env vars, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install usage-limit --marketplace joaosavi/cockpitFrom 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, drawsValidation
Passed with warningsListed 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
- collision-guardWarns when two Claude Code sessions on this machine edit the same file, and holds a git command once when it…
- hudA heads-up display under or above the prompt: model, branch, context and plan limits, and memory headroom. /h…
- loop-breakerNotices when the agent goes in circles (repeated fix attempts on one file, the same error coming back, the sa…
- memory-guardKeeps typecheck, build, test and Playwright runs under the memory limit, the tightest cgroup limit on Linux o…
- panelA local web page with a card for every Claude Code session on this machine: whether it waits for you, what it…
- pipefailAdds set -o pipefail to a command that pipes a test, typecheck or lint run into tail, head or grep, so a fail…
- recallSearches the ai-memory server for the words of each request and adds the best matching memory pages to it, as…
- secret-guardHides every secret value in tool output as <hidden:NAME> before the agent reads it, MCP and subagent output i…
- skill-loaderLoads the right skill at the right moment, so CLAUDE.md needs no load-this-skill rules: typescript-best-pract…
- spinner-statusReplaces the tip under the spinner with one short line from Haiku: where this session stands, or a tip about…
- todoKeeps the native task list in front of the agent: the open tasks at session start and right after each compac…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/joaosavi--cockpit--usage-limit/)
[](https://mods.aidojo.si/mods/joaosavi--cockpit--usage-limit/)