agent-platform-migrate-from-ai-studio Skill (Google) for Claude Code: Move Gemini Apps to Google Cloud
Makes your coding agent move an app from the Gemini API in Google AI Studio to Gemini Enterprise Agent Platform on Google Cloud.
- Installs
- 8.4K
- on skills.sh
- Stars
- 21.8K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
This skill is from Google's own skills repo. It walks through billing and credits, enabling the Agent Platform API, signing in with user or service account credentials, and switching the google-genai SDK to the Agent Platform backend with a few environment variables. It also has setup steps for Agent Development Kit (ADK) agents, the Antigravity CLI and OpenClaw.
It needs the gcloud CLI and a Google Cloud project with billing. It bundles one reference file, which tells the agent to tag gcloud commands and requests with a usage-attribution string. It triggers when you ask to move an application from AI Studio to Google Cloud.
Good for
- Developers with a Gemini app on an AI Studio API key who want it on Google Cloud billing and IAM
- People who want Google Cloud credits, such as the free trial, to pay for Gemini calls
- Teams running ADK agents or OpenClaw on Google Cloud VMs
Install agent-platform-migrate-from-ai-studio
Claude Code
- 1
Download the skill folder from https://github.com/google/skills/tree/HEAD/skills/cloud/agent-platform-migrate-from-ai-studio.
- 2
Put it at ~/.claude/skills/agent-platform-migrate-from-ai-studio/ so that SKILL.md sits directly inside.
- 3
Start a new session; the skill loads when its description matches the task.
Requires gcloud CLI.
The README documents npx skills add google/skills, which asks which skills, agents and scope to use. The commands below install only this skill. The skill runs gcloud, so there is no Claude app upload tab. No Google plugin in the repo's marketplace file lists this skill's folder.
Built from the package data we hold. Not yet tested by us.
What's in the skill
When it loads
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI). Use this skill when moving applications to Google Cloud, to leverage Cloud credits, or to unify inferencing with other Cloud infrastructure (IAM, billing, telemetry).
Sections in SKILL.md
- Attribution
- When to Invoke This Skill
- Gemini API Comparison
- Migration Guide
- Billing and Credits
- Enable the Agent Platform API
- Authentication & Authorization (IAM)
- Use the Gemini API in Agent Platform
- SDKs (Client Libraries)
- Agent Development Kit (ADK)
- Antigravity CLI
- OpenClaw
- Additional Resources
Key facts
- License
- Apache-2.0 (LICENSE file)
- Installs on skills.sh
- 8,378 (Nov 2, 2026)
- Last repo commit
- Nov 1, 2026
- What it includes
- 2 files: SKILL.md and references/attribution.md; no scripts
- Needs
- The gcloud CLI, a Google Cloud project with billing, and the google-genai SDK for the code change
- Version in frontmatter
- 1.0.1
What it includes
Tags every gcloud command and API request with a skill-name string
The reference file says to prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION and add a string to User-Agent headers. It says the tag identifies only the skill and its version.
Runs code ·
Usage attributionCreate a billing account, check the $300 welcome credit and set a budget alert
The skill says free-trial credits do not apply to AI Studio. It points you to Billing, Budgets and Alerts in the console.
Billing and creditsRuns gcloud services enable for aiplatform.googleapis.com on your project
Turns on an API in your Google Cloud project, which is the change billing follows.
Try: “Enable the Agent Platform API on my project and move this app off AI Studio”
Runs code ·
Enable the Agent Platform APIADC login for local work; an attached service account with the Vertex user role on a VM
Runs gcloud auth login, application-default login and add-iam-policy-binding for roles/aiplatform.user. It also offers a setup_adc.sh script fetched with curl.
Runs code ·
User and service authSets GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION and GOOGLE_GENAI_USE_ENTERPRISE=TRUE
The google-genai client then talks to Agent Platform without changing its initialisation code.
Write ·
Switch the SDKSets the same variables and authenticates so an ADK agent calls Gemini on Agent Platform
Uses the service account in Google Cloud or application-default login locally.
Runs code ·
ADK agentsSign in through the CLI with a Google Cloud project and location
Install the CLI from Google's page, run agy, pick Use a Google Cloud Project, and finish OAuth in the browser.
Runs code ·
Antigravity CLICreates service account credentials and edits ~/.openclaw/openclaw.json
Uses gcloud iam service-accounts keys create, edits the config, then restarts OpenClaw and checks its model status.
Runs code ·
OpenClaw
From the official docs
Permissions
High risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can create a service account key file
The OpenClaw path runs gcloud iam service-accounts keys create and then copies the file to a VM with scp. A key file is a long-lived secret, so protect it and delete it when you no longer need it. github.com
It may ask an admin to relax an org policy
SKILL.md says new organisations restrict service account key creation, and that policy must be temporarily set to Inactive. Do not change org policy without your admin. github.com
It pipes a downloaded script into bash
The automated ADC option runs bash <(curl -sSL https://storage.googleapis.com/cloud-samples-data/adc/setup_adc.sh). Read the script first or use the manual option. github.com
It changes billing and IAM
It enables an API, creates a billing setup and grants IAM roles on your project. Check the project ID before each command. github.com
Commands carry a usage tag
The attribution file requires gcloud and HTTP requests to be tagged with the skill name and version. It says the tag carries no user data. The same file says that if you ask to disable or remove tracking, the agent omits the variable and the User-Agent suffix. github.com
Security advisories
No published security advisories as of Nov 2, 2026.
Technical details
| Talks to | Google Cloud APIs through gcloud and aiplatform.googleapis.com. storage.googleapis.com (the setup_adc.sh script). docs.cloud.google.com (linked docs) |
|---|---|
| Sign-in and keys | The OpenClaw steps write application_default_credentials.json under ~/.config/gcloud using a service account key. |
| Scopes |
|
Questions
What does this skill do?
It guides your coding agent through moving an app from the Gemini API in Google AI Studio (generativelanguage.googleapis.com) to Gemini Enterprise Agent Platform (aiplatform.googleapis.com). That covers billing, IAM, the API switch and the SDK variables.
Is it official?
Yes. It is in google/skills, which is Google's own repo of Agent Skills for Google products.
Why migrate at all?
The skill's comparison table says Google Cloud credits cannot be applied to AI Studio but can be applied to Agent Platform, and that Agent Platform uses Google Cloud IAM. It also says prompts and responses are never used for training there. Read Google's linked docs before you decide.
How do I install it?
Use the install box above. The README documents npx skills add google/skills, which prompts you to pick skills, agents and scope. The skill runs gcloud, so there is no Claude app tab.
Do I need the gcloud CLI?
Yes. The steps run gcloud services enable and gcloud auth commands, and the reference file requires tagging each gcloud call. You also need a Google Cloud project with a billing account.
Will I be charged?
Possibly. The skill says to create a billing account with a valid payment method, and to set a budget alert so charges do not fall back to your payment method when credits run out.
What is the usage tag it adds to commands?
The attribution reference tells the agent to prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION and append a skill string to User-Agent headers. It says the tag identifies only the skill and its version and carries no user data.
Is it safe?
It changes things in your Google Cloud account, such as enabling an API, granting an IAM role and, for OpenClaw, creating a service account key. Our advice: use a test project first and read each command before it runs.
Information
updated Nov 2, 2026
- Repository
- google/skills
- Folder
skills/cloud/agent-platform-migrate-from-ai-studio
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- README.md · github.com
- SKILL.md · github.com
- attribution.md · github.com
- LICENSE · github.com