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.
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/antigravity-balance/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How antigravity-balance Compares
| Feature / Agent | antigravity-balance | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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
Generate or edit images via Nano Banana Pro using Antigravity OAuth (no API key needed!)
antigravity-quota
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
antigravity-image-gen
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
portfolio-watcher
Monitor stock/crypto holdings, get price alerts, track portfolio performance
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
portable-tools
Build cross-device tools without hardcoding paths or account names
polymarket
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
No description provided.
polymarket-analysis
Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.
polymarket-agent
Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities
polymarket-5
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
Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.