Agent skill · software engineering · google
agent-platform-inference
Connects to and performs inference with Google Cloud Agent Platform GenAI models, including First-Party Gemini models and Third-Party OpenMaaS models (Llama, DeepSeek, Qwen, etc.). Use when asked to perform inference, ask a model a question, run a test prompt, execute chat completions, or generate code for calling Gemini or OpenMaaS models, authenticate with GenAI SDK, OpenAI SDK, or legacy Agent Platform SDK, configure base URLs and global/regional endpoints, or troubleshoot 429 Resource Exhausted (DSQ), 400 User Validation, or 404 Not Found errors. Don't use for deploying models to endpoints or for running model evaluations.
Why this skill is useful
Provides specific commands and configurations for authenticating and connecting to Google Cloud Agent Platform models that the AI wouldn't reliably generate on its own.
What it needs
Requires google-cloud-sdk, python3 installed locally. Requires google-cloud account access. About 10k tokens when loaded. Last updated 2026-08-06. 15,831 stars on the source repository.
What this skill does
Agent Platform GenAI Inference Skill This skill provides instructions for authenticating and connecting to Google Cloud Agent Platform to use Generative AI models. It covers: First-Party publisher models (Gemini) — section 2. Third-Party publisher models (OpenMaaS: Llama, DeepSeek, Qwen, etc.) — section 3. Custom endpoints (any model on a numeric projects/.../endpoints/<id> resource — tuned Gemini models, OSS LLMs self-deployed from Model Garden via the agent-platform-deploy skill, and legacy custom models) — section 4. 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 and append the attribution suffix to User-Agent headers: Safety & Confirmation Tiers (CRITICAL) Before executing any commands or scripts on behalf of the user, you must adhere to the following safety tiers based on the action requested. (The skill is read-only; other safety tiers are omitted): 1. Tier R: Read-only / Inference (client.models.generatecontent, client.chat.completions.create, client.completions.create, client.embeddings.create) Requires interactive confirmation with 'Yes'/ 'No' options before executing model inference on behalf of the user, to prevent unexpected cost or quota consumption. Required Fields in Confirmation Card: The confirmation prompt must clearly explain the proposed inference execution and explicitly list all of the following parameters: Project ID: The Google Cloud project ID or number (e.g. 123456789012, my-project). Region / Location: The target region (e.g. us-central1, global). Model ID: The exact model ID (e.g. gemini-2.5-flash, deepseek-ai/deepseek-v3.2-maas). SDK: The SDK choice (e.g. Google GenAI SDK (google-genai), OpenAI SDK). Input Prompt (or Input Image / Input Media): The prompt text or media URI. Any additional generation parameters (e.g. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills google/agent-platform-inference