Skip to content
Agentmart
Submit a tool

agent-platform-model-registry

Agent Platform Model Registry Management.

Skill by googleOfficial

IndexedApache-2.0★ 21,542
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/google-agent-platform-model-registry

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: ml, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-platform-model-registry

What's inside

Skill name
agent-platform-model-registry
Description
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.
License
Apache-2.0
Metadata
version: 1.0.1 · category: AiAndMachineLearning
Instructions
238 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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:

1.  **Tier R: Read-only (`list`, `describe`, `get`)**
    *   No confirmation needed. Execute immediately to gather information.
2.  **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
        `upload` or `update` in 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.
3.  **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.
4.  **Cost Estimation**: Model Registry operations manage catalog metadata and
    stored model artifacts without provisioning serving compute or endpoints. Do
    NOT call the `estimate_cost` tool for Model Registry actions, as
    `estimate_cost` is 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:

1.  **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 project` or `gcloud
    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.
2.  **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.
3.  **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.
4.  **Region and Project Flags**: Always pass `--region=$LOCATION_ID` and
    `--project=$PROJECT_ID` explicitly on all `gcloud ai models` commands. Do
    NOT use `global`.

## 1. Listing Models (Tier R)

Use this command to discover existing models in the registry and retrieve their
numeric IDs. No confirmation is required.

Always pass `--limit`. A project can hold thousands of models, and an unbounded
list pages through every one of them, which can take over a minute and return
hundreds of KB of output. Results come back most recently updated first, so
`--limit=50` returns the newest models in a few seconds.

```bash
gcloud ai models list \
    --region=$LOCATION_ID \
    --project=$PROJECT_ID \
    --limit=50
```

*   Keep `--limit=50` when the user asks to list "all" models, and say the reply
    shows the 50 most recently updated models. Do NOT page through the whole
    registry (with gcloud or `Model.list()`) unless the user asks for a count or
    the complete inventory; offer to look up a specific model by display name
    instead.
*   If the user pushes back and asks for the complete inventory, drop `--limit`
    and print one compact line per model with
    `--format="value(name.basename(),displayName)"`. Warn that this can take a
    minute or more in a large project.
*   If the user asks how many models there are, count the IDs without printing
    the list. There is no count API, so this still pages through every model
    (about a minute per 1,500 models); tell the user it may take a while. Do not
    run a `--limit` list first.

    ```bash
    gcloud ai models list \
        --region=$LOCATION_ID \
        --project=$PROJECT_ID \
        --format="value(name)" | wc -l
    ```
*   Do NOT use `--filter` or `--sort-by` to narrow the list. gcloud applies both
    client-side after fetching every page, so they are as slow as an unbounded
    list.
*   To find a model by display name (e.g. to confirm an upload or deletion),
    filter on the server with the Python SDK:

From google/skills, Apache-2.0.

More from google/skills

Signals

Stars
21,542
Forks
1,821
Open issues
21
Last commit (this folder)
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.1
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from google

Cite this page

agent-platform-model-registry skill. Agent Mart. https://agentmart.dev/skills/google-agent-platform-model-registry (last updated 2026-10-24)