Skip to content
Development
Command

/agy-uninstall

Print the plugin's install path and the command to remove agy-delegate's launcher wrappers (agy-bridge + gemini shim)

From plugin
agy-delegate
205 skills2 agents5 commands1 hook
> /plugin marketplace add davdittrich/delegate-agy
> /plugin install agy-delegate@agy-delegate

Command definition

agy-uninstall.md
command: agy-uninstall
description: Print the plugin's install path and the command to remove agy-delegate's launcher wrappers (agy-bridge + gemini shim)
version: 1.6.3
category: ai-delegation
tags: [agy, uninstall, cleanup]

agy-delegate ships a self-contained uninstaller that YOU run in your own terminal (`scripts/uninstall.sh`). This command does NOT run it for you — it prints two commands to copy-paste: one to find the plugin's install path so you can read it yourself, and one to run the uninstaller against that path.

The uninstaller reverses `scripts/install.sh`: it removes **only** our signature-marked wrappers `~/.local/bin/agy-bridge` and `~/.local/bin/gemini` (restoring any original binary that was shadowed and backed up at install time), and removes the availability hint. It is idempotent and refuses to run as root.

If you previously registered `tokensave` as an agy MCP server via the now-retired opt-in, remove that entry by hand from `~/.gemini/antigravity-cli/mcp_config.json` — this uninstaller no longer manages it.

Uninstall (copy-paste this)

Find the plugin's install path, then run its uninstaller. Both steps print a path you can read before anything executes:

AGY_PATH="$(grep -A6 '"agy-delegate@' ~/.claude/plugins/installed_plugins.json \
  | sed -n 's/.*"installPath"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' | head -1)"
echo "$AGY_PATH"

That prints something like `/home/you/.claude/plugins/cache/agy-delegate/agy-delegate/1.6.3`. Check it looks right, then run:

bash "$AGY_PATH/scripts/uninstall.sh"

If the registry file is missing (older Claude Code, or a non-standard config dir), fall back to resolving it through the CLI — this form validates the resolved string before executing it, because it comes from command output rather than your own eyes:

RESOLVED="$(claude plugin list --json 2>/dev/null \
  | python3 -c 'import sys,json
try:
    d = json.load(sys.stdin)
except Exception:
    d = []
print(next((x.get("installPath","") for x in d if x.get("id","").startswith("agy-delegate@")), ""))')/scripts/uninstall.sh"; \
case "$RESOLVED" in \
  */agy-delegate/*/scripts/uninstall.sh) [[ -f "$RESOLVED" ]] \
    && echo "Resolved: $RESOLVED" \
    || echo "ERROR: resolved uninstaller '$RESOLVED' is not a regular file — is agy-delegate installed?" >&2 ;; \
  *) echo "ERROR: refusing to run '$RESOLVED' — does not match */agy-delegate/*/scripts/uninstall.sh" >&2 ;; \
esac

Check the printed `Resolved: ...` path looks right, then run:

bash "$RESOLVED"
Read more
@davdittrich
Ships withagy-delegate

Claude Code plugin that bridges to agy (Google Antigravity CLI) — adds Gemini, GPT-OSS, and grounded web search to Claude sessions

202 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
20
Star history of davdittrich/delegate-agy on GitHub, a chart by star-history.com

Other commands on agy-delegate.

agy-review

agy-review

Command

Adversarial critique via agy using Gemini Pro — independent second opinion on code, plans, or arguments

agy-search

agy-search

Command

Web search via agy (Google Antigravity CLI) — agy grounded web search with source citations (for general search prefer the…

agy-setup

agy-setup

Command

Print the plugin's install path and the command to install agy-delegate's launcher wrappers (agy-bridge + gemini shim)

agy

agy

Command

Delegate any task to agy (Google Antigravity CLI) — auto-selects model by task type

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command