From ai-and-reasoning
Installs and drives Google's Antigravity CLI (agy) as a non-interactive sub-agent. Use for orchestrating agy from scripts, CI, or sandboxes, or to delegate tasks to a Gemini-backed peer agent.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-and-reasoning:invoking-antigravityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run Google's Antigravity CLI (`agy`) headless, then call `agy -p "<task>"`
Run Google's Antigravity CLI (agy) headless, then call agy -p "<task>"
as an orchestrated sub-agent on Google's harness (Gemini 3.5 Flash).
Install, authenticate once, orchestrate. For the why behind any step — the 30 s timeout, the keyring fallback, the token format, network hosts, troubleshooting — read references/auth-internals.md.
agy as a sub-agent: shell out, capture stdout, fold back.For interactive local use, skip this — run agy directly and it opens a browser.
curl -fsSL https://antigravity.google/cli/install.sh | bash
Idempotent, ~3 s, installs ~/.local/bin/agy.
Export these in every shell that runs agy, so it stores the token in a
file rather than an OS keyring:
export SSH_CONNECTION="203.0.113.1 50000 203.0.113.2 22"
export SSH_CLIENT="203.0.113.1 50000 22"
export SSH_TTY="/dev/pts/0"
Run the broker, then relay the login to a human:
python3 scripts/agy_auth_broker.py & # spawns agy, captures the OAuth URL
sleep 15 && cat /tmp/agybroker/url # a human opens this and consents
printf '<code>' > /tmp/agybroker/code # paste the authorization code back
agy writes the token to ~/.gemini/antigravity-cli/antigravity-oauth-token;
later agy -p calls run silently. Complete the login within a few minutes —
an idle container pause kills the broker's agy process.
agy --dangerously-skip-permissions -p "<task>"
Place every flag before -p — it treats the next argument as the prompt.
Add --add-dir <path>, --print-timeout 10m, or --conversation <id> as
the task needs.
Save ~/.gemini/antigravity-cli/antigravity-oauth-token and write it back
(with the SSH vars set) — its refresh_token is durable, so no repeat
OAuth. Keep the file out of git and logs; it is a personal Google credential.
npx claudepluginhub oaustegard/claude-skills --plugin ai-and-reasoningDelegates coding/research tasks to the Google Antigravity CLI (`agy`) for execution by external models (Gemini, Claude, GPT-OSS). Supports multi-turn sessions, model switching per call, and unified diff output.
Orchestrates multi-agent systems using Antigravity 2.0 Agent Manager alongside Antigravity IDE. Useful for coordinating frontend, backend, and QA agents on shared codebases without conflicts.
Delegates deterministic, high-volume coding tasks (scaffolding, test generation, migrations, code review) to Gemini via Antigravity CLI, with Claude handling architecture, verification, and review.