用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/LoopyLuci/Skills --skill agent-platform-model-registry命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | agent-platform-model-registry |
| description | >- |
Trigger: Use when managing Model Registry on Google Cloud's Agent Platform — Google Cloud AI and agent infrastructure.
This skill provides instructions for managing machine learning models in the Agent Platform Model Registry. It covers listing models, describing model details, uploading new models or versions, updating metadata, and deleting models.
Before executing any commands on behalf of the user, you MUST adhere to the following safety tiers based on the action requested:
list, describe, get)
upload, update)
--region=us-central1,
--display-name="...") — natural-language paraphrases are NOT
sufficient.delete)
CRITICAL: Before running any commands, you MUST ensure the environment is correctly initialized by following these steps:
Google Cloud Authentication: Authenticate with your Google Cloud credentials and configure active Application Default Credentials (ADC) for Agent Platform access:
gcloud auth login
gcloud auth application-default login
Set Project: Configure the active project for subsequent commands:
gcloud config set project $PROJECT_ID
Region: Always specify --region=$LOCATION_ID on each command below.
Do NOT use global.
Use this command to discover existing models in the registry and retrieve their numeric IDs. No confirmation is required.
gcloud ai models list \
--region=$LOCATION_ID
Retrieve the full metadata for a specific model or version. No confirmation is required.
gcloud ai models describe $MODEL_ID \
--region=$LOCATION_ID
To target a specific version:
gcloud ai models describe ${MODEL_ID}@${VERSION_ID} \
--region=$LOCATION_ID
Register a new model or a new version of an existing model. This is a long-running operation. Action requires an inline confirmation card before proceeding.
gcloud ai models upload \
--region=$LOCATION_ID \
--display-name="my-custom-model" \
--container-image-uri="gcr.io/my-project/my-model:latest" \
--artifact-uri="gs://my-bucket/path/to/artifacts"
[!IMPORTANT] This is a Tier M operation — see [Safety & Confirmation Tiers] above.
To upload a new version of an existing model, use the --parent-model flag or
specify the parent model ID.
Update metadata fields like display name, description, or labels. Action requires an inline confirmation card before proceeding.
gcloud ai models update $MODEL_ID \
--region=$LOCATION_ID \
--display-name="new-display-name" \
--description="Updated description"
[!IMPORTANT] This is a Tier M operation — see [Safety & Confirmation Tiers] above.
Permanently delete a Model and all its versions. Action requires explicit typed confirmation before proceeding.
gcloud ai models delete $MODEL_ID \
--region=$LOCATION_ID
[!WARNING] This operation is irreversible. All model versions must be undeployed from all Endpoints before deletion.