Claude Code mod

quota-guard

Compacts before the 5-hour/weekly usage limit is hit, pauses until it resets, then resumes the task automatically.

Context & usage modsValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/catsmonster/claude-quota-guard.git
claude --plugin-dir ./claude-quota-guard/.

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
Unknown
Sees
every prompt, compaction, every tool call
Draws in
AbovePromptPane
Hooks
session.startsession.attachsession.measureturn.startturn.completeprompt.submitsession.compacttool.callui.rendersession.endcommand.run

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
.
Author
catsmonster
License
MIT
Last updated
20 October 2026

FAQ

What is quota-guard?

Compacts before the 5-hour/weekly usage limit is hit, pauses until it resets, then resumes the task automatically. It is a mod for Claude Code, from catsmonster/claude-quota-guard on GitHub.

What can the quota-guard mod access?

Its reach could not be worked out from its code. It sees every prompt, compaction, every tool call. It draws in AbovePrompt, Pane. Like any mod, it runs with your permissions.

How do I install quota-guard?

Clone catsmonster/claude-quota-guard and start Claude Code with --plugin-dir pointing at the mod's folder (.).

More context & usage mods

quota-band

andras-gyarmati/claude-quota-band

Your Claude plan's 5h and weekly usage, the context window and the prompt cache's time left, as one line of bars above the prompt

Context & usage mods/plugin install

quota-meter

kleyson-carreira/quota-meter

Band above the prompt: 5-hour and weekly quota vs. ideal pace, time to reset, session tokens and cost

Context & usage mods

quiet-token-bar

arthurglaizal/quiet-token-bar

Your context window as one quiet line above the prompt: a patterned bar, the fill against the compaction point, a compact button and your session and weekly limits, grey until something gets warm. /quiet-token-bar shows or hides it.

Context & usage mods/plugin install

ranko

milkycode/ranko

Your session's figures above the Claude Code prompt: how full the context is and how far off auto-compaction is, the prompt cache, your plan's limits and when they run full, the task list, and a Compact button. Beside them Ranko, the rankello® mascot, shows what Claude is doing: he types, thinks, waves when it waits for you, cheers and naps.

Context & usage mods/plugin install

quiet-cost

arthurglaizal/quiet-cost

What each reply cost, in one quiet grey line under it: an estimated price in dollars, how long it took and the tokens, and more figures you pick. /quiet-cost opens the row that picks them.

Context & usage mods/plugin install

rd-ledger

Joseph-Ayoub/claude-mods

Contemporaneous R&D time and AI-usage ledger: engagement hours by business component, list-price usage estimates, a weekly review with buttons, a CPA export, an optional bridge to rd-tracker, and a live Usage pane (cost, context, rate limits, models, subagents, code changes) behind one footer chip. Metadata only, nothing leaves the Mac.

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.