Home / Claude Code mods / Security / quota-guard

quota-guard

quota-guard is a Claude Code mod by catsmonster that compacts before the 5-hour/weekly usage limit is hit, pauses until it resets, then resumes the task automatically.

Updated 2026-10-20

What is quota-guard?

quota-guard is a Claude Code mod by catsmonster that compacts before the 5-hour/weekly usage limit is hit, pauses until it resets, then resumes the task automatically. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorcatsmonster
Repositorycatsmonster/claude-quota-guard
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (60/100)
Rank#5,274 of 9,397 Claude Code mods; #602 in Security
LicenseMIT
Last commit2026-10-20
Hooks11 events
Seescompaction, every prompt, every tool call
Draws onAbovePrompt, Pane

Is quota-guard safe to install?

quota-guard scores 60/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox; watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.command.rundrives Claude
$.fs.existsreads files
$.http.fetchnetwork requests
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.session.append
$.session.compactdrives Claude
$.session.id
$.session.surfaces
$.session.usage
$.session.version
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.turn.abortdrives Claude
$.ui.closedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install quota-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/catsmonster/claude-quota-guard
    claude plugin validate ./claude-quota-guard/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/catsmonster/claude-quota-guard && claude --plugin-dir ./claude-quota-guard/.

Or ask Claude to set it up

Paste this into Claude Code and it installs quota-guard for you:

Install the "quota-guard" Claude Code mod from https://github.com/catsmonster/claude-quota-guard. Run claude plugin validate on it first and show me what it can access before you enable it.