返回技能库

官方厂商 · 精选技能

Gemini Skills

3,990 Stars

Gemini 官方技能库:Gemini API、SDK 与模型/Agent 交互场景。

官方厂商官方出品Gemini官方

如何使用这个技能

四步装进你的 AI Agent(Claude Code、Codex CLI、Cursor 等通用流程):

  1. 1

    复制安装命令

    点击右侧按钮,把安装命令复制到剪贴板。

  2. 2

    在你的 Agent 终端执行

    打开 Claude Code / Codex / Cursor 的终端,粘贴并回车执行,等待安装完成。

  3. 3

    在对话中直接点名调用

    新开一个会话,直接说「用 Gemini Skills 帮我……」,Agent 会按技能里的专业流程执行。

  4. 4

    阅读下方完整说明

    想深入了解参数、进阶玩法与真实示例,往下看该技能的完整说明文档。

安装示例 / 项目说明

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:

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