agy
Delegate a prompt to the Antigravity (agy) CLI agent
Check for a newer git-clone version of this plugin and pull it after confirmation
> /plugin marketplace add Vit129/agy-plugin-cc > /plugin install agy@agy-plugin-cc
How it fires
How this command gets triggered: by you, by Claude, or both.
/agy-updateContext preview
What this command does when you run it.
Check for a newer git-clone version of this plugin and pull it after confirmation
description: Check for a newer git-clone version of this plugin and pull it after confirmation allowed-tools: Bash, AskUserQuestion
This plugin is installed via `git clone`, not npm. Check `version.json` on the `main` branch of `Vit129/agy-plugin-cc` on GitHub against the `CURRENT_VERSION` constant in `plugins/agy/scripts/lib/git-update-check.mjs`, and pull only with explicit confirmation.
Steps:
1. Find the git checkout root and confirm it is clean:
cd "${CLAUDE_PLUGIN_ROOT}/../.." 2>/dev/null || true
git rev-parse --show-toplevel
git status --short --untracked-files=normalIf the working tree is not clean (the status command prints anything), stop and tell the user there are uncommitted changes — they must commit/stash and re-run this command themselves. Do not offer to pull.
2. Fetch the remote version file:
curl -fsSL --max-time 3 https://raw.githubusercontent.com/Vit129/agy-plugin-cc/main/version.json
If this fails (offline/blocked/timeout), tell the user the version check failed and why, and stop.
3. Read `CURRENT_VERSION` from `plugins/agy/scripts/lib/git-update-check.mjs` and compare to the fetched `version` field.
4. If the user chooses "Pull now", run `git pull origin main` in the checkout root and report the result verbatim (success, or the conflict/error output so the user can resolve it themselves).
5. If the user chooses "Not now" (or the question is answered in a non-interactive context with no reply), do not pull. Instead remember the dismissal so the session-start hook stops repeating this notice until a newer version ships:
mkdir -p "$HOME/.config/agy-plugin-cc" printf '%s\n' "<remote version number>" > "$HOME/.config/agy-plugin-cc/update-dismissed"
A Claude Code plugin that integrates Google's Antigravity (agy) CLI and Antigravity IDE developer tools into Claude Code.
Repo: Vit129/agy-plugin-cc
Delegate a prompt to the Antigravity (agy) CLI agent
Delegate investigation, an explicit fix request, or follow-up rescue work to the agy (Antigravity) agent
Check whether the Antigravity (agy) CLI is installed and ready
Run an agy adversarial review that challenges the implementation approach and design choices
Cancel an active background agy job in this repository
Verify agy plugin wiring, local agy CLI availability, auth, and models