Antigravity Quota 1.1.0
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 3 · 1.5k · 2 current installs · 2 all-time installs
duplicate of @mukhtharcm/antigravity-quota
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name/description (Antigravity quota checking) align with the actual behavior: it reads Clawdbot auth profiles, uses stored refresh tokens to obtain access tokens, and queries a model-quota endpoint for matching models. Required binary (node) is appropriate.
Instruction Scope
SKILL.md instructs running the included node script and the script's behavior matches those instructions. The script reads only the declared Clawdbot auth-profiles paths, exchanges refresh tokens with oauth2.googleapis.com, and posts to cloudcode-pa.googleapis.com to fetch model quota info. It prints results to stdout or JSON; it does not upload data to arbitrary third-party endpoints beyond the OAuth/token and quota endpoints it needs to function.
Install Mechanism
No install spec; this is an instruction + single script that requires node. Nothing is downloaded or written by an installer, minimizing additional risk.
Credentials
The script reads the user's ~/.clawdbot/... auth-profiles.json to obtain refresh tokens and project IDs — this is necessary for the stated purpose but is sensitive because it accesses OAuth refresh tokens. No environment variables or unrelated credentials are requested. Note: the script embeds a base64-encoded CLIENT_ID and CLIENT_SECRET (decoded at runtime); embedding a client secret in a script is unusual but not necessarily malicious for a public helper.
Persistence & Privilege
The skill does not request persistent system presence (always is false) and does not modify other skills or system configuration. It runs ad-hoc when invoked and only reads the user's auth profiles.
Assessment
This script appears to do exactly what it says: read your Clawdbot auth-profiles file, exchange refresh tokens with Google's OAuth endpoint, and query an Antigravity/Google quota API. Before running it, review the script locally (it’s included) and confirm the auth-profiles path is correct. Be aware it will read refresh tokens from ~/.clawdbot/... — if you don’t trust the source of this skill or the environment, don’t run it against your real credentials. The script communicates with oauth2.googleapis.com and cloudcode-pa.googleapis.com — network access is required. If you want extra safety, run it in an isolated environment or with copies of your auth file containing scrubbed/test tokens.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
📊 Clawdis
Binsnode
SKILL.md
Antigravity Quota Skill
Check quota status across all Antigravity accounts configured in Clawdbot.
Prerequisites
- Clawdbot with Antigravity accounts configured
- Run
clawdbot configureto add Antigravity accounts
Quota Info
- Claude (Opus/Sonnet) — shared 5-hour quota pool
- Gemini Pro — separate 5-hour quota
- Gemini Flash — separate 5-hour quota
Each model type resets independently every 5 hours per account.
Usage
Text output (default)
node check-quota.js
Markdown table (for tablesnap)
node check-quota.js --table
node check-quota.js --table | tablesnap --theme light -o /tmp/quota.png
JSON output
node check-quota.js --json
Custom timezone
node check-quota.js --tz America/New_York
TZ=Europe/London node check-quota.js
Output
Text mode
📊 Antigravity Quota Check - 2026-01-08T07:08:29.268Z
⏰ Each model type resets every 5 hours
🌍 Times shown in: Asia/Kolkata
Found 9 account(s)
🔍 user@gmail.com (project-abc123)
claude-opus-4-5-thinking: 65.3% (resets 1:48 PM)
gemini-3-flash: 95.0% (resets 11:41 AM)
Table mode (--table)
Sorted by Claude quota remaining, with emoji indicators:
- 🟢 80%+ remaining
- 🟡 50-79% remaining
- 🟠 20-49% remaining
- 🔴 <20% remaining
Integration with tablesnap
For messaging platforms that don't render markdown tables:
node check-quota.js --table | tablesnap --theme light -o /tmp/quota.png
# Then send the image
Requires tablesnap — install with:
go install github.com/joargp/tablesnap/cmd/tablesnap@latest
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
