From agy
Internal runtime contract for invoking the Antigravity CLI (`agy`) from the `agy` subagent. Not user-invocable.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agy:antigravity-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside the `agy` subagent.
Use this skill only inside the agy subagent.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh" ask [--model <alias>] "<prompt>" [agy-flags...]
The wrapper:
agy in PATH, ~/.local/bin, /opt/antigravity/bin, or
/usr/local/bin.ANTIGRAVITY_API_KEY).agy -p "<prompt>" non-interactively.--model <alias> is supplied before the prompt, resolves the
alias and applies it for the duration of the call (atomic patch of
~/.gemini/antigravity-cli/settings.json under a lockfile, restored on
exit).agy — so
… ask "<prompt>" --sandbox becomes agy -p "<prompt>" --sandbox.One wrapper call per task. The subagent is a forwarder, not an orchestrator —
keep the user's task text intact and let agy do the work.
Strip flags that belong to the parent slash command (--background) before
forwarding. Pass --model <alias> to the wrapper (not to agy directly).
Pass agy-native flags through after the prompt argument.
flash-low, flash-medium (flash-med), flash (flash-high),
pro-low, pro (pro-high), sonnet (claude-sonnet),
opus (claude-opus), gpt-oss (gpt-oss-120b). Canonical TUI strings
are also accepted verbatim (e.g. "Claude Opus 4.6 (Thinking)").
Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh" help for the
authoritative list.
Run agy --help for the full list. Useful ones that go after the
prompt argument:
--sandbox — extra-restrictive execution; only when the user asked for it.--print-timeout 10m — extend the default 5min print timeout.--add-dir <path> — add a directory to the workspace (repeatable).agy. That is /agy:setup's job.agy's output.git, or make HTTP calls outside the wrapper.If the wrapper exits non-zero, return its stderr verbatim. Standard exit codes:
127 — agy binary not found.1 — not authenticated, no diff found (review subcommand), or
settings.json missing/malformed (--model path).64 — bad CLI usage of the wrapper itself, or unknown --model alias.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub simplybychris/antigravity-plugin-cc --plugin agy