invoking-gemini
Invokes Google Gemini models for structured outputs, multi-modal tasks, and Google-specific features. Use when users request Gemini, structured JSON output, Google API integration, or cost-effective parallel processing.
npx skills add majiayu000/claude-skill-registry --skill invoking-gemini --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Invoking Gemini Delegate tasks to Google's Gemini models when they offer advantages over Claude. ## When to Use Gemini **Structured outputs:** - JSON Schema validation with property ordering guarantees - Pydantic model compliance - Strict schema adherence (enum values, required fields) **Cost optimization:** - Parallel batch processing (Gemini Flash is lightweight) - High-volume simple tasks - Budget-constrained operations **Google ecosystem:** - Integration with Google services - Vertex AI workflows - Google-specific APIs **Multi-modal tasks:** - Image analysis with JSON output - Video processing - Audio transcription with structure ## Available Models **gemini-2.0-flash-exp** (Recommended): - Fast, cost-effective - Native JSON Schema support - Good for structured outputs **gemini-1.5-pro**: - More capable reasoning - Better for complex tasks - Higher cost **gemini-1.5-flash**: - Balanced speed/quality - Good for most tasks See [references/models.md](references/models.md) for full model details. ## Setup **Prerequisites:** 1. Install google-generativeai: ```bash uv pip install google-generativeai pydantic ``` 2. Configure API key via project knowledge file: **Option 1 (recommend
- When to Use Gemini
- Available Models
- Setup
- Basic Usage
- Structured Output
- Parallel Invocation
- Error Handling
- Advanced Features
- Custom Generation Config
- Multi-modal Input
- Comparison: Gemini vs Claude
- Token Efficiency Pattern
- Limitations
- Examples
uv pip install google-generativeai pydantic
What does the invoking-gemini skill do?
Invokes Google Gemini models for structured outputs, multi-modal tasks, and Google-specific features. Use when users request Gemini, structured JSON output, Google API integration, or cost-effective parallel processing.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill invoking-gemini --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
