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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "antigravity-balance" with this command: npx skills add finderstrategy-cyber/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

  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

PlatformProcess Name
macOS (ARM)language_server_macos_arm
macOS (Intel)language_server_macos
Linuxlanguage_server_linux
Windowslanguage_server_windows_x64.exe

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ai Calls China Phone

可以拨打中国电话号码的机器人外呼, 专为openclaw(龙虾)用户打造的专业ai呼叫能力,只要一个prompt就可以帮你打电话干活了,支持查看电话对话记录,查看电话状态等。

Registry SourceRecently Updated
7914ustczz
General

AANA Purchase Booking Guardrail Skill

Ensures any purchase, booking, or financial commitment is verified for item, price, terms, authorization, payment privacy, and reversibility before proceeding.

Registry SourceRecently Updated
General

Skylv File History Tracker

Tracks file changes with git-like versioning for any project

Registry SourceRecently Updated
General

Skylv Feature Toggle Manager

Feature flag management. Creates and toggles feature flags for A/B testing. Triggers: feature flag, a b test, toggle feature, abtesting.

Registry SourceRecently Updated