From antigravity
How to write effective prompts for Google Antigravity / Gemini 3.5 agents (used when delegating to or reviewing with the antigravity plugin)
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity:gemini-3-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You drive `agy` (Antigravity, Gemini 3.5) in print mode through the companion's `delegate`, `review`, and `resume` subcommands. Print mode is headless: one prompt in, one result out. The agent cannot stop to ask you a clarifying question, so the prompt you send is the whole brief. Write it like a work order for a fast, literal junior engineer.
You drive agy (Antigravity, Gemini 3.5) in print mode through the companion's delegate, review, and resume subcommands. Print mode is headless: one prompt in, one result out. The agent cannot stop to ask you a clarifying question, so the prompt you send is the whole brief. Write it like a work order for a fast, literal junior engineer.
This guide is the short version. The depth lives in two reference files:
Based on Google's Gemini 3.5 developer/prompting guides and practitioner write-ups:
parseDate return null on empty input and add a test for it," you get exactly that. Spell out the target behavior, not the vibe.Don't bake the model choice into the prompt text. To pick a model, pass --model <label> (agy 1.0.8+; the companion probes support and warns+ignores on older builds), or set a default with /model inside the TUI (persisted in settings.json). Don't write "use Gemini 3.5 Pro" into the prompt body.
Keep it tight. A focused 8-line brief beats a 40-line essay; over-stuffed context buries the actual ask.
delegate is write-capable by default — it can edit files and run commands. Choose deliberately:
| Use | When |
|---|---|
--read-only | Investigation, root-cause, "explain how X works," planning, anything where you want analysis without touching the tree. Safe to run unattended. |
--sandbox | You want it to try changes (run commands, scratch edits) but keep them contained from your real working tree. |
| write-capable (default) | You actually want the fix/feature applied to the repo, and you'll review the diff after. |
review is already read-only and sandboxed — it never edits, it just reports on the diff.
If you're unsure whether a task should write, start --read-only to get the plan, then re-run write-capable (or resume the conversation) to apply it.
agy exits cleanly with empty output; the companion surfaces RESOURCE_EXHAUSTED (429) ... Resets in <dur>. If you see that, wait for the reset — re-prompting won't help.npx claudepluginhub dpa-plus/antigravity-plugin-cc --plugin antigravityCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.