Agent skill · software engineering · google
gemini-api
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.
Why this skill is useful
Adds detailed installation instructions and configuration for the Gemini API SDKs, enabling enterprise-level AI capabilities that the AI wouldn't generate on its own.
What it needs
Requires @google/genai, google-genai, google.genai, google.golang.org/genai installed locally. Requires google-cloud account access. About 5k tokens when loaded. Last updated 2026-08-06. 15,831 stars on the source repository.
What this skill does
[!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 Attribution MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDKMETRICSREQUESTATTRIBUTION="agent-skills/1.0 (skill:gemini-api)" and append agent-skills/1.0 (skill:gemini-api) to User-Agent headers. 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. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills google/gemini-api