Antigravity Quota

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.
12 · 5.3k · 39 current installs · 42 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill claims to check Antigravity quotas and does exactly that: it reads Clawdbot auth profiles, uses stored refresh tokens to obtain access tokens, and calls a model-quota endpoint. The bundled OAuth client_id/client_secret and the Google OAuth token endpoint are consistent with performing a refresh-token grant.
Instruction Scope
SKILL.md directs the operator to run node check-quota.js and to have Clawdbot auth profiles configured at ~/.clawdbot/... — the script reads those files and prints quota info. This is within scope, but note the script will read sensitive refresh tokens from the user's auth-profiles.json and disclose account email/project IDs to stdout. It also performs network calls to oauth2.googleapis.com and cloudcode-pa.googleapis.com, which are expected for this task.
Install Mechanism
No install spec; skill is instruction-only with a single Node script. It requires node on PATH (declared). Nothing is downloaded or written by an installer.
Credentials
The skill requests no environment variables but reads auth-profiles from the user's HOME. That is proportional to checking quotas (it needs refresh tokens). However the script embeds a client_id and client_secret (base64-encoded in source). Embedding a client_secret in distributed code is a minor concern (public client vs secret usage unclear) but does not by itself break purpose alignment.
Persistence & Privilege
The skill does not request persistent/always-on presence, does not modify other skills or global agent settings, and requires no elevated privileges beyond reading files in the user's HOME.
Assessment
This script is coherent with its description: it reads Clawdbot auth-profiles (~/ .clawdbot/.../auth-profiles.json), uses each account's refresh token to obtain an access token from Google's OAuth endpoint, and calls a model quota endpoint to report quotas. Before running: (1) Inspect ~/.clawdbot/.../auth-profiles.json to confirm it contains only the accounts you expect; (2) be aware the script will use refresh tokens it finds — anyone running it can query those accounts' quota data; (3) the script contains an embedded client_id/client_secret (base64-encoded) — if you are concerned about that secret being leaked, avoid running it and consider rotating/revoking the associated client credentials; (4) run the script in an isolated environment if you don't trust the skill source; and (5) if you ever suspect misuse, revoke refresh tokens for affected accounts. Overall the behavior matches the stated purpose, but exercise normal caution because the tool reads and uses sensitive tokens from your home directory.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.1.0
Download zip
latestvk97106a779857dfhc3a132h3357yw8vg

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 configure to 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 total
Select a file
Select a file to preview.

Comments

Loading comments…