Antigravity Balance
/install antigravity-balance
Antigravity Balance
Check your Antigravity AI model quota and token balance.
Quick Start
# Check quota (auto-detects local Antigravity process)
node scripts/agquota.js
# JSON output for parsing
node scripts/agquota.js --json
# Verbose output (debugging)
node scripts/agquota.js -v
How It Works
- Process Detection: Finds the running
language_server_macos_arm(or platform equivalent) process - Extracts Connection Info: Parses
--extension_server_portand--csrf_tokenfrom process args - Port Discovery: Scans nearby ports to find the HTTPS API endpoint (typically extensionPort + 1)
- Queries Local API: Hits
https://127.0.0.1:{port}/exa.language_server_pb.LanguageServerService/GetUserStatus - Displays Quota: Shows remaining percentage, reset time, and model info
Output Format
Default output shows:
- User name, email, and tier
- Model name and remaining quota percentage
- Visual progress bar (color-coded: green >50%, yellow >20%, red ≤20%)
- Reset countdown (e.g., "4h 32m")
JSON output (--json) returns structured data:
{
"user": { "name": "...", "email": "...", "tier": "..." },
"models": [
{ "label": "Claude Sonnet 4.5", "remainingPercent": 80, "resetTime": "..." }
],
"timestamp": "2026-01-28T01:00:00.000Z"
}
Requirements
- Node.js (uses built-in
httpsmodule) - Antigravity (or Windsurf) must be running
Troubleshooting
If the script fails:
- Ensure Antigravity/Windsurf is running
- Check if the language server process exists:
ps aux | grep language_server - The process must have
--app_data_dir antigravityin its args (distinguishes from other Codeium forks)
Platform-Specific Process Names
| Platform | Process Name |
|---|---|
| macOS (ARM) | language_server_macos_arm |
| macOS (Intel) | language_server_macos |
| Linux | language_server_linux |
| Windows | language_server_windows_x64.exe |
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install antigravity-balance - After installation, invoke the skill by name or use
/antigravity-balance - Provide required inputs per the skill's parameter spec and get structured output
What is Antigravity Balance?
Check Google Antigravity AI model quota/token balance. Use when a user asks about their Antigravity usage, remaining tokens, model limits, quota status, or rate limits. Works by detecting the local Antigravity language server process and querying its API. It is an AI Agent Skill for Claude Code / OpenClaw, with 2816 downloads so far.
How do I install Antigravity Balance?
Run "/install antigravity-balance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Antigravity Balance free?
Yes, Antigravity Balance is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Antigravity Balance support?
Antigravity Balance is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Antigravity Balance?
It is built and maintained by finderstrategy-cyber (@finderstrategy-cyber); the current version is v1.0.0.