antigravity-balance for Openclaw

A lightweight utility to track your remaining Antigravity AI model tokens and quota status directly from the command line.

finderstrategy-cyber
v1.0.0
Jan 28, 2026
2
4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install antigravity-balance

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install antigravity-balance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is antigravity-balance?

Antigravity Balance is a specialized tool designed to provide real-time visibility into your AI model consumption. By integrating with Openclaw Skills, developers can monitor their token usage, subscription tier, and quota reset periods without leaving their terminal or development environment.

This utility functions by communicating with the local language server process, ensuring that your data remains private and your workflow remains uninterrupted. It provides both human-readable visual indicators and structured JSON data, making it a versatile addition to any developer's toolkit for managing AI-driven coding workflows.

antigravity-balance Use Cases

  • Checking remaining Claude Sonnet or other model tokens during intense coding sessions.
  • Verifying quota reset times to plan long-term development tasks.
  • Integrating usage metrics into custom dashboards or notification systems using Openclaw Skills.
  • Troubleshooting model availability and rate limits by inspecting local API responses.

How antigravity-balance Works

  1. The script identifies the active Antigravity language server process running on your operating system.
  2. It extracts the extension server port and CSRF token directly from the process arguments.
  3. It performs a port scan to locate the secure HTTPS API endpoint used by the local service.
  4. A secure query is sent to the local endpoint to retrieve the current user status and model usage data.
  5. The results are parsed and displayed as a color-coded status report or structured JSON output.

antigravity-balance Setup

Ensure you have Node.js installed and that the Antigravity or Windsurf application is currently running. Use the following commands to get started:

# Navigate to the skill directory
cd skills/antigravity-balance

# Run the quota check
node scripts/agquota.js

# Check in JSON format for integration with Openclaw Skills
node scripts/agquota.js --json

antigravity-balance Data Schema & Taxonomy

The skill processes and returns data regarding user accounts and model consumption metrics. This information is critical for managing Openclaw Skills effectively:

Attribute Description
user.name The display name associated with the account.
user.tier The subscription level (e.g., Free, Pro).
models.label The name of the specific AI model (e.g., Claude Sonnet 4.5).
remainingPercent The percentage of the quota currently available.
resetTime A timestamp indicating when the quota will refresh.

antigravity-balance Advanced Features

  • Multi-platform support for macOS (ARM/Intel), Linux, and Windows.
  • Automated discovery of extension server ports and security tokens.
  • Verbose debugging mode for inspecting raw local API responses.
  • Color-coded visual progress bars for immediate status awareness within the CLI.
  • Native JSON output mode for programmatic integration with other Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*