name: antigravity-sync
description: Automatically discover and configure available Google Antigravity models and quotas.
metadata:
openclaw:
skillKey: antigravity-sync
runtime: node
requires:
auth:
- google-antigravity
invocation:
policy: on-demand
triggers:
- pattern: "sync antigravity"
- pattern: "update models"
- pattern: "fetch google models"
Antigravity Sync
This skill queries the Antigravity API to discover available models and their quotas, then updates your openclaw.json configuration to match.
Usage
Ensure you are authenticated:
Run
openclaw models auth login google-antigravityif you haven't already.Run the sync script:
node skills/antigravity-sync/sync.cjsVerify Configuration:
The script will output the primary model it selected. Check
openclaw.jsonto see the full list of configured models.
Behavior
Fetches
fetchAvailableModelsfrom Google Cloud Code Assist API.Updates
models.providers["google-antigravity"].modelswith all non-exhausted models.Sets
agents.defaults.model.primaryto the API's recommended default model (or preserves your manual selection if valid).Preserves existing auth settings.
Safety: Backs up
openclaw.jsonbefore writing.