Agent skill · Google (Gemini)
Gemini API skill for Claude Code, Codex and Cursor
Officialname: gemini-api-dev★ 4.3k (repo)pushed 2026-10-13Apache-2.0SKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design, voice replication, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API.
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install Gemini API
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add google-gemini/gemini-skills --skill gemini-api-dev
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (gemini-skills), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add google-gemini/gemini-skills /plugin install <plugin>@gemini-skills # or only this skill: npx skills add google-gemini/gemini-skills --skill gemini-api-dev -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/google-gemini/gemini-skills.git /tmp/gemini-api-dev-src cp -r /tmp/gemini-api-dev-src/skills/gemini-api-dev ./gemini-api-dev zip -r gemini-api-dev.zip gemini-api-dev
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add google-gemini/gemini-skills --skill gemini-api-dev -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install google-gemini/gemini-skills gemini-api-dev
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add google-gemini/gemini-skills --skill gemini-api-dev -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/google-gemini/gemini-skills.git --path skills/gemini-api-dev
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add google-gemini/gemini-skills --skill gemini-api-dev -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add google-gemini/gemini-skills --skill gemini-api-dev -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- Critical Rules (Always Apply)
- Current Models (Use These)
- Current Agents
- Current SDKs
- Important Additional Notes
- Quick Start
- Python
- JavaScript/TypeScript
- Response Helpers
- Stateful Conversation
- Python
- JavaScript/TypeScript
- Deep Research Agent
- Python
- JavaScript/TypeScript
- Managed Agents
- Antigravity Agent
- Custom Agents
- Streaming
- Python
- JavaScript/TypeScript
- Documentation Pages
- Data Model
- Step Types
- + 4 more
Bundled files
- references/migration.md
Loaded only when the instructions point to them.
Facts
- Skill name
- gemini-api-dev
- Publisher
- Google (Gemini) (official)
- Repo
- google-gemini/gemini-skills
- License
- Apache-2.0
- SKILL.md size
- 1,535 words, 440 lines
- Bundled files
- 1, 1 docs
- Repo stars
- 4.3k (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the Gemini MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from google-gemini/gemini-skills
- Gemini Live API: Builds real-time voice and video streaming apps on the Gemini Live API over WebSockets.
Related ai & ml skills
- Claude API · Anthropic
- ChatGPT Apps · OpenAI
- OpenAI Docs · OpenAI
- Hugging Face CLI · Hugging Face
- Gradio · Hugging Face
- Hugging Face LLM Trainer · Hugging Face
- Transformers.js · Hugging Face
- Cloudflare Agents SDK · Cloudflare
FAQ
What does the gemini-api-dev skill do?+
Writes code against the Gemini API for chat, multimodal input, image, video and speech. In its own SKILL.md, Google (Gemini) describes it as: "Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design, voice replication, streaming responses, background research tasks, function calling, structured..."
How do I install the gemini-api-dev skill?+
Run npx skills add google-gemini/gemini-skills --skill gemini-api-dev and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/gemini-api-dev/SKILL.md; in Codex and Cursor in .agents/skills/gemini-api-dev/.
Does Gemini API work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains Gemini API?+
Google (Gemini), the company or project behind it, in the google-gemini/gemini-skills repo on GitHub, last pushed 2026-10-13. License: Apache-2.0.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers