/dev-plugin:ask-geminifrom dev-plugin
Collaborate with Google Gemini for research, code review, feedback, validation, or second opinions
Ships in dev-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.
None: SKILL.md is the whole skill.
Collaborate with Google Gemini for research, code review, feedback, validation, or second opinions.
This skill enables model collaboration where Claude can delegate work to Gemini to get:
Use this skill when:
The user will invoke this with:
/ask-gemini "prompt" "context"
Or from a subagent:
Skill: ask-gemini
Args: prompt="Review this code" context="src/file.js"
Required:
prompt - The question or task for Gemini (what you want Gemini to do)Optional:
context - Files, code, or additional information for Gemini to consider
src/parser.js)specs/)Extract the prompt and context from user input:
If context includes file paths:
Read tool to read the filesGlob to find relevant filesCreate a rich prompt that includes:
Example Enhanced Prompt:
[User's Question]
Review this specification for completeness and edge cases.
[Context]
File: specs/001-code-wiki/spec.md
```markdown
[file contents here]
[Additional Context]
[Specific Focus] Please identify:
### Step 4: Call Gemini via CLI
Use the Gemini CLI directly via Bash tool:
```bash
# Create a temporary file with the enhanced prompt
echo "[enhanced prompt with context]" > /tmp/gemini-prompt.txt
# Call Gemini CLI
gemini --model gemini-3-pro-preview < /tmp/gemini-prompt.txt
# Or with streaming:
gemini --model gemini-3-pro-preview --stream < /tmp/gemini-prompt.txt
Alternative: Direct pipe
echo "[enhanced prompt]" | gemini --model gemini-3-pro-preview
Model Selection:
gemini-3-pro-preview (most capable, deep reasoning)gemini-2.5-flash (ultra-fast)gemini-3-pro-previewgemini-2.0-flash (audio/video support)CLI Flags:
--model - Specify Gemini model--stream - Stream response (optional)--temperature - Control randomness (0-1)--json - Output JSON format (if needed)Format output as:
## Gemini's Analysis
[Gemini's response, formatted nicely]
---
## Summary (if response is long)
**Key Points:**
- [bullet point 1]
- [bullet point 2]
- [bullet point 3]
**Recommendations:**
- [action item 1]
- [action item 2]
---
## Next Steps
Would you like me to:
1. [Specific action based on Gemini's feedback]
2. [Another specific action]
3. Ask Gemini a follow-up question
Based on Gemini's response, offer to:
Input:
/ask-gemini "Review for bugs and security issues" src/parser.js
What Claude Does:
src/parser.jsInput:
/ask-gemini "Identify missing requirements and edge cases" specs/spec.md
What Claude Does:
specs/spec.mdInput:
/ask-gemini "Compare REST vs GraphQL for our documentation API"
What Claude Does:
Input:
/ask-gemini "Validate this research and suggest additional sources" research-notes.md
What Claude Does:
For follow-up questions, Claude can maintain context by:
User: /ask-gemini "What about performance?"
Claude: [Includes previous Q&A context in new prompt to Gemini]
/ask-gemini "Compare these implementations" src/v1.js src/v2.js
/ask-gemini "Review architecture patterns" src/
If Gemini CLI fails:
which gemini or gemini --version)GOOGLE_API_KEY or GEMINI_API_KEY)gemini-3-pro-previewSkill toolAlways return structured output:
Remember: This skill enables model collaboration for better outcomes. Use it when a second perspective adds value!
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rsolipuram/claude-code-plugins --plugin dev-plugin6 skills in this plugin
/ask-opencodeUse this skill when you need to delegate work to other AI models via OpenCode, get feedback from multiple models, or orchestrate collaborative multi-agent workflows. Claude Code stays in control and decides what to ask, which models to use, and how to use their responses./claude-md-managerIntelligently manages CLAUDE.md - creates if missing, validates on start, updates with learnings on stop. Context-aware and follows official Anthropic guidelines./find-skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill./vercel-react-best-practicesReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements./web-design-guidelinesReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".Other plugins' skills for the same job