본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)22k · #10200

agent-platform-deploy

하는 일

Model Garden의 공개 모델이나 직접 만든 가중치를 서빙 엔드포인트에 배포하고, 배포 상태를 확인하며, 작업이 끝나면 리소스를 제거합니다. Google Cloud에서 모델을 호스팅하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Model Garden의 공개 모델을 엔드포인트에 배포하고 싶을 때.
  • ✓아직 진행 중인 배포 상태를 확인하고 싶을 때.
  • ✓모델을 배포 해제하고 엔드포인트를 삭제해 리소스를 정리하고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/agent-platform-deploy/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/agent-platform-deploy/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 프로젝트의 엔드포인트에 Model Garden의 공개 모델을 배포해 주세요. 먼저 시간당 비용을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 모델을 배포할 수 있는지 확인하고 옵션을 나열한 뒤, 명령, 머신 유형, 예상 시간당 비용이 담긴 확인 카드를 보여 줍니다. 사용자가 승인한 후에만 배포를 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

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
자주 묻는 질문

묻지 않고 배포하나요?

아닙니다. 명령, 머신 유형, 예상 시간당 비용을 본 뒤 명시적으로 승인해야 배포합니다.

사용 가능한 모델을 나열할 수 있나요?

네. Model Garden 카탈로그를 나열하고 모델을 배포할 수 있는지 확인할 수 있습니다.

정리는 어떻게 하나요?

모델을 배포 해제하고 엔드포인트를 삭제할 수 있습니다.

상세 정보

작성자의 원본 설명

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 q

repo: google/skills

인기도

GitHub 스타
22k
순위
#10200
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬