# Gemini API

> Gemini API is an open-source agent skill for ai models and llm tooling. Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/google/skills/tree/main/skills/cloud/gemini-api
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** gemini-api
- **Collection:** https://github.com/google/skills
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-17

## About

Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like multimodal inputs, tools, media generation, caching, batch prediction, and Live API.

## When your agent uses it

> Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like multimodal inputs, tools, media generation, caching, batch prediction, and Live API.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/google/skills/tree/HEAD/skills/cloud/gemini-api)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/cloud/gemini-api)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/gemini-api` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/gemini-api &&
cp -R "$tmp/skills/cloud/gemini-api" ~/.claude/skills/gemini-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/gemini-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/gemini-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/gemini-api &&
cp -R "$tmp/skills/cloud/gemini-api" ~/.agents/skills/gemini-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/gemini-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/gemini-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/gemini-api &&
cp -R "$tmp/skills/cloud/gemini-api" ~/.cursor/skills/gemini-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/gemini-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/google/skills.git --path skills/cloud/gemini-api
```

Or copy the folder to `~/.gemini/skills/gemini-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/gemini-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/gemini-api &&
cp -R "$tmp/skills/cloud/gemini-api" ~/.copilot/skills/gemini-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/gemini-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/google/skills.git
```

Then copy `skills/skills/cloud/gemini-api` into your agent's skills folder as `gemini-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Gemini API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/gemini-api to use it in all your projects, or to .claude/skills/gemini-api in one project.

### Does Gemini API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Gemini API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Gemini API?

The closest alternatives to Gemini API are Academy guide, MCP builder, Claude API, Nano banana pro openrouter and Generate image.

## Alternatives

- [Academy guide](https://ai-powered.com/skills/academy-guide): Academy guide is an agent skill for ai models and llm tooling.
- [MCP builder](https://ai-powered.com/skills/mcp-builder): MCP builder is an agent skill for ai models and llm tooling.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Nano banana pro openrouter](https://ai-powered.com/skills/nano-banana-pro-openrouter): Nano banana pro openrouter is an open-source agent skill for design and media.
- [Generate image](https://ai-powered.com/skills/generate-image): Generate image is an open-source agent skill for design and media.
- [Phoenix evals](https://ai-powered.com/skills/phoenix-evals): Phoenix evals is an open-source agent skill for ai models and llm tooling.
- [Tldr prompt](https://ai-powered.com/skills/tldr-prompt): Tldr prompt is an open-source agent skill for ai models and llm tooling.
- [Arize AI provider integration](https://ai-powered.com/skills/arize-ai-provider-integration): Arize AI provider integration is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/gemini-api
