gemini-rescue

Hand off diffs or plans to Google Gemini for adversarial review via MCP tools.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill gemini-rescue
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gemini-rescue
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/gemini-rescue
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill gemini-rescue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hand off the current diff, plan, or problem to Google Gemini for an independent read, enabling an adversarial or alternative review when Claude is stuck.

Core Features & Use Cases

  • Two modes: Mode A — one-shot review with structured output; Mode B — agentic dispatch where Gemini can read files and propose patches.
  • Uses: adversarial review for high-sensitivity tasks (auth, migrations, infra), long-context audits (1M-context), cross-vendor validation to surface alternative strategies.
  • Prerequisites: requires a registered Gemini MCP server exposing gemini_ask and gemini_run tools to perform the analysis.

Quick Start

Provide a fresh Gemini review of the current diff or plan and generate actionable recommendations.

Frequently Asked Questions about gemini-rescue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a second opinion on a code diff from another AI model?▼

To get a second opinion on a code diff, this Skill hands off the current diff or plan to Google Gemini for an independent adversarial review. It surfaces alternative approaches and cross-vendor validation when Claude is stuck.

What is cross-vendor validation for high-sensitivity code changes?▼

Cross-vendor validation is the process of using a different AI vendor, like Gemini, to audit high-sensitivity changes such as auth or migrations. It provides an independent read to catch errors the primary model might miss.

How do I review long-context code or plans that exceed standard limits?▼

To review long-context code or plans, this Skill leverages Gemini's 1M-context window for comprehensive audits. It passes the extensive data to Gemini to perform an independent analysis that standard context windows cannot handle.

Do I need a Gemini MCP server to perform an independent code review?▼

Yes, you need a registered Gemini MCP server exposing the gemini_ask and gemini_run tools to perform the independent code review. This server acts as the bridge to dispatch the analysis and retrieve actionable recommendations.

Can Gemini propose code patches or just provide a one-shot review?▼

Gemini can do both: Mode A provides a one-shot review with structured output, while Mode B enables agentic dispatch where Gemini reads files and proposes actual patches. Choose the mode based on your review depth requirements.

When should I use an adversarial review approach for my code?▼

Use an adversarial review approach for high-sensitivity tasks, complex migrations, or when your primary model is stuck. It forces an independent alternative analysis to surface potential flaws and validate strategies across vendors.