Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agent-platform-migrate-from-ai-studio

Skill by google

Guides agents and users through migrating a Gemini API app from Google AI Studio to Gemini Enterprise Agent Platform, formerly Vertex AI. It is for teams moving to Google Cloud to use credits, IAM, billing, or telemetry.

  • Score 92
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agent-platform-migrate-from-ai-studio

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/agent-platform-migrate-from-ai-studio ~/.claude/skills/agent-platform-migrate-from-ai-studio

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agent-platform-migrate-from-ai-studio in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides agents and users through moving an application from the Gemini API in Google AI Studio (generativelanguage.googleapis.com) to Gemini Enterprise Agent Platform, formerly Vertex AI (aiplatform.googleapis.com). It covers billing and credits, enabling the Agent Platform API, and setting up IAM with Application Default Credentials for user and service account access. It also explains how to switch the google-genai SDK to the enterprise backend using environment variables.

The skill includes migration steps for Agent Development Kit agents, the Antigravity CLI, and OpenClaw on Compute Engine VMs. It is aimed at developers and teams who want to apply Google Cloud credits to Gemini inferencing or run inference under the same IAM, billing, and telemetry as their other Google Cloud infrastructure.

Written from the project's SKILL.md and checked against it.

What it can do

  • Billing and creditsExplains that AI Studio does not accept Google Cloud credits and how to route calls through Agent Platform.
  • API enablementGives the gcloud command to enable the Agent Platform API on a target project.
  • IAM and authenticationCovers Application Default Credentials for users and service accounts with the roles/aiplatform.user role.
  • SDK switchShows how to point the google-genai SDK at Agent Platform with GOOGLE_GENAI_USE_ENTERPRISE=TRUE.
  • ADK agentsDescribes setting env variables and initializing an Agent Development Kit agent with a Gemini model.
  • Antigravity CLI setupWalks through installing the Antigravity CLI and selecting a Google Cloud project and location.
  • OpenClaw configurationExplains configuring OpenClaw on a GCE VM with the required IAM role and credentials.

What you need

  • A Google Cloud project
  • A Google Cloud billing account with a valid payment method
  • gcloud CLI
  • Python with the google-genai SDK

Try asking

  • Walk me through migrating my Gemini API app from AI Studio to Agent Platform
  • Set up IAM and ADC so my Compute Engine VM can call Gemini on Agent Platform
  • Switch my google-genai client to Agent Platform with GOOGLE_GENAI_USE_ENTERPRISE

Good to know

  • Google Cloud Free Trial credits do not apply to AI Studio.
  • The source says OpenClaw 2026.5.28 has a google-vertex bug and recommends 2026.5.20.
  • New orgs created on or after May 4, 2024 enforce a policy that restricts service account key creation, which an Org Policy Admin must disable.
  • Legacy Compute Engine access scopes can override IAM bindings.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/attribution.md2 KB

Alternatives to agent-platform-migrate-from-ai-studio

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

agent-platform-migrate-from-ai-studio: common questions

Can I use Google Cloud credits with the Gemini API in AI Studio?

No. The source says Google Cloud Free Trial credits do not apply to AI Studio. To use credits for Gemini models, calls must be routed through Agent Platform.

Does the google-genai SDK need to be rewritten when migrating?

The source says the unified google-genai SDK works with both AI Studio and Agent Platform. Migration mainly means setting the routing environment variables.

Which IAM role is needed to call Gemini on Agent Platform?

The source says the roles/aiplatform.user role must be granted to the user identity or the VM service account to make inferencing calls.

How do I install agent-platform-migrate-from-ai-studio?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agent-platform-migrate-from-ai-studio free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is agent-platform-migrate-from-ai-studio safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agent-platform-migrate-from-ai-studio?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

agent-platform-migrate-from-ai-studio Install

Add to stack

Loading.