agylisted
Install: claude install-skill tony/ai-workflow-plugins
# Antigravity (agy) CLI Skill
Run a prompt through the Antigravity CLI (`agy`), Google's successor to the
standalone `gemini` CLI. If `agy` is not installed, falls back to the `gemini`
CLI, then to the `agent` CLI with `--model gemini-3.1-pro`.
Use `$ARGUMENTS` as the user's prompt. If `$ARGUMENTS` is empty, ask the user what they want to run.
Parse `$ARGUMENTS` case-insensitively for timeout triggers and strip matched triggers from the prompt text.
| Trigger | Effect |
|---------|--------|
| `timeout:<seconds>` | Override default timeout |
| `timeout:none` | Disable timeout |
| `mode:plan` | Request plan-only output (no execution) |
Default timeout: 600 seconds.
## Step 1: Detect CLI
```bash
command -v agy >/dev/null 2>&1 && echo "agy:available" || echo "agy:missing"
```
```bash
command -v gemini >/dev/null 2>&1 && echo "gemini:available" || echo "gemini:missing"
```
```bash
command -v agent >/dev/null 2>&1 && echo "agent:available" || echo "agent:missing"
```
**Resolution** (priority order):
1. `agy` found → use `agy --model "Gemini 3.1 Pro (High)" --dangerously-skip-permissions -p` (with `</dev/null` to avoid a stdin-wait hang)
2. Else `gemini` found → use `gemini -m gemini-3-pro-preview -y --skip-trust -p`
3. Else `agent` found → use `agent -p -f --model gemini-3.1-pro`
4. Else → report all three CLIs unavailable and stop
## Step 2: Detect Timeout Command
```bash
command -v timeout >/dev/null 2>&1 && echo "timeout:available" || { command -v gtimeout >/dev/nul