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 building apps with the Gemini API (Interactions API). Covers text generation, multi-turn chat, streaming, function calling, structured output, image generation, managed agents, Deep Research, deprecated model guardrails, and both Python and TypeScript SDKs. |
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-omni-flash-api | Specialized generative AI video skill focused on Gemini Omni 1.1 Flash (gemini-omni-1.1-flash), video editing, image and video referenced generation, first and last frame transitions, and video extensions using the Interactions API. |
Installation
You can install these skills across your preferred AI coding assistants and package managers:
# Interactively browse and install skills.
npx skills add google-gemini/gemini-skills --list
# Install a specific skill (e.g., gemini-api-dev).
npx skills add google-gemini/gemini-skills --skill gemini-api-dev
# Interactively browse and install skills.
npx ctx7 skills install /google-gemini/gemini-skills
# Install a specific skill (e.g., gemini-api-dev).
npx ctx7 skills install /google-gemini/gemini-skills gemini-api-dev
Antigravity
The Gemini skills come bundled with Antigravity, find them under
⚙️ → Customizations → Build with Google Plugins.
Or install through the AGY CLI:
# Install it directly
agy plugin install https://github.com/google-gemini/gemini-skills
Claude Code
# Register the marketplace
/plugin marketplace add google-gemini/gemini-skills
# Install the plugin
/plugin install gemini-skills@gemini-skills
Cursor
Install directly from the Cursor plugin directory or via the editor command:
/add-plugin google-gemini/gemini-skills
OpenAI Codex
# Add the marketplace source
codex plugin marketplace add https://github.com/google-gemini/gemini-skills
# Install the plugin
codex plugin add gemini-skills@gemini-skills
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.