google-cloud-solution-guided-gke-ai-migration
What it does
This skill helps move an existing AI model workload to a self-hosted setup on Google Kubernetes Engine. It is for teams who want to run their AI inference on their own GKE cluster.
When to use it
- ✓When you want to move an AI inference workload from Cloud Run, the Gemini API or a VM to GKE.
- ✓When you need an architect-guided plan for self-hosted inference on GKE.
- ✓When you are partway through a GKE AI migration and have follow-up questions.
Skill link
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-guided-gke-ai-migration/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Help me move my Cloud Run AI model service to self-hosted inference on GKE, one step at a time.”
5 new skills a week. 1 minute to read.
How it works
It works through a structured four-phase process: discovery questions, design, execution with gcloud and kubectl, and validation. If you ask for the automated Gemini Cloud Assist MCP route, it hands off to that instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Migrate AI Workloads to GKE Inference
This skill guides agents through the end-to-end process of migrating existing AI inference workloads (e.g., from Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted inference on Google Kubernetes Engine (GKE). The agent will act as an interactive architect, using a structured 4-phase workflow to discover requirements, design a Google Cloud-native solution, execute the implementation using gcloud and kubectl, and validate the deployment.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Gemini Cloud Assist MCP off-ramp
This skill covers manual, architect-guided migration only. Automated migration is the job of the Gemini Cloud Assist MCP server. Route between them as follows:
- The user asks to USE Gemini Cloud Assist or MCP automation for this migration (e.g., "use the Cloud Assist MCP server to do this"): stop the manual workflow and respond with the 4 required points below.
- The user mentions MCP only in passing, or explicitly declines it (e.g., "no MCP, let's do this manually"): proceed with the manual workflow. Do not stop and do not ask about MCP.
- The user does not mention MCP at all: proceed directly to the active phase. In your first discovery response only, add one sentence noting that an automated alternative exists via the Gemini Cloud Assist MCP server and the user can switch to it at any time. Do not wait for an answer before beginning discovery.
When stopping for an MCP request, your response MUST include these 4 points:
- STOP the manual workflow & clarify scope: State that
google-cloud-solution-guided-gke-ai-migrationis strictly intended for manual, architect-guided migration using native CLIs (gcloudandkubectl), and that this manual skill workflow is being stopped. - Explain MCP capabilities: Explain that the Gemini Cloud Assist MCP server assists in automated infrastructure analysis (
gemini_cloud_assist:ask_cloud_assist) or direct Google Cloud resource mutation (gemini_cloud_assist:invoke_operation). - Link to MCP Documentation: Provide a valid hyperlink to the Gemini Cloud Assist MCP Documentation.
- Link to Intent to Infrastructure Codelab: Provide a valid hyperlink to the Intent to Infrastructure Codelab for guidance on setting up the MCP server.
Scope Check: New Deployments vs. Migrations
This skill is specifically intended for migrating existing AI workloads (from Cloud Run, Gemini API, Agent Platform, or other platforms) to GKE.
If the user wants to deploy a new AI model server from scratch on GKE (and does NOT have an existing deployment to migrate), STOP and recommend using the gke-inference skill instead. Explain that google-cloud-solution-guided-gke-ai-migration focuses on migration workflows (discovering existing Cloud Run/Agent Platform configurations, traffic cutover, etc.), while gke-inference is optimized for fresh GKE AI model server deployments using AI Profiles and golden path manifests.
Core Architectural Principles (The "Golden Path")
When designing the solution, always default to the latest GKE AI best practices:
- Execution:
- Execution policy (who runs commands):
- Phase 1 (Discovery): after the user grants permission, execute read-only
gcloudinspection commands (list,describe) directly and summarize the results. - Phases 2-4: write manifests to disk, then present the exact
gcloudandkubectlcommands for the user to run. Do not execute mutating commands (apply,create,delete, cluster or IAM changes) unless the user explicitly asks you to run them, in which case execute them and report each command's actual output. - Informational and troubleshooting questions: answer with markdown guidance, manifests, and recommended commands only; execute nothing.
- Phase 1 (Discovery): after the user grants permission, execute read-only
- Favor raw Kubernetes manifests, native CLIs (
gcloudfor infrastructure,kubectlfor workloads), and opinionated templates. - Save YAML files to the user's current directory and apply them using
kubectl. - Write ad-hoc scripts (e.g., for VRAM calculation) only if absolutely necessary.
- Execution policy (who runs commands):
- Node Provisioning:
- Utilize **Custom
FAQ
Does it use the Gemini Cloud Assist MCP server?
Only if you ask for it. If you request that automation, the skill stops the manual steps and points you to it.
What tools does the migration use?
gcloud and kubectl.
Does it cover automated migration?
No. It covers the manual, architect-guided migration only.
Details
Original description by the author
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to self-hosted inference on GKE, or asks follow-up questions during such a migration (hardware sizing, model staging, manifest generation, validation, traffic cutover). DO NOT use for brand new GKE inference deployments with no existing workload to migrate (use gke-inference instead
repo: google/skills
Popularity
- GitHub stars
- 22k
- Ranking position
- #10323
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.