gemini-skills README

The project's README from github.com/google-gemini/gemini-skills. As one markdown file: README.md.

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, Deep Research agents, 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:

Using Vercel skills CLI

# 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

Using Context7 skills CLI

# 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 install 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.

gemini-skills (google-gemini/gemini-skills)

Searching Database…

这是什么?这是一套面向 Gemini API 的“技能”(上下文文件),向编程 agent 传授最新的最佳实践、SDK 用法以及模型训练知识之外的模型行为。
这些是安装到 AI 助手里的技能文件,还是导入代码的 Python 库?它们是安装到 AI 编程助手(如 Claude Code、Cursor 或 Antigravity)中的技能文件,不是导入应用代码的库。
怎么安装这些技能?可以通过 Vercel skills CLI、Context7 skills CLI 安装,在 Claude Code 或 Cursor 中直接安装,通过 OpenAI Codex 集成安装,或使用 Antigravity 在 Customizations to Build with Google Plugins 下预置捆绑的版本。
支持哪些编程助手?Vercel skills CLI、Context7 skills CLI、Antigravity(内置捆绑)、Claude Code、Cursor 和 OpenAI Codex 都被列为支持的安装目标。
是一个技能管所有事,还是我应该挑选特定的技能?共有三个专门化的技能:gemini-api-dev 用于一般应用构建(文本、聊天、流式传输、函数调用、图像生成),gemini-live-api-dev 用于实时双向流式传输,gemini-omni-flash-api 用于视频生成和编辑,你可以根据要构建的内容来选择。
添加这个技能实际上能给 agent 带来多大帮助?根据作者的评估,添加该技能后,Gemini API 正确代码生成的比例在使用 Gemini 3 Flash 时提升到 87%,使用 Gemini 3.1 Pro 时达到 96%。
vertex-ai-api-dev 技能怎么了?它被移动并重命名了;现在位于本仓库的 skills/cloud/gemini-api。
这是 Google 的官方产品吗?不是,README 明确声明它不是 Google 官方支持的产品,也没有资格参与 Google 开源漏洞奖励计划。
gemini-omni-flash-api 技能涵盖什么?它聚焦于 Gemini Omni 1.1 Flash 模型,涵盖视频编辑、基于图像和视频的参考生成、首尾帧过渡,以及通过 Interactions API 进行的视频续写。
Size
0.3 MB
Stars
4.3K
Updated
CommitOct 13
Age
8mo
Commits · 90 Days