gemini-api-integration
Use when integrating Google Gemini API into projects. Covers model selection, multimodal inputs, streaming, function calling, and production best practices.
npx skills add majiayu000/claude-skill-registry --skill gemini-api-integration --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.
# Gemini API Integration ## Overview This skill guides AI agents through integrating Google Gemini API into applications — from basic text generation to advanced multimodal, function calling, and streaming use cases. It covers the full Gemini SDK lifecycle with production-grade patterns. ## When to Use This Skill - Use when setting up Gemini API for the first time in a Node.js, Python, or browser project - Use when implementing multimodal inputs (text + image/audio/video) - Use when adding streaming responses to improve perceived latency - Use when implementing function calling / tool use with Gemini - Use when optimizing model selection (Flash vs Pro vs Ultra) for cost and performance - Use when debugging Gemini API errors, rate limits, or quota issues ## Step-by-Step Guide ### 1. Installation & Setup **Node.js / TypeScript:** ```bash npm install @google/generative-ai ``` **Python:** ```bash pip install google-generativeai ``` Set your API key securely: ```bash export GEMINI_API_KEY="your-api-key-here" ``` ### 2. Basic Text Generation **Node.js:** ```javascript import { GoogleGenerativeAI } from "@google/generative-ai"; const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_K
- Overview
- When to Use This Skill
- Step-by-Step Guide
- 1. Installation & Setup
- 2. Basic Text Generation
- 3. Streaming Responses
- 4. Multimodal Input (Text + Image)
- 5. Function Calling / Tool Use
- 6. Multi-turn Chat
- 7. Model Selection Guide
- Best Practices
- Error Handling
- Troubleshooting
npm install @google/generative-ai pip install google-generativeai export GEMINI_API_KEY="your-api-key-here"
What does the gemini-api-integration skill do?
Use when integrating Google Gemini API into projects. Covers model selection, multimodal inputs, streaming, function calling, and production best practices.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-api-integration --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.
