Gemini API skills
A library of skills for the Gemini API, SDK and model interactions.
About
LLMs have fixed knowledge, being trained at a specific point in time. Software
dev is fast paced and changes often, where new libraries are launched every day
and best practices evolve quickly.
This leaves a knowledge gap that language models can't solve on their own. For
example, models don't know about themselves when they're trained, and they
aren't necessarily aware of subtle changes in best practices (like thought
circulation) or SDK
changes.
Skills are a lightweight technique for adding
relevant context to your agents. This repo contains skills related to building
apps powered by the Gemini API.
Performance
Our evaluations found that adding this skill improved an agent's ability to
generate correct API code following best practices to 87% with Gemini 3 Flash
and 96% with Gemini 3.1 Pro. For more details, see our blog post:
Closing the knowledge gap with agent skills.
Skills in this repo
[!IMPORTANT]
The vertex-ai-api-dev skill has moved to
skills/cloud/gemini-api.
| Skill | Description |
|---|
gemini-api-dev | Skill for developing Gemini-powered apps. Provides the best practices for building apps that use the Gemini API. |
gemini-live-api-dev | Skill for building real-time, bidirectional streaming apps with the Gemini Live API. Covers WebSocket-based audio/video/text streaming, voice activity detection, native audio features, function calling, and session management. |
gemini-interactions-api | Skill for building apps with the Gemini Interactions API. Covers text generation, multi-turn chat, streaming, function calling, structured output, image generation, Deep Research agents, deprecated model guardrails, and both Python and TypeScript SDKs. |
gemini-omni-flash-api | Specialized generative AI video skill focused on video editing, image-referenced generation, and first-frame-to-video capabilities using the Interactions API. |
Installation
You can browse and install skills using either the Vercel skills CLI or the Context7 skills CLI.
# Interactively browse and install skills.
npx skills add google-gemini/gemini-skills --list
# Install a specific skill (e.g., gemini-interactions-api).
npx skills add google-gemini/gemini-skills --skill gemini-interactions-api
# Interactively browse and install skills.
npx ctx7 skills install /google-gemini/gemini-skills
# Install a specific skill (e.g., gemini-interactions-api).
npx ctx7 skills install /google-gemini/gemini-skills gemini-interactions-api
More info
You can find additional information about setting up your coding assistant with
Gemini API MCP and Skills in the docs.
Disclaimer
This is not an officially supported Google product. This project is not
eligible for the Google Open Source Software Vulnerability Rewards
Program.