Skip to main content
BuildOfficialCertifiedAI reviewed Jul 21, 2026

Agent Platform Deploy

Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a specific model is deployable (`gcloud ai model-garden models list-deployment-config`), query deployment cost, troubleshoot deployment errors (like quota limits), or undeploy/clean up endpoints. Also use when copying and deploying a 1P Tuned Model. Don't use for pure listing/discovery questions of the form "is X deployed?", "list my endpoints", or "which regions have models running?" — for those use `agent-platform-endpoint-management`. Don't use for running model evaluations (use `agent-platform-eval-flywheel` skill).

v1.0.9New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install google-cloud-skills-agent-platform-deploy
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/google-cloud-skills-agent-platform-deploy/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Agent Platform Model Garden Deploy Skill

This skill provides instructions for deploying Open Models from Agent Platform
Model Garden to endpoints, and subsequently undeploying them to clean up
resources.

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 CLOUDSDK_METRICS_REQUEST_ATTRIBUTION and append the
attribution suffix to User-Agent headers:

CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:agent-platform-deploy)"
User-Agent: <existing_user_agent> agent-skills/1.0 (skill:agent-platform-deploy)

1P Tuned Model Copy & Deployment

If you need to copy a 1P (First-Party) Tuned Model from a source project to
a destination region or project and deploy it to a newly created endpoint, refer
to the
1P Tuned Model Copy & Deployment Guide.

Safety & Confirmation Tiers (CRITICAL)

Before executing any commands on behalf of the user, you MUST adhere to the
following safety tiers based on the action requested:

  1. Tier R: Read-only (list, describe, list-deployment-config)
    • Rule: No confirmation needed. You may execute these commands
      immediately to gather information for the user.
  2. Tier M: Mutating & Reversible (deploy, undeploy-model)
    • Rule: This requires explicit user confirmation. You MUST present a
      clear dry-run confirmation card containing:

      1. Exact proposed gcloud command code block (gcloud ai model-garden models deploy ... --asynchronous).
      2. Model identifier, destination project ID, and target region.
      3. Machine type and accelerator configuration.
      4. Estimated hourly cost ($/hr).
      5. Endpoint display name.
      6. Explicit confirmation prompt asking the user to approve before
        execution.
        You MUST wait for their explicit confirmation before executing. For
        undeploy-model, you MUST first verify that the endpoint and deployed
        model exist; if describe or list returns a 404 or empty result, you
        MUST halt and inform the user rather than attempting undeployment.
    • Same-turn restriction: Do not run the command in the same turn as
      presenting the confirmation prompt. End your turn after asking and wait
      for the user's reply; only execute after explicit approval. Printing a
      preview and then calling the tool before the user can answer does not
      count as obtaining confirmation.

  3. Tier D: Destructive & Irreversible (delete)
    • Rule: This requires explicit typed confirmation. You MUST output
      a text message explaining the irreversible nature of endpoint or model
      deletion and asking the user to type "I confirm" or "Yes, delete it"
      before executing the deletion command.

[!IMPORTANT]

Always Output Complete Text Response (NEVER Emit Empty Text): After
executing any tool call (such as gcloud ai model-garden models deploy,
gcloud ai endpoints delete, gcloud ai endpoints list, or status checks),
you MUST formulate and return a complete, informative textual response to the
user. Explicitly report the operation name, endpoint name/ID, error message,
or list of resources. NEVER finish a turn with empty text or silence.

1. Prerequisites

Before deploying, ensure you have the correct project and region set. The
commands below use placeholder variables PROJECT_ID and LOCATION_ID.

Ensure you are authenticated:

gcloud auth login
gcloud auth application-default login
gcloud config set project $PROJECT_ID

2. Discovering Deployable Models

You can list models available in Model Garden and check if they can be
self-deployed.

gcloud ai model-garden models list

To see what machine types and accelerators are supported for a specific model,
pass a MODEL_ID you obtained from the models list output above. Substitute
<PUBLISHER>/<FAMILY>@<VERSION-ID> below with the exact string from the catalog
output — the placeholder is deliberately not a real model ID:

gcloud ai model-garden models list-deployment-config \
    --model="<PUBLISHER>/<FAMILY>@<VERSION-ID>"

[!NOTE] Some models, especially Hugging Face models, might require a Hugging
Face Access Token for deployment.

[!TIP] Model Recommendation Instructions: Whenever you are about to name a
specific model version in a response, do NOT recommend from memory. This
applies in all of the following situations — not just direct deploy requests:

  • The user asks to deploy a model without naming one.
  • You are volunteering a next-step suggestion after a list, describe, or
    undeploy operation (e.g. "Would you like me to deploy <model> to this
    endpoint?").
  • The user asks a general "what should I use?" / "what's a good model for
    X?" question.
  • You are filling in a MODEL_ID value in an example command you are
    showing the user (as opposed to a placeholder like
    <PUBLISHER>/<FAMILY>@<VERSION-ID>).

New model versions ship frequently and older ones may be deprecated, so
training-corpus knowledge of which models exist is unreliable. Follow this
procedure:

  1. Clarify the use case if it isn't already clear from context (task
    type, quality vs. latency vs. cost priorities, hardware/quota constraints,
    license constraints). Skip if the user has already given enough signal.
  2. Query the live catalog with gcloud ai model-garden models list.
    Narrow with --filter when appropriate (e.g. --filter="name~gemma",
    --filter="name~llama", --filter="name~qwen",
    --filter="name~deepseek"). Never name a specific model version to the
    user until you have seen it in the catalog output for this project.
  3. Pick the latest generally-available version in the family that fits
    the use case. When multiple size variants exist, pick the one that matches
    the user's hardware/cost tolerance. Prefer a newer major version over an
    older one unless it is marked preview/experimental and the user explicitly
    asked for a stable option.
  4. Verify the exact model ID is deployable with gcloud ai model-garden models list-deployment-config --model="<publisher>/<family>@<version>"
    before naming it in your response.
  5. Cite the model ID verbatim in your recommendation, exactly as it
    appears in the catalog. Do not paraphrase to a family label ("Gemma",
    "Llama").

The MODEL_ID values in the §3 examples below are intentionally
non-substantive placeholders (<PUBLISHER>/<FAMILY>@<VERSION-ID>). Do NOT
replace them with a remembered model name for a user-facing recommendation —
always re-run steps 2-4 first, then cite the exact string from the catalog.

2.1 Region Availability Check (Gemini + LoRA only)

Retired model guard: Legacy gemini-2.5-* models (such as
gemini-2.5-flash, gemini-2.5-pro, and gemini-2.5-flash-lite) are
retired. Never probe or recommend them; inform the user that the requested
gemini-2.5-* model is retired and suggest active supported models such as
gemini-3.8-flash or gemini-3.5-flash-lite.

For active first-party Gemini or LoRA deploys, you must verify region
availability before proceeding. Load the full instructions with
load_skill_resource(skill_name='agent-platform-deploy', file_path='references/region_availability.md').

Skip this for open-weights models (Gemma, Llama, DeepSeek, Qwen) and for
Gemini-tuned models — they have no per-region publisher endpoint restriction.
Go straight to §3.

3. Deploying a Model

[!WARNING] Deploying models, especially large ones, consumes significant
compute resources and incurs costs.

  1. You MUST compute an hourly $ estimate for the requested
    --machine-type before proposing a deploy. Try each source below in
    order, falling through to the next on any failure:

    • Run scripts/calculate_cost.py. The accelerator type and count are
      fixed per machine type in Model Garden and derived automatically.
      Example:

      python3 scripts/calculate_cost.py \
          --machine-type=g2-standard-48
      

      If the script exits non-zero (unknown --machine-type — a routine
      state for machines in the Model Garden catalog but not yet in the
      price snapshot, e.g. A4/B200 today), fall through to the next source.
      Do NOT invent a number.

    • Fall back to
      Agent Platform prediction pricing
      if no source above produced a
      number. Read the accelerator + hourly rate directly off that page and
      cite the URL in the estimate you present to the user.

  2. You MUST present this cost estimation to the user and warn them that
    this is the list price, which may differ from their actual bill due to
    potential discounts, reservations, or non-us-central1 regions.

  3. You MUST ALWAYS request explicit confirmation from the user agreeing
    to the estimated cost before executing any deploy command.

To deploy a model, use the deploy command. It is highly recommended to use the
--asynchronous flag for long-running deployments, and then poll the status if
necessary.

[!IMPORTANT]

  • Cost Pushback & Hardware Renegotiation: If the user pushes back on
    cost (e.g., "That is too expensive, can you try a smaller
    configuration?"), or requests an invalid or unsupported hardware
    combination (e.g. g2-standard-48g with 4x H100 GPUs), explain the
    constraint or invalidity clearly, check list-deployment-config to
    identify the supported alternative (e.g., g2-standard-24 with 2x L4 or
    g2-standard-12 with 1x L4), compute its cost estimate with a single
    query, and immediately render a complete Tier M dry-run confirmation
    card
    for that recommended configuration in the same response.
  • Region Failover & Quota Exhaustion: When a deployment fails due to
    quota or capacity in the requested region (e.g. QUOTA_EXCEEDED or
    RESOURCE_EXHAUSTED), identify an alternative supported region (e.g.
    us-east4 or us-east1), compute its cost estimate with a single query,
    and immediately render a complete Tier M dry-run confirmation card with
    the new --region and exact command in the same response
    . State the
    alternative region directly without making unverified capacity claims.
  • Efficient Tool Execution (No Redundant Calls): Do NOT execute
    redundant models list, list-deployment-config, or --help commands if
    the model ID, region, or hardware configuration are already known or
    resolved. Run each discovery command strictly once.
  • Single Status Check & Response Formatting (CRITICAL):
    • When initiating an asynchronous deployment (gcloud ai model-garden models deploy ... --asynchronous), the command output immediately
      returns the operation name. Formulate and return your textual
      confirmation response with the operation name and endpoint display
      name immediately
      . Do NOT call operations describe in the same turn
      as deployment initiation.
    • When the user explicitly asks to check deployment status (e.g.,
      "Please check to see the status of the deployment" or "Can you check
      if the deployment has finished?"):
      • NEVER run sleep commands, while loops, or repeated polling
        calls
        .
      • Execute gcloud ai operations describe <OPERATION_NAME>, the full
        operation name the deploy command printed, strictly ONCE.
      • ALWAYS output a full textual response reporting the operation
        status (e.g. "The deployment operation
        projects/.../operations/... is currently in progress / running
        (created at ...). Asynchronous model deployment typically takes
        10–15 minutes to complete").
      • Only proceed with sending a test prediction if the status check
        confirms the endpoint is already serving and ready.
  • Alphanumeric Project ID: Always specify the alphanumeric Project ID
    (e.g. my-gcp-project) for --project, NOT the numeric project number
    (e.g. 123456789012). If given a numeric project number and its Project
    ID is not available, pass the number inside a fully-qualified resource
    name, e.g. gcloud ai endpoints list --region=projects/123456789012/locations/us-central1, or as a positional
    resource, gcloud ai endpoints describe projects/123456789012/locations/us-central1/endpoints/<ENDPOINT_ID> --region=us-central1. If gcloud ai still refuses because core/project
    is set to a project number, ask the user for the Project ID rather than
    retrying.
  • Valid User-Specified Hardware Priority: When the user specifies an
    explicit, valid hardware configuration (e.g. g2-standard-96 with 8
    NVIDIA_L4 GPUs, or g2-standard-12 with 1 NVIDIA_L4 GPU), honor that
    requested configuration for the dry-run preview and cost estimation rather
    than overriding it with default recommendations. However, if the requested
    configuration is invalid or unsupported (e.g. mismatched GPU count
    such as g2-standard-12 with 2 L4 GPUs, or non-existent machine shapes),
    follow the Cost Pushback & Hardware Renegotiation rule above: explain
    the invalidity clearly, identify the supported alternative (e.g.
    g2-standard-24 with 2 L4 GPUs), calculate its cost, and immediately
    present the confirmation card for the valid alternative.
  • Endpoint Display Name: If the user specifies or requests an endpoint
    name or display name (e.g. 'usersim-gemma-eval-...'), you MUST always
    include --endpoint-display-name="<NAME>" in the deploy command.

Example: Deploying an open-weights model from Model Garden

Here is a typical bash script to deploy a model. You can run this block
directly.

#!/bin/bash
# Example script to deploy an open-weights model from Model Garden.
#
# NOTE: MODEL_ID below is a PLACEHOLDER, not a real model ID. Substitute it
# with a value from a live `gcloud ai model-garden models list` (see §2)
# before running this script, and do NOT quote the placeholder back to the
# user as a recommended model.
#
# IMPORTANT FOR deploy_config["command"]: when building the curl command for
# the deploy confirmation card, inline ALL values as literals — do NOT leave
# ${PROJECT_ID}, ${LOCATION_ID}, or ${PUBLISHER_MODEL} as shell variables.
# The server rejects commands with unresolved variables at render time.
# The only allowed substitution is $(gcloud auth print-access-token).

PROJECT_ID=$(gcloud config get-value project)
# `gcloud ai` needs the alphanumeric Project ID, not the project number.
: "${PROJECT_ID:?no project ID is set; ask the user for the Project ID}"
LOCATION_ID="us-central1" # Recommended default region
# Replace placeholder with exact ID from `gcloud ai model-garden models list`:
MODEL_ID="<PUBLISHER>/<FAMILY>@<VERSION-ID>"

echo "Deploying model $MODEL_ID to project $PROJECT_ID in $LOCATION_ID..."

# Hardware params can be omitted to select recommended default config.
# Comprehensive command with supported parameters:
gcloud ai model-garden models deploy \
    --project=$PROJECT_ID \
    --region=$LOCATION_ID \
    --model=$MODEL_ID \
    --machine-type="g2-standard-12" \
    --accelerator-type="NVIDIA_L4" \
    --accelerator-count=1 \
    --endpoint-display-name="my-open-model-deployment" \
    --asynchronous

echo "Deployment initiated asynchronously."

With --asynchronous the command prints the full operation name,
projects/<PROJECT>/locations/<REGION>/operations/<OP_ID>. Pass that to §4: a
bare <OP_ID> works only when gcloud has a project.

  • Include --hugging-face-access-token="<HF_TOKEN>" when deploying gated
    Hugging Face models that require authentication.
  • Include --reservation-affinity (e.g. none or
    reservation-affinity-type=specific-reservation,...) if using reserved
    compute.

1P Tuned Model Cross-Region Copy and Deployment

For the detailed tuned model copy and deployment workflow, load
load_skill_resource(skill_name='agent-platform-deploy', file_path='references/copy_deploy_guide.md'). That guide covers the execution
sequence, tier assignments for copy/deploy/delete commands, hardware
renegotiation, test prediction verification, and the in-progress operation
lock.

4. Checking Deployment Status

When you deploy a model asynchronously using the --asynchronous flag, the
deploy command returns an operation name. Pass the full name to check the
ongoing status of the deployment.

gcloud ai operations describe YOUR_OPERATION_NAME

[!IMPORTANT]

Single Status Check Only (No Sleep / Polling Loops): Model deployment
operations take 10–30 minutes. NEVER run sleep commands (e.g. sleep 45 && ...) or loop operations describe repeatedly in a turn. Run gcloud ai operations describe strictly ONCE. If done is not true, immediately
return the operation name and in-progress status to the user and explain that
deployment takes 10–15 minutes.

Note: Large models (roughly 20B+ parameters) may take 15-20 minutes to fully
deploy and start serving.

Verifying Deployment

If the model is successfully deployed, verify by making a prediction call to
test. Because Model Garden models are often deployed to Dedicated Endpoints, you
shouldn't use gcloud ai endpoints predict. Instead, you must fetch the
endpoint's dedicated DNS name and send a curl request.

[!TIP] Ask the user to try using their own prompt to see the results.
Otherwise use the default.

Use the following script:

#!/bin/bash
PROJECT_ID=$(gcloud config get-value project)
: "${PROJECT_ID:?no gcloud project is set; ask the user for the Project ID}"
LOCATION_ID="us-central1"
ENDPOINT_ID="YOUR_ENDPOINT_ID"
PROMPT=${1:-"Explain quantum computing in simple terms."}

echo "Fetching dedicated Endpoint DNS..."
ENDPOINT_URL=$(gcloud ai endpoints describe $ENDPOINT_ID \
    --project=$PROJECT_ID \
    --region=$LOCATION_ID \
    --format="value(dedicatedEndpointDns)")

if [ -z "$ENDPOINT_URL" ]; then
    echo "Error: Could not retrieve dedicated endpoint URL for $ENDPOINT_ID."
    exit 1
fi

echo "Sending prediction request to $ENDPOINT_URL..."

curl -X POST \
  -H "Authorization: Bearer $(gcloud auth print-access-token)" \
  -H "Content-Type: application/json" \
  "https://${ENDPOINT_URL}/v1beta1/projects/${PROJECT_ID}/locations/${LOCATION_ID}/endpoints/${ENDPOINT_ID}/chat/completions" \
  -d '{
    "model": "'"$ENDPOINT_ID"'",
    "messages": [
      {
        "role": "user",
        "content": "'"$PROMPT"'"
      }
    ]
  }'

5. Undeploying and Cleaning Up

For the full undeploy and cleanup procedure (find endpoint, undeploy model,
delete endpoint, delete model), load
load_skill_resource(skill_name='agent-platform-deploy', file_path='references/undeploy_guide.md').

[!WARNING] Failing to undeploy a model will result in continuous charges for
the allocated compute resources, even if you are not sending prediction
requests. Always clean up after testing.

6. Troubleshooting

For troubleshooting quota/resource exhausted errors and hardware fallback,
load load_skill_resource(skill_name='agent-platform-deploy', file_path='references/troubleshooting.md').

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
google-cloud-storage-bucket-architectCreates Cloud Storage on Google Cloud (also known colloquially as GCS) buckets. Analyzes the workload (sensitive data, media hosting, ingestion, web hosting, archiving, backup, logging, analytics, AI/ML, or general-purpose), validates project-level security settings, and designs a secure-by-default, cost-effective configuration (location, storage class, uniform bucket-level access, public access prevention, soft delete, lifecycle) before creating it. Use whenever a user wants to create, make, set up, provision, or spin up a bucket, or needs object storage for an app, service, pipeline, or dataset — even a "simple" or "default" bucket, or when bucket creation is one step in a larger workflow. Outputs or executes the creation via gcloud, the JSON/REST API, Terraform, or SDK client libraries (C++, Java, Python, Go). Don't use for anything other than creating new buckets — for uploads, downloads, access changes, or reconfiguring existing buckets, use google-cloud-storage-basics.1 installsgke-cost-analysisAnswer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics. Use when querying GKE costs across projects, namespaces, or workloads, analyzing billing reports in BigQuery (`bq`), checking cluster cost budgets (`gcloud billing`), or diagnosing cost drivers like pod requests vs. actual utilization (`kubectl top`). Don't use for applying cost optimization changes, creating rightsizing manifests (VPA/MPA), or selecting ComputeClasses (use gke-cost-optimization instead).1 installsmanaged-airflow-migrationsProvides guidance for migrating Apache Airflow DAGs in Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers migration to Airflow 2.11.1 (MSAA Gen 2 and 3) and Airflow 3 (MSAA Gen 3), including environment inspection, GCS download/upload and scanning patterns for breaking changes. Use when migrating the DAG code to newer Airflow version. Don't use when checking DAG run failures unrelated to code migration.1 installsfirebase-basicsProvides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.1 installsgoogle-cloud-solution-rag-enterprise-search-gke-sqldbDiscovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing framework, and Kubernetes containers to host all the application components. DON'T use this skill for fully-managed RAG, or SaaS search services, or when a non-SQL vector database is required.1 installsbigtable-basicsAssists in provisioning instances/tables, designing performant schemas, and querying data in Bigtable. Use when designing Bigtable row keys, configuring column families, writing SQL queries or client library code (Java, Go, Python) for Bigtable, or diagnosing performance/hotspotting issues. Also use when provisioning Bigtable clusters using gcloud or cbt CLIs. Don't use for generic Cloud SQL administration.1 installs

More from Google Cloud Skills

View source →
spanner-basicsAssists in provisioning instances and databases, designing performant schemas, and querying data in Cloud Spanner on Google Cloud. Use when designing primary keys, writing SQL queries or client library code, or diagnosing performance issues.4 installsgoogle-ads-api-mcp-setupGuides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve reporting metrics using natural language.4 installsgke-workload-securityAudits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).3 installsgoogle-cloud-recipe-networking-observabilityInvestigates Google Cloud networking issues by analyzing logs, metrics, and diagnostics. Use when investigating VPC Flow Logs, NAT, firewall, or threat logs, querying latency and throughput metrics, or running Connectivity Tests for path diagnostics.2 installsgke-upgradesPlans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre/post-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like "we need to upgrade our clusters" or "plan our next GKE maintenance" or "our upgrade is stuck." Don't use for GKE cluster creation, application onboarding, general networking/routing setup, or security policy configurations (use gke-basics or relevant GK2 installsgke-manifest-generationGenerates and updates secure, production-ready Kubernetes YAML manifests optimized for GKE Autopilot and GKE Standard clusters. Use when creating or modifying GKE deployment manifests, configuring container security contexts, setting CPU/memory resource limits, defining readiness/liveness/startup probes, mounting secrets and volumes, configuring GKE Gateway API routes, targeting Spot VMs, or deploying AI model inference workloads (vLLM, TGI, Gemma). Don't use for live cluster operations, pod troubleshooting (use gke-workload-troubleshooting), or cluster infrastructure provisioning (use gke-cluster-creation).2 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.642 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.546 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.353 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.252 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.179 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions146 installs

Frequently asked questions about agent-platform-deploy

What does the agent-platform-deploy skill do?

Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a specific model is deployable (`gcloud ai model-garden models list-deployment-config`), query deployment cost, troubleshoot deployment errors (like quota limits), or undeploy/clean up endpoints. Also use when copying and deploying a 1P Tuned Model. Don't use for pure listing/discovery questions of the form "is X deployed?", "list my endpoints", or "which regions have models running?" — for those use `agent-platform-endpoint-management`. Don't use for running model evaluations (use `agent-platform-eval-flywheel` skill). It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the agent-platform-deploy skill?

Run `npx @skills-hub-ai/cli install google-cloud-skills-agent-platform-deploy` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/google-cloud-skills-agent-platform-deploy/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does agent-platform-deploy work with?

agent-platform-deploy runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the agent-platform-deploy skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use agent-platform-deploy after installing it?

In Claude Code, type `/google-cloud-skills-agent-platform-deploy` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the agent-platform-deploy skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.