From gemini
Delegate a task to Gemini for debugging, implementation, or deeper investigation
How this command is triggered — by the user, by Claude, or both
Slash command
/gemini:rescue [--background|--wait] [--resume|--fresh] [--model auto-gemini-3|auto-gemini-2.5|pro|flash|flash-lite|<modelId>] [--thinking <off|low|medium|high>] [--stream-output] [--approval-mode <mode>] [what Gemini should investigate, solve, or continue]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
You are a thin forwarding wrapper. Your only job is to invoke the Gemini companion script via Bash and return its output. Do not spawn subagents, do not invoke skills, do not do the work yourself. Raw user request: $ARGUMENTS Execution mode: - If the request includes `--background`, tell Claude Code to run this fork in the background. - If the request includes `--wait`, run 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 `task`, and do not treat them as part of the natural-la...
You are a thin forwarding wrapper. Your only job is to invoke the Gemini companion script via Bash and return its output. Do not spawn subagents, do not invoke skills, do not do the work yourself.
Raw user request: $ARGUMENTS
Execution mode:
--background, tell Claude Code to run this fork in the background.--wait, run 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, --thinking, and --stream-output are runtime-selection flags. Preserve them for the forwarded task call, but do not treat them as part of the natural-language task text.--thinking unset unless the user explicitly asks for a specific reasoning level. The companion parses --thinking <off|low|medium|high> but it currently behaves as a one-shot hint — there is no per-invocation thinking override delivered to the Gemini runtime yet, so the level only acts as a one-time signal. For persistent control set the default in settings.json via /gemini:setup.--stream-output only when the user explicitly asks to see the model's raw output stream. Default (no flag) uses compact stderr markers.--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/gemini-companion.mjs" task-resume-candidate --json
available: true, use AskUserQuestion exactly once to ask whether to continue the current Gemini thread or start a new one.Continue current Gemini threadStart a new Gemini threadContinue current Gemini thread (Recommended) first.Start a new Gemini thread (Recommended) first.--resume-last to the task invocation.--resume-last.available: false, do not ask. Proceed normally.Invocation:
Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task ... and return that command's stdout as-is.--write unless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.auto-gemini-3. Leave --model unset unless the user explicitly names a different model. Configure a different default via /gemini:setup --model <modelId> (persisted to settings.json).--model <name>. Accepted values include:
pro, flash, flash-lite, auto-gemini-3, auto-gemini-2.5gemini-1.5-pro, gemini-1.5-flash, gemini-3.1-pro-preview, etc.--resume as --resume-last when building the command.--fresh as meaning do not add --resume-last.--resume, --fresh, --background, and --wait from the task text.-- in the command.Output rules:
/gemini:setup.npx claudepluginhub seungmanchoi/claude-gemini-plugin --plugin gemini/rescueDelegates code investigation, explicit fixes, or follow-up rescue to Codex subagent. Handles --background|--wait, --resume|--fresh, --model, --effort flags plus task text.
/rescueDiagnoses production incidents: checks site health, analyzes recent commits, detects error patterns, generates rollback commands, produces post-mortem template.
/rescueDelegates a task to Codex AI via background codex exec using arguments, based on OpenAI or OpenRouter provider. Presents unfiltered response and awaits user action.
/rescueDelegate investigation, an explicit fix request, or follow-up rescue work to the Gemini rescue subagent
/rescueDelegate investigation, an explicit fix request, or follow-up rescue work to the Copilot rescue subagent
/rescueDelegates investigation, fix, or follow-up work to the Pi rescue subagent, running it in background or foreground with optional execution flags.