/copilot:rescue [--background|--wait] [--resume|--fresh] [--model <id>] [--effort <level>] [what Copilot should investigate, solve, or continue]from copilot
Delegate investigation, an explicit fix request, or follow-up rescue work to the Copilot rescue subagent
Ships in copilot. Installing the plugin adds it to Claude Code.
Invoke the copilot:copilot-rescue subagent via the Agent tool (subagent_type: "copilot:copilot-rescue"), forwarding the raw user request as the prompt.
copilot:copilot-rescue is a subagent, not a skill — do not call Skill(copilot:copilot-rescue) or Skill(copilot:rescue) (that re-enters this command and hangs the session). The command runs inline so the Agent tool stays in scope.
The final user-visible response must be Copilot's output verbatim.
Raw user request: $ARGUMENTS
Execution mode:
--background, run the subagent in the background.--wait, run the subagent in the foreground.--background and --wait are execution flags for Claude Code. Do not forward them to task, and do not treat them as part of the natural-language task text.--model and --effort are runtime-selection flags. Preserve them for the forwarded task call, but do not treat them as part of the task text.--resume or --fresh, do not ask. The user already chose.node "${CLAUDE_PLUGIN_ROOT}/scripts/copilot-companion.mjs" task-resume-candidate --json
available: true, use AskUserQuestion exactly once to ask whether to continue the current Copilot session or start a new one.Continue current Copilot sessionStart a new Copilot sessionContinue current Copilot session (Recommended) first.Start a new Copilot session (Recommended) first.--resume before routing to the subagent.--fresh before routing to the subagent.available: false, do not ask. Route normally.Cost guard (background runs only):
node "${CLAUDE_PLUGIN_ROOT}/scripts/copilot-companion.mjs" cost-check --role task --json
--model <id>, forward the same --model <id> to cost-check above so the guard checks the model the run will actually use, not the configured default.label to the user on the launch line, for example model claude-sonnet-4.6 (9x premium).exceeds is false, launch without asking.exceeds is true, use AskUserQuestion exactly once with four options in this order:
Run in background — describe it as "proceed at "Switch to <cheapest> — describe it as "rerun at "Choose another model — describe it as "see all models and pick one"CancelChoose another model, run the model table and let them pick from the whole roster rather than just the cheapest:node "${CLAUDE_PLUGIN_ROOT}/scripts/copilot-companion.mjs" models
Show that table exactly as returned — it is numbered, sorted cheapest first, and complete. Do not use a second AskUserQuestion for the models themselves: it caps at four options and the roster is larger than that. Stop and let the user answer with a number or a model id.
cost-check with that id and launch with the model value it returns:node "${CLAUDE_PLUGIN_ROOT}/scripts/copilot-companion.mjs" cost-check --role task --model <id from the chosen row> --json
Never forward a row number to the launch command, and if the invocation you were given already contained --model <number>, replace it with the model id the guard returned. The guard and the run are separate processes: anything that refreshes the shared model catalog between them re-numbers the rows, so the same number can price one model and run another. Passing the id the guard actually priced makes that impossible.
costUnknown is true, exceeds is true because the cost could not be established, not because a
known multiplier is high. Say so plainly ("the multiplier for could not be read from
models.list") rather than quoting a figure, and omit the Switch to <cheapest> option when
cheapest is null.--model <cheapest> before routing to the subagent.Operating rules:
Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/copilot-companion.mjs" task ... and return that command's stdout as-is./copilot:status, fetch /copilot:result, call /copilot:cancel, summarize output, or do follow-up work of its own.--model and --effort unset unless the user explicitly asks. The plugin resolves both.--resume and --fresh in the forwarded request. The subagent handles that routing when it builds the task command./copilot:setup.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
8 commands in this plugin
/adversarial-reviewAdversarial ReviewRun a Copilot review that challenges the implementation approach and design choices/cancelCancel an active background Copilot job in this repository/resultShow the stored final output for a finished Copilot job in this repository/reviewRun a Copilot code review against local git state/setupCheck whether the local Copilot CLI is ready, choose models, and manage the review gate/statusShow active and recent Copilot jobs for this repository, including premium-request usagenpx claudepluginhub hopchouinard/copilot-cli-plugin --plugin copilotOther plugins' commands for the same job