antigravity-result-han…
How to interpret Antigravity companion output — successful responses, quota/auth/backend errors, and applying file changes
Internal helper contract for calling the antigravity companion runtime from Claude Code
$ npx -y skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/antigravity-cli-runtimeContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal helper contract for calling the antigravity companion runtime from Claude Code
name: antigravity-cli-runtime description: Internal helper contract for calling the antigravity companion runtime from Claude Code user-invocable: false
Internal contract for the `antigravity:antigravity-pair` subagent. Not user-facing. This documents the one helper the subagent calls and the rule it follows.
node "${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.mjs" delegate "<task>" [flags]`delegate` hands the task to Google's Antigravity CLI (`agy`, Gemini 3.5) non-interactively via `agy -p`. It is **write-capable by default** — it can edit files and run commands in this repo. Contain it with `--read-only` or `--sandbox` when the task should not mutate the working tree.
The subagent makes **exactly one** Bash call to `delegate` and returns its stdout **verbatim**.
The companion owns binary detection, sandboxing, timeouts, the conversation id, and quota handling (on `RESOURCE_EXHAUSTED` it surfaces the reset window recovered from the log). The subagent's job is to forward and relay.
| Flag | Effect | |------|--------| | `--background` | Spawn a background job; returns a job id instead of blocking. | | `--sandbox` | Run contained — no host writes. | | `--read-only` | Allow reads, block edits/commands. | | `--continue`, `-c` | Continue the most recent Antigravity conversation. | | `--conversation <id>` | Continue a specific conversation by id. | | `--add-dir <path>` | Grant access to an extra directory (repeatable). | | `--print-timeout <go-dur>` | Cap the print-mode run, e.g. `10m`, `90s`. |
`agy` has **no** `--model` / `-m` flag. The model (default Gemini 3.5 Flash) is selected with `/model` inside the `agy` TUI and persisted in `settings.json`. Never add a model flag to a `delegate` call and never tell the user to pass one.
The companion also exposes `review`, `resume`, `status`, `result`, and `cancel`. The `antigravity:antigravity-pair` subagent **only** calls `delegate`. The others are driven by their own slash commands, not from here.
Drive Google's Antigravity CLI (agy, powered by Gemini 3.5) without leaving Claude Code. A Claude Code plugin that hands work to agy — Google's Antigravity CLI — and brings the result back into your session.
Repo: Idun-Group/antigravity-plugin-cc
How to interpret Antigravity companion output — successful responses, quota/auth/backend errors, and applying file changes
How to write effective prompts for Google Antigravity / Gemini 3.5 agents (used when delegating to or reviewing with the antigravity plugin)