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.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- 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.
02 资源文件 2
- 参考文档_meta.json304 B
- 脚本scripts/agquota.js11.5 KB
03 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
- 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 |
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.