Agent skill · software engineering · aiskillstore

google-agents-cli-publish

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini Enterprise", "publish to Gemini Enterprise", or needs guidance on the agents-cli publish gemini-enterprise command. Also use when the user wants to "manage agents in Agent Registry" or "list/update/delete registered agents". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the Google ADK (Agent Development Kit) skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

Why this skill is useful

Provides specific commands and flags for managing agents in Gemini Enterprise that the AI wouldn't reliably generate on its own.

What it needs

Requires agents-cli installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Gemini Enterprise Registration Requires: A deployed agent. For Agent Runtime, deploymentmetadata.json (created by agents-cli deploy) enables auto-detection. For Cloud Run or GKE, provide the agent card URL and flags directly. Prerequisites 1. Agent must be deployed — the agent must be running and reachable 2. Gemini Enterprise app must exist — Create one in Google Cloud Console → Gemini Enterprise → Apps before registering 3. deploymentmetadata.json (Agent Runtime only) — Created automatically by agents-cli deploy; contains the agent runtime ID, deployment target, and A2A flag Required Permissions for A2A on Cloud Run roles/run.servicesInvoker granted to the Discovery Engine service account (service-<PROJECTNUMBER>@gcp-sa-discoveryengine.iam.gserviceaccount.com) on the Cloud Run service. --- Registration Modes ADK Registration (default) For standard ADK agents deployed to Agent Runtime. The agent is registered directly via its reasoning engine resource name. A2A Registration For agents using the Agent-to-Agent protocol. Requires an agent card URL — the command fetches the card and registers it. --- Programmatic Mode (CI/CD) The command is non-interactive by default — pass all required values via flags or environment variables. This makes it safe for CI/CD pipelines. Via flags Via environment variables Most flags have an env var alternative (--metadata-file, --interactive, and --list do not): --- Interactive Mode (--interactive) Pass --interactive (or -i) to be guided through any missing values with interactive prompts. The command will list available Gemini Enterprise apps, offer to auto-detect the agent runtime ID from metadata, and prompt for display name and description. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/google-agents-cli-publish

View the source on GitHub

Browse the @skills marketplace