agent-platform-model-registry
Skill này làm gì
Skill quản lý các mục mô hình và phiên bản trong Model Registry của Agent Platform, gồm xem chi tiết và tải lên phiên bản mới. Skill dành cho các đội theo dõi mô hình đã huấn luyện trên Google Cloud.
Khi nào nên dùng
- ✓Khi bạn muốn xem những mô hình nào có trong registry Agent Platform của mình.
- ✓Khi bạn cần tải lên một phiên bản mới của mô hình vào registry.
- ✓Khi bạn muốn cập nhật hoặc gỡ metadata của một mô hình.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-model-registry/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Liệt kê các mô hình trong registry của tôi và cho tôi xem chi tiết phiên bản mới nhất.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Các lệnh chỉ đọc chạy ngay. Lệnh tải lên và cập nhật hiển thị đúng lệnh sẽ chạy và chờ bạn đồng ý trước khi thực thi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Agent Platform Model Registry Management
Overview
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.
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:
- Tier R: Read-only (
list,describe,get)- No confirmation needed. Execute immediately to gather information.
- Tier M: Mutating & Reversible (
upload,update)- Requires interactive confirmation with 'Yes'/'No' options. The
confirmation prompt MUST contain the exact, literal command string with
all required flags (e.g.
--region=us-central1,--project=...,--display-name="...") — natural-language paraphrases are NOT sufficient. - Same-turn restriction: NEVER execute the command in the same turn as
receiving the request or presenting the confirmation prompt! In Turn 1,
you MUST ONLY present the interactive confirmation card with the exact,
literal command string. Stop and wait for the user's reply; only execute
in the subsequent turn after explicit 'Yes' / approval. Executing
uploadorupdatein Turn 1 without prior confirmation is strictly prohibited. - Mid-flow parameter changes / rejection: If the user rejects the prompt or changes any parameters (e.g., display name, description, parent model), do NOT execute the old command. Adapt immediately and present a NEW confirmation prompt with the updated literal command and wait for approval.
- Requires interactive confirmation with 'Yes'/'No' options. The
confirmation prompt MUST contain the exact, literal command string with
all required flags (e.g.
- Tier D: Destructive & Irreversible (
delete)- Requires explicit typed confirmation (e.g. "I confirm" or "Yes, delete it"). Ask for confirmation IMMEDIATELY — before any pre-flight checks (don't check if the model is deployed to endpoints first).
- Same-turn restriction: NEVER execute in the same turn as asking for typed confirmation. Wait for the user to reply in a new turn.
- Mid-flow target changes: If the user changes their mind (e.g., "delete the second model instead"), do NOT delete the first model. Present a fresh typed confirmation prompt for the newly selected model ID and wait for approval.
- Cost Estimation: Model Registry operations manage catalog metadata and
stored model artifacts without provisioning serving compute or endpoints. Do
NOT call the
estimate_costtool for Model Registry actions, asestimate_costis designed for serving infrastructure (endpoints/batch prediction) and will return an error if called for registry operations. If including cost in the preview card, state that Model Registry operations incur no serving compute charges ($0.00 compute charges; standard Cloud Storage pricing applies to model artifacts).
Phase 0: Environment Setup & Parameter Resolution
CRITICAL: Before running any commands, verify that all necessary parameters are known:
- Missing Region or Project: Follow the base environment grounding policy:
if a session location or project is already set from prior turns, reuse it
without re-asking. If missing from both prompt and session context, at most
one direct lookup is permitted (e.g.
gcloud config get projectorgcloud config get compute/region). If still unresolved or ambiguous, pause and explicitly ask the user for the missing parameter before executing mutating or resource-specific commands. - Missing Model ID: If the user asks to update or describe a model without providing the model ID, pause and ask the user for the model ID, or offer to list models first to help them find it.
- Placeholder Substitution: If the user's requested display name contains
a placeholder token (e.g.,
<unique-suffix>,[suffix], or<timestamp>), generate a short unique alphanumeric string or timestamp and substitute it cleanly. Never pass unexpanded literal placeholder tokens to the API. - Region and Project Flags: Always pass
--region=$LOCATION_IDand--project=$PROJECT_IDexplicitly on allgcloud ai modelscommands. Do NOT useglobal.
1. Listing Models (Tier R)
Use this command to discover exi
Câu hỏi thường gặp
Skill có thay đổi mô hình mà không hỏi không?
Không. Việc tải lên và cập nhật cần bạn xác nhận trước khi lệnh chạy.
Skill có huấn luyện hoặc triển khai mô hình không?
Không. Huấn luyện và triển khai nằm ngoài skill này.
Skill có quản lý mô hình ngoài Agent Platform không?
Không. Skill chỉ dành cho mô hình trong Model Registry của Agent Platform.
Chi tiết
Mô tả gốc của tác giả
Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10205
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.