setup

A setup check for the Antigravity command-line tool and its login status.

In plain words
What is it for?
Use it before running Antigravity commands to verify installation, complete OAuth login, or configure an API key.
Why use it?
It tells you whether the tool is installed and authenticated, and explains how to install or sign in when something is missing.

Command

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.

agentmods
npx agentmods add commands/limeflash/antigravity-plugin-cc/setup
Clone the repo
git clone --depth 1 https://github.com/limeflash/antigravity-plugin-cc
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 281 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00020 $0.00281
Opus 5 $0.00010 $0.00140
Sonnet 5 $0.00004 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured yesterday against content hash df97f14f28fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

setup 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 yesterday.

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.

allowed-tools: Bash(bash:*), Bash(curl:*), AskUserQuestion
Origin

This is a copy

100% identical to setup — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agy/commands/setup.md · 31 lines

What it actually says

Run:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh" check

Then interpret the JSON output:

  • If installed: false, use AskUserQuestion once to offer installation. Options:

    • Install agy now (Recommended) — run the official installer:
      curl -fsSL https://antigravity.google/cli/install.sh | bash
      
      Then re-run the check.
    • Skip for now — explain that /antigravity:ask, /antigravity:delegate, and /antigravity:review will fail until agy is installed.
  • If installed: true but auth: missing, tell the user to either:

    • run !agy once interactively to complete OAuth (cached in the system keyring), or
    • export ANTIGRAVITY_API_KEY in their shell rc and reload it.
  • If installed: true and auth is api-key or oauth, report that everything is ready — one short status line is enough.

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. yesterday First seen · 31 lines · 20 tokens per session scan C df97f14f28fc

Subscribe to this mod's changes

setup is a command published in the GitHub repository limeflash/antigravity-plugin-cc (2 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 281 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 100% identical to setup, differing in 0 lines, and is treated as a copy.