/pi:rescue [--background|--wait] [--resume|--fresh] [--model <model>] [--thinking <off|minimal|low|medium|high>] [what Pi should investigate, solve, or continue]from pi
Delegate investigation, an explicit fix request, or follow-up rescue work to the Pi rescue subagent
Ships in pi. Installing the plugin adds it to Claude Code.
Invoke the pi:pi-rescue subagent via the Agent tool (subagent_type: "pi:pi-rescue"), forwarding the raw user request as the prompt.
pi:pi-rescue is a subagent, not a skill — do not call Skill(pi:pi-rescue) (no such skill) or Skill(pi:rescue) (that re-enters this command and hangs the session). The command runs inline so the Agent tool stays in scope; forked general-purpose subagents do not expose it.
The final user-visible response must be Pi's output verbatim.
Raw user request: $ARGUMENTS
Execution mode:
--background, run the pi:pi-rescue subagent in the background.--wait, run the pi:pi-rescue 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 --thinking are runtime-selection flags. Preserve them for the forwarded task call, but do not treat them as part of the natural-language task text.--resume, do not ask whether to continue. The user already chose.--fresh, do not ask whether to continue. The user already chose.node "${CLAUDE_PLUGIN_ROOT}/scripts/pi-companion.mjs" task-resume-candidate --json
available: true, use AskUserQuestion exactly once to ask whether to continue the current Pi session or start a new one.Continue current Pi sessionStart a new Pi sessionContinue current Pi session (Recommended) first.Start a new Pi session (Recommended) first.--resume before routing to the subagent.--fresh before routing to the subagent.available: false, do not ask. Route normally.Operating rules:
Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/pi-companion.mjs" task ... and return that command's stdout as-is./pi:status, fetch /pi:result, call /pi:cancel, summarize output, or do follow-up work of its own.--thinking unset unless the user explicitly asks for a specific thinking level.openai/gpt-4o or sonnet.--resume and --fresh in the forwarded request. The subagent handles that routing when it builds the task command./pi:setup.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
9 commands in this plugin
/adversarial-reviewAdversarial ReviewRun a Pi review that challenges the implementation approach and design choices/cancelCancel an active background Pi job in this repository/resultShow the stored final output for a finished Pi job in this repository/reviewRun a Pi code review against local git state/setupCheck whether the local Pi CLI is ready and optionally toggle the stop-time review gate/statusShow active and recent Pi jobs for this repository, including review-gate statusnpx claudepluginhub 5kahoisaac/pi-plugin-cc --plugin piOther plugins' commands for the same job