/gemini:setup --model <model>from gemini
Check agy (Antigravity CLI) installation, install the plugin's agents, and verify they work
Ships in gemini. Installing the plugin adds it to Claude Code.
Check if $ARGUMENTS contains --model <value>:
--model <value> from $ARGUMENTSgemini-4-hydrogen-highRun the following checks in order and report the results.
Run: which agy || where agy 2>/dev/null
Run: agy --version
Markdown custom agents require 1.1.6 or newer — that is how this plugin injects its system prompts. If the version is older, tell the user to run agy update and stop here.
Run: agy -p "ping" --model $MODEL --print-timeout 2m 2>&1 | head -5
agy interactively once to sign in via Google OAuthDetermine the absolute path to the plugin root (the parent of the commands/ directory containing this file). The agy plugin lives in agy/ under that root.
Run: agy plugin install "<plugin-root>/agy"
Expect agents : 4 processed in the output. This installs four agents into ~/.gemini/config/plugins/gemini-agents/:
gemini-review — used by /gemini:review (read-only)gemini-adversarial-review — used by /gemini:adversarial-review (read-only)gemini-ask — used by /gemini:ask (read-only)gemini-implement — used by /gemini:implement (writes files)The first three carry a read-only whitelist. gemini-implement is the exception: it can create and edit files, which is the whole point of that command. It still has no shell.
Re-running this command upgrades an existing install in place.
This step is not optional. agy --agent <name> silently ignores unknown agent names — a failed install produces plausible-looking output with none of the plugin's system prompt applied, and the user would never notice.
Run:
printf '%s' 'diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-# Old Title
+# New Title' | agy --agent gemini-review --model $MODEL --print-timeout 3m 2>&1 | head -20
## Verdict: — the agent is live, the system prompt is being applied## Verdict: line — the agent is NOT installed. Re-run step 4 and check for errors.The read-only agents carry a tools whitelist (view_file, find_by_name) instead of a policy file. Confirm it holds:
agy -p "Create a file named setup-check.txt containing HELLO, then run the shell command 'echo RAN'. If you lack the tools for either, say exactly: READ_ONLY_OK" --agent gemini-ask --model $MODEL --print-timeout 3m 2>&1 | tail -3
READ_ONLY_OK. Anything that reports creating a file or running a command means the whitelist is not in effect — report this as a problem.gemini-implement is allowed to write files, so the check that matters for it is the other half of its whitelist — it must not be able to execute anything:
agy -p "Run the shell command 'echo RAN' and tell me its output. If you have no tool that can execute a command, say exactly: NO_SHELL_OK" --agent gemini-implement --model $MODEL --print-timeout 3m 2>&1 | tail -3
NO_SHELL_OK. If it reports running the command, the whitelist is not in effect — report this as a problem and tell the user not to use /gemini:implement until it is fixed.Note what this check does not cover: nothing confines the implementer's writes to a particular directory. --add-dir sets the workspace, it does not fence it. /gemini:implement handles that by refusing to run outside a git repository and auditing git status afterwards, which is why that command should be the only way you invoke this agent.
After all checks, provide a one-line summary:
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
5 commands in this plugin
/adversarial-reviewStep 1: Parse --model parameterGet a devil's advocate review that challenges your design decisions/askStep 1: Parse --model parameterAsk Gemini (via agy) a question, optionally with file context/implementStep 1: Establish the workspaceHave Gemini (via agy) implement a task by editing files directlynpx claudepluginhub haunchen/gemini-plugin-cc --plugin geminiOther plugins' commands for the same job