quota-guard

quota-guard is a skill for Claude Code from iicmaster/antigravity-plugins. It costs 38 tokens per session (604 once invoked), scanned A, original, MIT.

A quota-monitoring skill for Antigravity model usage and remaining AI Premium credits, using consumption rates and reset times to assess risk.

In plain words
What is it for?
It checks five-hour and weekly limits for Gemini, Claude, and GPT models, monitors premium credits, projects usage, and triggers the defined protection response.
Why use it?
It helps prevent unexpectedly exhausting model quotas by warning when usage is high and selecting protective fallback actions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quota-dashboard plugin — 2 skills shipped together

Good fit It checks five-hour and weekly limits for Gemini, Claude, and GPT models, monitors premium credits, projects usage, and triggers the defined protection response.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iicmaster/antigravity-plugins/quota-guard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iicmaster/antigravity-plugins --skill quota-guard
Clone the repo
git clone --depth 1 https://github.com/iicmaster/antigravity-plugins

Made for: Claude Code.

Or install quota-dashboard, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quota-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/iicmaster/antigravity-plugins/quota-guard/github.svg)](https://agentmods.dev/skills/iicmaster/antigravity-plugins/quota-guard)
Your own site
<a href="https://agentmods.dev/skills/iicmaster/antigravity-plugins/quota-guard"><img src="https://agentmods.dev/badge/skills/iicmaster/antigravity-plugins/quota-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quota-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/iicmaster/antigravity-plugins/quota-guard"><img src="https://agentmods.dev/badge/skills/iicmaster/antigravity-plugins/quota-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00604
Opus 5.5 $0.00015 $0.00242
Sonnet 5.5 $0.00008 $0.00121
Haiku 4.5 $0.00004 $0.00060

Measured 22d ago against content hash 14688a42cfc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quota-guard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/quota-dashboard/skills/quota-guard/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quota Guard Skill (quota-guard)

Use this skill to inspect, protect, and proactively manage your Antigravity (AGY) model quota budgets and remaining AI Premium credits using a Sequential Thinking (sqthink) decision pipeline.


🧠 The Sequential Thinking (sqthink) Quota Governance Flow

flowchart LR
    S1["1. Metric Ingest (get_quota)"] --> S2["2. Rolling Consumption Projection"]
    S2 --> S3["3. Threat Level Triage"]
    S3 --> S4["4. Autonomous Protection Action"]

1. Metric Ingestion & Invariant Inspection

  • Invoke get_quota MCP tool to fetch structured percentages and reset countdowns for:
    • Gemini 4 Argon (Primary Flagship Model): Dedicated Gemini 4 Argon Weekly Limit (and 5-Hour limit if applicable)
    • Gemini Models (Gemini 3.8 Flash & standard): 5-Hour rolling limit & Weekly limit
    • Claude and GPT Models (Claude 5.5 Opus/Sonnet, GPT-OSS 120B): 5-Hour rolling limit & Weekly limit
    • AI Premium Credits balance

2. Rolling Consumption Rate Projection

  • Compare remaining percentage against time remaining until the next reset window:
    • Burn Rate Index: Is the quota depleting faster than the reset timer recovery?

3. Threat Level Triage

  • 🟢 Level 0 (Normal - >35% remaining): Safe for primary flagship reasoning (Gemini 4 Argon (Medium/High)).
  • 🟡 Level 1 (Warning - 15% - 35% remaining): Recommend prompt token compression or switching to Gemini 4 Argon (Low) / Gemini 3.8 Flash.
  • 🔴 Level 2 (Critical - <15% remaining): Proactively trigger fallback (agy --model gemini-4-argon-low or agy --model gemini-3.8-flash-high) and launch dashboard UI.

4. Autonomous Protection Actions

  • Automatically invoke open_dashboard MCP tool to open the live monitor at http://localhost:3838.
  • Alert the user with actionable next steps (Switch effort to Gemini 4 Argon (Low) or fallback to Gemini 3.8 Flash, upgrade credits, or pause automated cron tasks).

🚀 Invocation

# Check quota status via MCP
get_quota

# Open live dashboard UI
open_dashboard

Read the full file on GitHub · 52 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · +1 lines 14688a42cfc7
  2. 2mo ago First seen · 51 lines · 38 tokens per session scan A fd3a6f8dec44

Subscribe to this mod's changes

quota-guard is a skill published in the GitHub repository iicmaster/antigravity-plugins (7 stars, last pushed 9d ago), licensed MIT. It adds 38 tokens to every session and 604 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

quota-guard compared with skills from other repositories

quota-guard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quota-guardiicmaster/antigravity-pluginsSkill79d agoMITA38Claude Code
orbit-notionnexu-io/open-designSkill107ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill113ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k4d agoMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k12d agoMITA52Claude Code, Codex