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-registryInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
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.
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.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agent-platform-agent-registry (this skill)by google | 90 | 20.3k | 2mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 114.5k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 89.6k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 80.8k | today | CLAUDE.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.
Skill content
View source on GitHubname: 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
- Resolve session context — at the start of each session, silently run:
Store the results asgcloud config get-value project 2>/dev/null gcloud config get-value compute/region 2>/dev/nullSESSION_PROJECTandSESSION_LOCATIONand use them as defaults. - Parse the user's request to identify the target resource and action.
- Construct the
gcloudcommand or Kubernetes manifest using session defaults. See gcloud Command Reference for full flag synopses, command summary tables, and 60+ natural-language-to-command examples. - Documentation Fallback — if a user asks about a feature, flag, schema, or error message not covered in this skill, query the
developerknowledgeMCP server or public.md.txtdocumentation (see Documentation Fallback). - 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.
- Read-only commands (
- Execute and display the output.
Prerequisites, Auth, Billing, Region & IAM Permissions
- Cloud SDK: Requires
gcloud560.0.0+ (beta2026.03.09+ for Cloud Run automatic registration; ensuregcloudis up to date for GAgcloud agent-registry skills). Do not install or update tools or packages on the host without explicit user approval; ifgcloudis missing, sharehttps://docs.cloud.google.com/sdk/docs/install-sdk.md.txtand fall back to.md.txtdocumentation. - 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 athttps://docs.cloud.google.com/agent-registry/locations.md.txtandhttps://cloud.google.com/about/locations(note: Skills only supportglobal,us, oreu). - Authentication: Check active credentials first with
gcloud auth list. Becausegcloud auth loginandgcloud auth application-default loginlaunch interactive browser flows and stop responding in non-interactive shells, never execute them directly — if unauthenticated, ask the user to rungcloud auth login(for CLI sessions) orgcloud auth application-default login(for local Python ADK Application Default Credentials) in their own terminal, or configureGOOGLE_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 createcreates a writableServiceresource to manually register external or cross-projectAgent,McpServer, andEndpointresources in Agent Registry, and automatically projects a corresponding read-onlyAgent,McpServer, orEndpointcatalog entry (agentregistry-{ID}, returned inregistryResourceonservices 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:
- Base:
https://${SERVICE_ID}.googleapis.com - Base mTLS:
https://${SERVICE_ID}.mtls.googleapis.com - Locational:
https://${LOCATION}-${SERVICE_ID}.googleapis.com(omit when--location=global) - Locational mTLS:
https://${LOCATION}-${SERVICE_ID}.mtls.googleapis.com(omit when--location=global) - 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–63chars): Service IDs must match^[a-z][a-z0-9-]{2,61}[a-z0-9]$. For 3-letter APIs (iam,kms,run,dns), suffix theServiceID (e.g.,${SERVICE_ID}-api) while keeping${SERVICE_ID}in the endpoint URLs. - Global Location Guardrail: When
--location=global, include onlyBaseandBase mTLSso invalid regional DNS names are not registered. - IAP Egress Policy Target: Bind
roles/iap.egressorfor the Agent Identity to the projectedEndpointcatalog ID (endpoints/agentregistry-{UUID}fromregistryResourceonservices describe), not the user-chosenServiceID.
# 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
Agent-Reach
114.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
89.6kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
80.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
