gemini-api-agent-platform

gemini-api-agent-platform is a skill for Claude Code, Codex from davila7/claude-code-templates. It costs 61 tokens per session (2,316 once invoked), scanned A, original, MIT.

A guide to using Google's Gemini models through the Gemini API in Agent Platform, Google's service for building enterprise AI applications. It covers the official SDKs for several programming languages, text, multimedia, tools, caching, embeddings, live interactions, and batch processing.

In plain words
What is it for?
Use it to build applications that generate text, understand images, audio, video, or documents, call your functions, return structured JSON, create embeddings for search, or process large batches.
Why use it?
It helps you use the current Google SDK and avoid older libraries or unclear platform naming. It brings the main Gemini API workflows together in one reference.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build applications that generate text, understand images, audio, video, or documents, call your functions, return structured JSON, create embeddings for search, or process large batches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davila7/claude-code-templates/gemini-api-agent-platform
About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 34,829 stars · on GitHub · aitmpl.com

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 davila7/claude-code-templates --skill gemini-api-agent-platform
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

Made for: Claude Code, Codex.

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-agent-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-code-templates/gemini-api-agent-platform/github.svg)](https://agentmods.dev/skills/davila7/claude-code-templates/gemini-api-agent-platform)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/gemini-api-agent-platform"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/gemini-api-agent-platform/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-agent-platform

Your own site · 80×15
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/gemini-api-agent-platform"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/gemini-api-agent-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,316 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
  • Snyk fail 7 Sept 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.00061 $0.02316
Opus 5.5 $0.00024 $0.00926
Sonnet 5.5 $0.00012 $0.00463
Haiku 4.5 $0.00006 $0.00232

Measured 1mo ago against content hash 02e6367f8f8c, 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-agent-platform 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 1mo 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

8 near-identical copies found in the catalogue:

cli-tool/components/skills/ai-research/gemini-api-agent-platform/SKILL.md · 233 lines

How it starts

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

IMPORTANT: Agent Platform (full name Gemini Enterprise Agent Platform) was previously named "Vertex AI" and many web resources use the legacy branding.

Gemini API in Agent Platform

Access Google's most advanced AI models built for enterprise use cases using the Gemini API in Agent Platform.

Provide these key capabilities:

  • Text generation - Chat, completion, summarization
  • Multimodal understanding - Process images, audio, video, and documents
  • Function calling - Let the model invoke your functions
  • Structured output - Generate valid JSON matching your schema
  • Context caching - Cache large contexts for efficiency
  • Embeddings - Generate text embeddings for semantic search
  • Live Realtime API - Bidirectional streaming for low latency Voice and Video interactions
  • Batch Prediction - Handle massive async dataset prediction workloads

Core Directives

  • Unified SDK: ALWAYS use the Gen AI SDK (google-genai for Python, @google/genai for JS/TS, google.golang.org/genai for Go, com.google.genai:google-genai for Java, Google.GenAI for C#).
  • Legacy SDKs: DO NOT use google-cloud-aiplatform, @google-cloud/vertexai, or google-generativeai.

SDKs

  • Python: Install google-genai with pip install google-genai
  • JavaScript/TypeScript: Install @google/genai with npm install @google/genai
  • Go: Install google.golang.org/genai with go get google.golang.org/genai
  • C#/.NET: Install Google.GenAI with dotnet add package Google.GenAI
  • Java:
    • groupId: com.google.genai, artifactId: google-genai

    • Latest version can be found here: https://central.sonatype.com/artifact/com.google.genai/google-genai/versions (let's call it LAST_VERSION)

    • Install in build.gradle:

      implementation("com.google.genai:google-genai:${LAST_VERSION}")
      
    • Install Maven dependency in pom.xml:

      <dependency>
          <groupId>com.google.genai</groupId>
          <artifactId>google-genai</artifactId>
          <version>${LAST_VERSION}</version>
      </dependency>
      

Read the full file on GitHub · 233 lines

Files

What ships with it

9 files 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. 1mo ago Changed · +1 lines 02e6367f8f8c
  2. 3mo ago First seen · 232 lines · 61 tokens per session scan A f6e5d8a05a0c

Subscribe to this mod's changes

gemini-api-agent-platform is a skill published in the GitHub repository davila7/claude-code-templates (34,829 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 2,316 once invoked, about $0.0002 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-09-03.

Related

gemini-api-agent-platform compared with skills from other repositories

gemini-api-agent-platform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-api-agent-platformdavila7/claude-code-templatesSkill35ktodayMITA61Claude Code, Codex
omni-inferencediegosouzapw/OmniRouteSkill92ktodayMITA47Claude Code, Codex
serving-llms-vllmNousResearch/hermes-agentSkill269ktodayMITA27Claude Code, Codex
gemini-live-api-devasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A110Claude Code, Codex
liter-llm-running-the-proxyxberg-io/liter-llmSkill271todayMITA45Claude Code
mcp-builderwaybarrios/opencode-power-packSkill5626d agoMITA68Claude Code
llm-providercaliber-ai-org/ai-setupSkill1.3k2mo agoMITA100Claude Code, Codex