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.cjs -
Verify 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.