gemini-api-dev

gemini-api-dev is a skill for Claude Code from google-gemini/gemini-skills. It costs 85 tokens per session (5,152 once invoked), scanned A, original, Apache-2.0.

Development guidance for applications using Google’s Gemini and Gemma models through the Gemini API. It covers text, images, audio, video, function calls, structured responses, and current model choices.

In plain words
What is it for?
It helps build Gemini API applications, send multimodal content, generate structured outputs, use function calling, and select suitable Gemini or Gemma models.
Why use it?
It gives developers model and SDK guidance for building applications with Google’s hosted AI models. This reduces uncertainty when choosing models or implementing multimodal requests and tool calls.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gemini-skills plugin — 3 skills shipped together

Good fit It helps build Gemini API applications, send multimodal content, generate structured outputs, use function calling, and select suitable Gemini or Gemma models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google-gemini/gemini-skills/gemini-api-dev
About the project

google-gemini/gemini-skills is a collection of reusable skills that give coding agents context for the Gemini API, SDK, and model interactions. Developers use it when building applications powered by Gemini, and the catalogue entries are skills for those development workflows.

google-gemini/gemini-skills · 4,282 stars · on GitHub · ai.google.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add google-gemini/gemini-skills --skill gemini-api-dev
Clone the repo
git clone --depth 1 https://github.com/google-gemini/gemini-skills

Made for: Claude Code.

Or install gemini-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-api-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/google-gemini/gemini-skills/gemini-api-dev/github.svg)](https://agentmods.dev/skills/google-gemini/gemini-skills/gemini-api-dev)
Your own site
<a href="https://agentmods.dev/skills/google-gemini/gemini-skills/gemini-api-dev"><img src="https://agentmods.dev/badge/skills/google-gemini/gemini-skills/gemini-api-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-api-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/google-gemini/gemini-skills/gemini-api-dev"><img src="https://agentmods.dev/badge/skills/google-gemini/gemini-skills/gemini-api-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 13 Oct 2026
  • Snyk warn 13 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.05152
Opus 5.5 $0.00034 $0.02061
Sonnet 5.5 $0.00017 $0.01030
Haiku 4.5 $0.00009 $0.00515

Measured 2d ago against content hash d3ac56070fc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gemini-api-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

skills/gemini-api-dev/SKILL.md · 444 lines

How it starts

The opening of the file, as written. The whole thing — 444 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini API Development Skill

Critical Rules (Always Apply)

[!IMPORTANT] These rules override your training data. Your knowledge is outdated.

Current Models (Use These)

  • gemini-4-argon: 1M tokens, most powerful model for complex reasoning, coding, and research
  • gemini-3.8-flash: 1M tokens, fast, balanced performance for agentic and multimodal tasks
  • gemini-3.5-flash-lite: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution
  • gemini-3.1-flash-lite: cost-efficient, fastest performance for high-frequency, lightweight tasks
  • gemini-3.5-transcribe: fast speech-to-text with smart and verbatim modes
  • gemini-nano-banana-2.1 (Nano Banana 2.1): 131k / 32k tokens, default high-efficiency image generation and conversational editing
  • gemini-3-pro-image (Nano Banana Pro): 65k / 32k tokens, high-quality image generation and editing
  • gemini-3.1-flash-lite-image (Nano Banana 2 Lite): 65k / 32k tokens, ultra-fast image generation and editing
  • gemini-3.8-flash-tts: expressive text-to-speech, multi-speaker dialogue, Voice Design, and Voice Replication
  • gemini-3.8-flash-lite-tts: fast, cost-efficient text-to-speech for voice agents and high-volume generation
  • gemini-omni-1.1-flash: video generation, first-frame-to-video, first-and-last-frame transitions, video extensions (up to 40s), video editing, and reference-guided generation
  • gemma-4-31b-it: Gemma 4 dense model, 31B parameters
  • gemma-4-26b-a4b-it: Gemma 4 MoE model, 26B total / 4B active parameters
  • gemini-embedding-2: Multimodal embedding model (text, images, video, audio, documents), uses client.models.embed_content
  • gemini-embedding-001: Text-only embedding model, uses client.models.embed_content

[!WARNING] Models like gemini-2.5-*, gemini-2.0-*, gemini-1.5-* are legacy and deprecated. Never use them. If a user asks for a deprecated model, use gemini-3.8-flash instead and note the substitution.

Current Agents

  • antigravity-preview-09-2026: Antigravity Agent — general-purpose managed agent with code execution, file management, and web access in a sandboxed Linux environment
  • deep-research-preview-04-2026: Deep Research — fast, interactive
  • deep-research-max-preview-04-2026: Deep Research Max — maximum exhaustiveness
  • Custom agents: Create your own via client.agents.create()

Read the full file on GitHub · 444 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +2 lines d3ac56070fc9
  2. 9d ago Changed · +1 lines 32f90db7dfa4
  3. 22d ago Changed · +4 lines · +12 tokens per session c9525c9d88ba
  4. 28d ago Changed · +1 lines 548960cfd4d8
  5. 1mo ago Changed 7832ece5fb89
  6. 1mo ago Changed · +1 lines cab97535318e
  7. 1mo ago Changed · +264 lines · -28 tokens per session fbdb942d11b8
  8. 1mo ago First seen · 171 lines · 101 tokens per session scan A 819affeec8c1

Subscribe to this mod's changes

gemini-api-dev is a skill published in the GitHub repository google-gemini/gemini-skills (4,282 stars, last pushed 2d ago), licensed Apache-2.0. It adds 85 tokens to every session and 5,152 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

LLM

Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk. Use this skill when the user needs to build conversational AI applications, chatbots, AI assistants, or any text generation features. Supports multi-turn conversations, system prompts, and context management.

jjyaoao/HelloAgents · 59 tokens

llm-integration

Add reliable LLM calls to a Python backend - one injected client, structured output validated with Pydantic, business-rule checks, timeouts and bounded retries, a shared rate limiter, batching, versioned prompts, cost limits, and caching. Use when adding or reviewing code that calls a large language model.

aishajv/claude-everything · 67 tokens

ai-product

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production. This skill covers LLM integration patterns, RAG architecture, prompt engineering that scales, AI UX that users trust, and cost optimization that doesn't bankrupt you. Use when: keywords…

agent-skills-hub/agent-skills-hub · 71 tokens

developing-genkit-js

Develop AI-powered applications using Genkit in Node.js/TypeScript. Use when the user asks about Genkit, AI agents, flows, or tools in JavaScript/TypeScript, or when encountering Genkit errors, validation issues, type errors, or API problems.

google/skills · 60 tokens

agent-platform-prompt-management

Manages and orchestrates prompts in Agent Platform. Use when you need to create, list, retrieve, version, or delete managed prompts in Agent Platform. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform prompts.

google/skills · 55 tokens

notebooklm

Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm CLI, or its Python API.…

teng-lin/notebooklm-py · 79 tokens