invoking-antigravity

invoking-antigravity is a skill for Claude Code, Codex from oaustegard/claude-skills. It costs 62 tokens per session (675 once invoked), scanned C, original, MIT.

Instructions for installing and running Google’s Antigravity command-line tool as a non-interactive helper agent. It covers authentication and passing tasks to that tool from scripts or sandboxes.

In plain words
What is it for?
Setting up Antigravity, authenticating it, launching it headlessly, and collecting its output in another workflow.
Why use it?
It helps an agent delegate work to a separate Gemini-backed command-line agent when a second agent or automated run is useful.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Setting up Antigravity, authenticating it, launching it headlessly, and collecting its output in another workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaustegard/claude-skills/invoking-antigravity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oaustegard/claude-skills --skill invoking-antigravity
Clone the repo
git clone --depth 1 https://github.com/oaustegard/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for invoking-antigravity

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/invoking-antigravity/github.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/invoking-antigravity)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/invoking-antigravity"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/invoking-antigravity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for invoking-antigravity

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/invoking-antigravity"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/invoking-antigravity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00675
Opus 5 $0.00031 $0.00338
Sonnet 5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00068

Measured 12d ago against content hash dbfc6ddbbd50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

invoking-antigravity scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/agy_auth_broker.py, scripts/test_agy_auth_broker.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://antigravity.google/cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://antigravity.google/cli/install.sh | bash
invoking-antigravity/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Invoking Antigravity

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.

When to use

  • Orchestrating agy as a sub-agent: shell out, capture stdout, fold back.
  • Running Antigravity agents from a script, CI, or sandboxed container.
  • Wanting a second opinion from Google's harness alongside Claude.

For interactive local use, skip this — run agy directly and it opens a browser.

1. Install

curl -fsSL https://antigravity.google/cli/install.sh | bash

Idempotent, ~3 s, installs ~/.local/bin/agy.

2. Authenticate — once, human-in-the-loop

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.

3. Orchestrate

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.

Reuse auth on a fresh container

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.

Read the full file on GitHub · 71 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 71 lines · 62 tokens per session scan C dbfc6ddbbd50

Subscribe to this mod's changes

invoking-antigravity is a skill published in the GitHub repository oaustegard/claude-skills (148 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 675 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

superdesign

Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models. Use whenever the user wants to design a page, feature, flow, slide deck, or brand-new product; improve or reproduce existing UI; compare design results across top models; explore visual variants…

superdesigndev/superdesign-skill · 115 tokens

Linear

Managing Linear issues, projects, and teams. Use when working with Linear tasks, creating issues, updating status, querying projects, or managing team workflows.

wrsmith108/linear-claude-skill · 32 tokens

chanlun-engine-skill

A Chinese-language stock-analysis skill based on Chan theory, a method for interpreting price-chart structures such as turning points and trading ranges.

adsorgcn/chanlun-engine-skill · 128 tokens

youtube-summary

Summarize a YouTube video into structured notes — TL;DR, key takeaways, chapter-by-chapter breakdown, and reference links. Use when the user shares a YouTube URL (or invokes /youtube-summary ) and wants a summary, takeaways, transcript notes, or a write-up of a talk, lecture, or tutorial. Fetches the transcript and…

ParthGanatra/agent-skills · 137 tokens

plangate

Use for any non-trivial task with 2+ open decisions/tradeoffs OR multiple implementation steps — instead of deliberating one question at a time in chat, write a structured plan to a file and let the user review it inline in vim with > Q: / > A: blockquote markers, then revise until agreed before touching any code.…

ParthGanatra/agent-skills · 131 tokens

coinmarketcap

Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current…

Vo1ganin/crypto-claude-skills · 183 tokens