Skip to content
Development
Command

/rescue

Delegate investigation, an explicit fix request, or follow-up rescue work to the agy (Antigravity) agent

From plugin
agy
611 skills1 agent11 commands
> /plugin marketplace add Vit129/agy-plugin-cc
> /plugin install agy@agy-plugin-cc

Command definition

rescue.md
description: Delegate investigation, an explicit fix request, or follow-up rescue work to the agy (Antigravity) agent
argument-hint: "[--background|--wait] [--continue|--fresh] [--sandbox] [--model <model>] [--effort <low|medium|high>] [what agy should investigate, solve, or continue]"
allowed-tools: Bash, AskUserQuestion, Agent

Invoke the `agy:agy-rescue` subagent via the `Agent` tool (`subagent_type: "agy:agy-rescue"`), forwarding the raw user request as the prompt. `agy:agy-rescue` is a subagent, not a skill — do not call `Skill(agy:agy-rescue)`. The command runs inline so the `Agent` tool stays in scope. The final user-visible response must be agy's output verbatim.

Raw user request: $ARGUMENTS

Execution mode:

  • If the request includes `--background`, run the `agy:agy-rescue` subagent in the background.
  • If the request includes `--wait`, run it in the foreground.
  • If neither flag is present, default to foreground.
  • `--background` and `--wait` are execution flags for Claude Code. Do not forward them to the task text.
  • `--sandbox`, `--model`, and `--effort` are runtime flags. Preserve them for the forwarded call but do not treat them as part of the natural-language task text.
  • If the request includes `--continue`, do not ask whether to continue. The user already chose.
  • If the request includes `--fresh`, do not ask whether to continue. The user already chose.
  • Otherwise, before starting agy, check for a resumable session by running:
node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" task-resume-candidate --json
  • If that helper reports `available: true`, use `AskUserQuestion` exactly once to ask whether to continue the current agy conversation or start a new one.
  • The two choices must be:
  • `Continue current agy conversation`
  • `Start a new agy conversation`
  • If the user is clearly giving a follow-up instruction such as "continue", "keep going", "resume", "apply the top fix", or "dig deeper", put `Continue current agy conversation (Recommended)` first.
  • Otherwise put `Start a new agy conversation (Recommended)` first.
  • If the user chooses continue, add `--continue` before routing to the subagent.
  • If the user chooses a new conversation, add `--fresh` before routing to the subagent.
  • If the helper reports `available: false`, do not ask. Route normally.

Operating rules:

  • The subagent is a thin forwarder only. It uses one `Bash` call to invoke `node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" task ...` and returns that stdout as-is.
  • Return the agy output verbatim to the user.
  • Do not paraphrase, summarize, rewrite, or add commentary before or after it.
  • If the helper reports that agy is missing or unauthenticated, stop and tell the user to run `/cc-agy-plugin:setup`.
  • If the user did not supply a request, ask what agy should investigate or fix.
Read more
@vit129
Ships withagy

Unofficial community project. Not affiliated with, sponsored or endorsed by Google. "Antigravity" and "Google" are trademarks of Google LLC.

64 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6
Star history of Vit129/agy-plugin-cc on GitHub, a chart by star-history.com

Other commands on agy.

agy-update

agy-update

Command

Check for a newer git-clone version of this plugin and pull it after confirmation

@vit129@vit129Install Command
agy

agy

Command

Delegate a prompt to the Antigravity (agy) CLI agent

@vit129@vit129Install Command
setup

setup

Command

Check whether the Antigravity (agy) CLI is installed and ready

@vit129@vit129Install Command
adversarial-review

adversarial-review

Command

Run an agy adversarial review that challenges the implementation approach and design choices

@vit129@vit129Install Command
cancel

cancel

Command

Cancel an active background agy job in this repository

@vit129@vit129Install Command
doctor

doctor

Command

Verify agy plugin wiring, local agy CLI availability, auth, and models

@vit129@vit129Install Command

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