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.

533 stars

Best use case

antigravity-balance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using antigravity-balance should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/antigravity-balance/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/antigravity-balance/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/antigravity-balance/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How antigravity-balance Compares

Feature / Agentantigravity-balanceStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Antigravity Balance

Check your Antigravity AI model quota and token balance.

## Quick Start

```bash
# 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:
```json
{
  "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` |

Related Skills

nano-banana-antigravity

533
from sundial-org/awesome-openclaw-skills

Generate or edit images via Nano Banana Pro using Antigravity OAuth (no API key needed!)

antigravity-quota

533
from sundial-org/awesome-openclaw-skills

Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.

antigravity-image-gen

533
from sundial-org/awesome-openclaw-skills

Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.

portfolio-watcher

533
from sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

portainer

533
from sundial-org/awesome-openclaw-skills

Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.

portable-tools

533
from sundial-org/awesome-openclaw-skills

Build cross-device tools without hardcoding paths or account names

polymarket

533
from sundial-org/awesome-openclaw-skills

Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.

polymarket-traiding-bot

533
from sundial-org/awesome-openclaw-skills

No description provided.

polymarket-analysis

533
from sundial-org/awesome-openclaw-skills

Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.

polymarket-agent

533
from sundial-org/awesome-openclaw-skills

Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities

polymarket-5

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

polymarket-4

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.