SkillAgentSearch skills...

agent-platform-agent-registry

Manages Google Cloud Agent Registry (agentregistry.googleapis.com) resources using gcloud CLI and Kubernetes manifests, including agents, MCP servers, endpoints, services, bindings, AI applications, skills and skill revisions, resource-level IAM policies, Cloud Run and GKE automatic workload registr…

Install / Use

npx skills add google/skills --skill agent-platform-agent-registry

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

90/100

Category

Automation

Supported Platforms

Universal

Our assessment of agent-platform-agent-registry

agent-platform-agent-registry scores 90/100 on our quality scale, 1121st of 2,760 Automation skills we index (top 41%).

Its SKILL.md is 33 KB long, well organised into 47 sections with 14 code examples: a thorough specification that gives an agent plenty to work with.

With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
18/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so agent-platform-agent-registry is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

agent-platform-agent-registry compared with similar skills

All 4 of these similar skills score higher than agent-platform-agent-registry; compare them before choosing.

SkillScoreStarsUpdatedFormat
agent-platform-agent-registry (this skill)by google9020.3k2mo agoSKILL.md
Agent-Reachby Panniantong100114.5ktodayCLAUDE.md
hyperframesby heygen-com10089.6ktodayCLAUDE.md
rufloby ruvnet10082.4ktodayCLAUDE.md
headroomby headroomlabs-ai10080.8ktodayCLAUDE.md

Frequently asked questions

How do I install agent-platform-agent-registry?
Run npx skills add google/skills --skill agent-platform-agent-registry. The install tabs above show the steps for each supported agent.
Which AI agents does agent-platform-agent-registry work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is agent-platform-agent-registry safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is agent-platform-agent-registry still maintained?
The repository was last updated about 2 months ago, so agent-platform-agent-registry is actively maintained.

name: agent-platform-agent-registry description: >- Manages Google Cloud Agent Registry (agentregistry.googleapis.com) resources using gcloud CLI and Kubernetes manifests, including agents, MCP servers, endpoints, services, bindings, AI applications, skills and skill revisions, resource-level IAM policies, Cloud Run and GKE automatic workload registration, Cloud Resource Manager management boundaries, 5-endpoint Quick Add for Agent Gateway, and Python ADK integration. Use when registering, discovering, searching, filtering, or governing agents, MCP servers, endpoints, skills, AI applications, or management boundaries in Google Cloud Agent Registry. Don't use for the preview AI Platform Skill Registry Python scripts (use agent-platform-skill-registry), deploying raw Vertex AI Agent Engine code (use agent-platform-deploy), or runtime trace debugging (use agent-platform-troubleshooting). metadata: version: "1.0.0" category: AiAndMachineLearning

<!-- disableFinding(LINE_OVER_80) -->

Google Cloud Agent Registry

Interact with Google Cloud Agent Registry using gcloud agent-registry (agents, mcp-servers, services, endpoints, bindings, skills, findings, publishers, ai-applications, operations), gcloud beta run (--functional-type and --identity-type for automatic registration of Cloud Run services and jobs), Kubernetes manifests and scripts/annotate_gke.py (GKE automatic registration), gcloud resource-manager (boundary-configs, capability-configs, boundaries, and tags bindings for management boundaries), and Python ADK (google-adk).

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Workflow

  1. Resolve session context — at the start of each session, silently run:
    gcloud config get-value project 2>/dev/null
    gcloud config get-value compute/region 2>/dev/null
    
    Store the results as SESSION_PROJECT and SESSION_LOCATION and use them as defaults.
  2. Parse the user's request to identify the target resource and action.
  3. Construct the gcloud command or Kubernetes manifest using session defaults. See gcloud Command Reference for full flag synopses, command summary tables, and 60+ natural-language-to-command examples.
  4. Documentation Fallback — if a user asks about a feature, flag, schema, or error message not covered in this skill, query the developerknowledge MCP server or public .md.txt documentation (see Documentation Fallback).
  5. Approval:
    • Read-only commands (list, describe, search, get-iam-policy): Execute immediately without asking for approval.
    • Mutating commands (create, delete, update, deploy, set-iam-policy, add-iam-policy-binding, remove-iam-policy-binding): Display the exact command and ask: "Ready to run this command? (yes/no)"
    • Multi-task requests: Always output the commands for every requested task in the same response before asking for approval.
  6. Execute and display the output.

Prerequisites, Auth, Billing, Region & IAM Permissions

  • Cloud SDK: Requires gcloud 560.0.0+ (beta 2026.03.09+ for Cloud Run automatic registration; ensure gcloud is up to date for GA gcloud agent-registry skills). Do not install or update tools or packages on the host without explicit user approval; if gcloud is missing, share https://docs.cloud.google.com/sdk/docs/install-sdk.md.txt and fall back to .md.txt documentation.
  • Billing & Pricing: The target project must be linked to an active Google Cloud Billing account. For Cloud Run, GKE, or Vertex AI pricing, direct users to https://cloud.google.com/pricing.
  • Region & Location Availability: Configure a default region (gcloud config set compute/region us-central1) and verify supported regions at https://docs.cloud.google.com/agent-registry/locations.md.txt and https://cloud.google.com/about/locations (note: Skills only support global, us, or eu).
  • Authentication: Check active credentials first with gcloud auth list. Because gcloud auth login and gcloud auth application-default login launch interactive browser flows and stop responding in non-interactive shells, never execute them directly — if unauthenticated, ask the user to run gcloud auth login (for CLI sessions) or gcloud auth application-default login (for local Python ADK Application Default Credentials) in their own terminal, or configure GOOGLE_APPLICATION_CREDENTIALS.
# Check active authentication status first (read-only)
gcloud auth list

# If unauthenticated, ask the user to run these interactively in their terminal:
# gcloud auth login
# gcloud auth application-default login
gcloud config set project PROJECT_ID
gcloud config set compute/region us-central1
gcloud services enable agentregistry.googleapis.com

| Role | Access Level | |------|--------------| | roles/agentregistry.admin | Full administrative access across all Agent Registry resources, including bindings, skill scan findings, and resource-level IAM policies (aiApplications.{getIamPolicy,setIamPolicy} and skills.{getIamPolicy,setIamPolicy}) | | roles/agentregistry.editor | Register and update agents, MCP servers, endpoints, services, skills, skill revisions, and AI Applications (excludes bindings, scan findings, and IAM policy mutations) | | roles/agentregistry.viewer | Read-only access (get, list, search) to agents, MCP servers, endpoints, services, bindings, skills, skill revisions, publishers, and AI Applications | | roles/agentregistry.user | Agent Registry User — least-privilege GA role granting read-only viewer access across Agent Registry plus permissions to create, update, and delete standalone skills, skill revisions, and scanning settings without edit access to agents, MCP servers, or endpoints | | roles/run.admin + roles/apphub.admin + roles/iam.serviceAccountUser | Deploy or update Cloud Run services and jobs with --functional-type and --identity-type | | roles/resourcemanager.editor | Create and update BoundaryConfig, CapabilityConfig, and Boundary on the parent folder or organization | | roles/resourcemanager.viewer | Read BoundaryConfig, CapabilityConfig, and Boundary resources | | roles/resourcemanager.tagUser | Bind or unbind tag values (tags bindings create/delete) on projects | | roles/owner or roles/editor | Required on a candidate Bring-Your-Own project to associate it as a Management Project |


Resource Types & Registration

  • Manual Registration (services create): gcloud agent-registry services create creates a writable Service resource to manually register external or cross-project Agent, McpServer, and Endpoint resources in Agent Registry, and automatically projects a corresponding read-only Agent, McpServer, or Endpoint catalog entry (agentregistry-{ID}, returned in registryResource on services describe) used for runtime discovery and IAP/Agent Gateway policies.

1. MCP Servers

If the user has not provided the MCP tool spec JSON yet, ask: "Please paste the contents of your MCP server spec JSON file." and preview the command template using 'PASTE_MCP_SPEC_JSON_HERE':

# Register an MCP Server (mutating — ask for approval first)
gcloud agent-registry services create my-mcp-service \
  --location=us-central1 \
  --display-name="My MCP Server" \
  --description="Connects to an external MCP server" \
  --mcp-server-spec-type=tool-spec \
  --mcp-server-spec-content='PASTE_MCP_SPEC_JSON_HERE' \
  --interfaces='[{"protocolBinding": "jsonrpc", "url": "https://mcp.example.com/v1"}]'

# List Regional or Global MCP Servers (read-only — execute immediately)
gcloud agent-registry mcp-servers list --location=us-central1
gcloud agent-registry mcp-servers list --location=global

2. Agents

For A2A agents, if the user has not pasted agent_card.json yet, ask: "Please paste the contents of your agent_card.json file." and preview the command template using 'PASTE_AGENT_CARD_JSON_HERE':

# Register a Standard Agent (no-spec)
gcloud agent-registry services create my-custom-agent \
  --location=us-central1 \
  --display-name="My Custom Agent" \
  --description="Custom HTTP JSON agent" \
  --agent-spec-type=no-spec \
  --interfaces='[{"protocolBinding": "http-json", "url": "https://agent.example.com/v1"}]'

# Register an A2A Agent (a2a-agent-card)
gcloud agent-registry services create my-a2a-agent \
  --location=us-central1 \
  --display-name="My A2A Agent" \
  --description="Sample A2A Agent" \
  --agent-spec-type=a2a-agent-card \
  --agent-spec-content='PASTE_AGENT_CARD_JSON_HERE'

# List Regional or Global Agents
gcloud agent-registry agents list --location=us-central1
gcloud agent-registry agents list --location=global

3. Endpoints, Services & Quick Add GCP Service (Composite Agent Gateway Registration)

# Register a single Endpoint, list/describe/update/delete Services, and inspect Operations
gcloud agent-registry services create gemini-models --location=us-central1 \
  --display-name="Vertex AI Model Garden" --description="List of all models in Vertex AI Model Garden" \
  --endpoint-spec-type=no-spec \
  --interfaces='[{"protocolBinding": "jsonrpc", "url": "https://us-central1-aiplatform.googleapis.com/v1beta1/publishers/*/models"}]'
gcloud agent-registry endpoints list --location=us-central1
gcloud agent-registry services list --location=us-central1
gcloud agent-registry services describe gemini-models --location=us-central1
gcloud agent-registry services update gemini-models --display-name="Model Garden on Vertex AI" --location=us-central1
gcloud agent-registry services delete gemini-models --location=us-central1
gcloud agent-registry operations list --location=us-central1
gcloud agent-registry operations describe OPERATION_ID --location=us-central1

Quick Add GCP Service (All 5 Endpoint URL Variants)

When an agent runs behind a governed Agent Gateway (default-deny egress), Google Cloud SDKs dynamically resolve endpoints across up to 5 hostname variants:

  1. Base: https://${SERVICE_ID}.googleapis.com
  2. Base mTLS: https://${SERVICE_ID}.mtls.googleapis.com
  3. Locational: https://${LOCATION}-${SERVICE_ID}.googleapis.com (omit when --location=global)
  4. Locational mTLS: https://${LOCATION}-${SERVICE_ID}.mtls.googleapis.com (omit when --location=global)
  5. Regional REP: https://${SERVICE_ID}.${LOCATION}.rep.googleapis.com (omit when --location=global)

Register a single composite Service containing all applicable variants using scripts/quick-add-gcp-service.sh or gcloud agent-registry services create (always previewing and asking for approval first):

  • Service ID Length (4–63 chars): Service IDs must match ^[a-z][a-z0-9-]{2,61}[a-z0-9]$. For 3-letter APIs (iam, kms, run, dns), suffix the Service ID (e.g., ${SERVICE_ID}-api) while keeping ${SERVICE_ID} in the endpoint URLs.
  • Global Location Guardrail: When --location=global, include only Base and Base mTLS so invalid regional DNS names are not registered.
  • IAP Egress Policy Target: Bind roles/iap.egressor for the Agent Identity to the projected Endpoint catalog ID (endpoints/agentregistry-{UUID} from registryResource on services describe), not the user-chosen Service ID.
# Option A: Bundled Quick Add helper script (handles 3-letter APIs, --location=global, and --dry-run)
./scripts/quick-add-gcp-service.sh --service=aiplatform --location=us-central1 --project=PROJECT_ID

# Option B: Single composite gcloud command (all 5 varia

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars20.3k
CategoryAutomation
Updated2mo ago
Forks1.7k

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions