Install and sign in to Antigravity's agy so Gemini reviews work. Use for /gemini-reviewer:setup, or when a review says "Gemini skipped" because agy is missing, not signed in or failed (often a renamed model).
3 stars
0 votes
0 copies
0 views
Added December 2, 2026
ai-agentspythongoshellbashgit
Works with
claude code
terminal
cli
Security analysis
D42/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/roundpilot-setup)
---
name: setup
description: Install and sign in to Antigravity's agy so Gemini reviews work. Use for /gemini-reviewer:setup, or when a review says "Gemini skipped" because agy is missing, not signed in or failed (often a renamed model).
---
# Gemini Reviewer setup
Work through these steps in order. A failed check stops or loops as written; step 6 runs only when every check passed. Keep messages to the user short: a status, then the action.
Run every command below with the Bash tool. Commands marked **background** can take minutes: run them with `run_in_background: true` and continue when you're notified they finished.
## 1. Check
```
sh "${CLAUDE_PLUGIN_ROOT}/bin/gemini-py" "${CLAUDE_PLUGIN_ROOT}/scripts/gemini_setup.py" check
```
It prints one JSON object: `platform`, `git`, `agy` (a path or null), `signed_in`, `model` (the configured model), `model_ok`, `models` (the Gemini models the account can use).
If the output is not JSON, say "Python 3.10 isn't installed." and stop. On macOS add: "The Python Apple ships is 3.9; install a newer one with `brew install python` or from python.org."
## 2. git
`git` false: say "git isn't installed." and stop.
## 3. agy
`agy` null: say "agy isn't installed." Show the install command for the platform and run it (**background**); Claude Code's permission prompt is the user's approval.
- `windows`: `powershell -NoProfile -Command "irm https://antigravity.google/cli/install.ps1 | iex"`
- `linux` or `macos`: `curl -fsSL https://antigravity.google/cli/install.sh | bash`
If running it is blocked (auto mode refuses to pipe a downloaded script into a shell), don't look for another way: ask the user to run it themselves by typing the same command after `! ` in this session, and to tell you when it's done.
When it finishes, run step 1 again. Still null: say "Couldn't find agy after installing." and stop.
## 4. Sign-in
`signed_in` false: say, with the real path from the check, in the form for the platform:
- `windows`: "Not signed in. Open PowerShell and run `& "<agy path>"`, sign in with your Google account, then type `/exit`. Tell me when done."
- `linux` or `macos`: "Not signed in. Open a terminal and run `"<agy path>"`, sign in with your Google account, then type `/exit`. Tell me when done."
Signing in is interactive (a browser, and sometimes a code to paste), so it needs a real terminal: never run it yourself or as a background command, and don't suggest a `!` line for it. When the user replies, run step 1 again. (Signed out, `agy models` exits 1 with "Please sign in", which the check reports as `signed_in` false.)
## 5. Model
`model_ok` false:
- `models` empty: say "Your Google plan doesn't include a Gemini model agy can use." and stop.
- Otherwise say "Model `<model>` isn't available." and list `models`. Suggest the strongest-sounding one (usually the newest version's `-high`), and tell the user to set it in `~/.claude/settings.json`:
```json
{ "env": { "GEMINI_REVIEWER_MODEL": "<model id>" } }
```
Then start a new Claude Code session and run `/gemini-reviewer:setup` again. Stop.
## 6. Test review
Make a new empty temporary folder, then:
```
sh "${CLAUDE_PLUGIN_ROOT}/bin/gemini-py" "${CLAUDE_PLUGIN_ROOT}/scripts/gemini_setup.py" sample "<folder>"
```
It prints a range `<base>..<head>`. Run (**background**):
```
sh "${CLAUDE_PLUGIN_ROOT}/bin/gemini-py" "${CLAUDE_PLUGIN_ROOT}/scripts/gemini_review.py" --kind code --repo "<folder>" --range <base>..<head>
```
- Output starts with `Gemini review`: show its first finding, then say "Gemini is ready." Add: "The first review in each project asks to run a command. Choose always allow. Updating the plugin asks once more."
- Output starts with `Gemini skipped`: show that line and stop.