Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Gemini Api?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-gemini-api)
---
name: gemini-api
description: "Build on Google Gemini (AI Studio / Vertex AI): multimodal inputs, function calling, structured output, context caching and grounding."
tags: [ai-agents]
---
# Gemini Api
## When to use
- Features using Gemini models
## Procedure
1. Use the Google GenAI SDK
2. Choose AI Studio for prototypes, Vertex for production/IAM
3. Use responseSchema for structured output
4. Use context caching for large repeated context
5. Handle safety blocks explicitly
## Checklist
- [ ] Safety-block handling
- [ ] Region and data residency checked
## Anti-patterns
- Ignoring finishReason SAFETY