/gemini-plugin:gemini-claude-loopfrom gemini-plugin
Orchestrates a dual-AI engineering loop where Claude plans/implement and Gemini validates/reviews. Use for complex features, high-quality code, or large refactoring.
Ships in gemini-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Plan (Claude) → Validate (Gemini) → Implement (Claude) → Review (Gemini) → Fix → Re-validate → Done
| Role | Responsibility |
|---|---|
| Claude | Architecture, planning, code implementation (Edit/Write/Read) |
| Gemini | Validation, code review, quality assurance |
Non-TTY environment: See gemini-cli SKILL for CLI fundamentals. Key rule: Always use
gemini -p "prompt"(headless mode required)
mkdir -p .gemini-loop
Add .gemini-loop/ to your project's .gitignore to avoid committing session artifacts.
AskUserQuestion:
.gemini-loop/plan.mdAsk user for role mode, then execute with timeout: 600000:
gemini -m gemini-3-flash-preview -p "Review this plan: $(cat .gemini-loop/plan.md) ..."
Full prompts by role mode: See commands.md
Save result: > .gemini-loop/phase2_validation.md
If issues found:
AskUserQuestion: "Revise and re-validate, or proceed?".gemini-loop/implementation.mdExecute with timeout: 600000:
gemini -m gemini-3-flash-preview --include-directories ./src -p "Review: $(cat .gemini-loop/plan.md) $(cat .gemini-loop/implementation.md) ..."
Full prompts by role mode: See commands.md
Save result: > .gemini-loop/phase5_review.md
Claude response by severity:
.gemini-loop/phase5_review.md.gemini-loop/ directory for all context files.gemini-loop/iterations.md for traceability.gemini-loop/
├── plan.md # Implementation plan
├── phase2_validation.md # Plan validation result
├── implementation.md # Implementation summary
├── phase5_review.md # Code review result
└── iterations.md # Iteration history
Full error reference: See gemini-cli SKILL for Gemini CLI error details.
Error Recovery Flow:
AskUserQuestion-p flag is used (headless mode)gemini auth statusgemini-3-flash-previewAlways use timeout: 600000 (10 min) for all Gemini commands.
gemini -p in Claude Code environment (non-TTY, headless mode).gemini-loop/ directory at starttimeout: 600000)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub creator-hian/claude-code-plugins --plugin gemini-pluginOther plugins' skills for the same job