← Back to Skills Marketplace
finderstrategy-cyber

Antigravity Balance

cross-platform ✓ Security Clean
2816
Downloads
2
Stars
7
Active Installs
1
Versions
Install in OpenClaw
/install antigravity-balance
Description
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.
README (SKILL.md)

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

  1. Process Detection: Finds the running language_server_macos_arm (or platform equivalent) process
  2. Extracts Connection Info: Parses --extension_server_port and --csrf_token from process args
  3. Port Discovery: Scans nearby ports to find the HTTPS API endpoint (typically extensionPort + 1)
  4. Queries Local API: Hits https://127.0.0.1:{port}/exa.language_server_pb.LanguageServerService/GetUserStatus
  5. 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 https module)
  • Antigravity (or Windsurf) must be running

Troubleshooting

If the script fails:

  1. Ensure Antigravity/Windsurf is running
  2. Check if the language server process exists: ps aux | grep language_server
  3. The process must have --app_data_dir antigravity in 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
Usage Guidance
This skill appears coherent and does what it claims: it searches your process list, extracts the Antigravity server port and CSRF token from the process command line, then queries a localhost HTTPS endpoint to show quota. That behavior is necessary for the stated purpose but is sensitive because it reads tokens from process command lines. Before installing or running: (1) review the included script (scripts/agquota.js) yourself — the full source is present; (2) only run it on machines you trust (don't run on shared CI runners or untrusted hosts); (3) note it executes ps on Unix or a PowerShell query on Windows; (4) it only communicates with 127.0.0.1 (no remote exfiltration in the code), and it has no external install steps. If you are uncomfortable with a tool that extracts tokens from process args, do not install or run it.
Capability Analysis
Type: OpenClaw Skill Name: antigravity-balance Version: 1.0.0 The skill is designed to check the local Antigravity AI model quota. It achieves this by inspecting command-line arguments of local processes (`ps` or `powershell`) to find the Antigravity language server's port and a local CSRF token. It then uses these details to make HTTPS requests to a local API endpoint (`127.0.0.1`) to retrieve user status and quota information. All network communication is confined to the local host, and the extracted token is used solely for local API authentication. There is no evidence of data exfiltration to external parties, malicious execution, persistence mechanisms, or prompt injection attempts against the agent. The observed behaviors are directly aligned with the stated purpose and do not exhibit intentional harmful behavior.
Capability Assessment
Purpose & Capability
The name/description (check local Antigravity quota) align with what is implemented: the script searches for a language_server process, extracts --extension_server_port and --csrf_token, scans local ports, and queries a local HTTPS endpoint to get user status. All requested actions are relevant to the stated purpose.
Instruction Scope
SKILL.md and the script limit actions to detecting a local process (ps / PowerShell) and making HTTPS requests to 127.0.0.1. There are no instructions to read unrelated files, call remote APIs, or exfiltrate data. The script does parse process command lines to extract the CSRF token — this is necessary for the local API query but is the most sensitive operation it performs.
Install Mechanism
There is no install spec (instruction-only with an included node script). No external archives or third-party packages are downloaded during install. The only runtime dependency is Node.js, which is declared in SKILL.md.
Credentials
The skill requests no environment variables or external credentials. It does read the system process list and parses command-line arguments to extract a CSRF token from the Antigravity process — this is proportional to querying the local service, but it is sensitive because process command lines can contain secrets. This access is justified by the skill's purpose but worth highlighting to users.
Persistence & Privilege
No persistent installation or 'always' privilege is requested. The skill does not modify other skills or system-wide agent settings. The agent can invoke it normally (default), which is expected.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install antigravity-balance
  3. After installation, invoke the skill by name or use /antigravity-balance
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: check Antigravity AI model quota and token balance
Metadata
Slug antigravity-balance
Version 1.0.0
License
All-time Installs 7
Active Installs 7
Total Versions 1
Frequently Asked Questions

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.

💬 Comments