No slash command · from agy
Internal runtime contract for invoking the Antigravity CLI (`agy`) from the `agy` subagent. Not user-invocable.
Ships in agy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 against agy models and runs agy --model <id> -p "<prompt>"
(the display name instead of the id when the list has no ids).
The user's default model in agy's settings is not touched.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). Each alias picks the
newest matching model from agy models at call time. Model names and ids
from that list are also accepted verbatim (e.g. "Gemini 3.8 Flash (High)").
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 — stop print mode after a time limit (by default
it waits until the turn completes).--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), agy
older than 1.2.0 when --model is used, or agy models unavailable when
an alias was requested.64 — bad CLI usage of the wrapper itself, a --model value that is
neither an alias nor listed by agy models, or an alias whose model
family agy models does not offer (e.g. pro on an account without a
Gemini Pro model).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub simplybychris/antigravity-plugin-cc --plugin agyOther plugins' skills for the same job