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
Claude Code
$ npx -y skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime --agent claude-code
Codex
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a codex -y
Cursor
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a cursor -y
Gemini CLI
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a gemini-cli -y
GitHub Copilot
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a github-copilot -y
OpenCode
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a opencode -y
Windsurf
$ npx skills add Idun-Group/antigravity-plugin-cc --skill antigravity-cli-runtime -a windsurf -y
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.
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…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.