Back to Skills

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. Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, and troubleshooting. Part of the Google ADK (Agent Development Kit) skills suite. Do NOT use for deployment (use google-agents-cl

2,079stars246forksUpdated 5/6/2026

Security Assessment

Safe(100/100)
Security Score100/100

About google-agents-cli-publish

The `google-agents-cli-publish` skill provides a structured approach for publishing and registering agents with Gemini Enterprise. It is specifically designed to guide users through the process of publishing ADK agents or agents using the Agent-to-Agent (A2A) protocol, ensuring that all necessary metadata, permissions, and deployment requirements are correctly handled. By automating registration and offering guidance on both interactive and programmatic usage, this skill simplifies the complex steps involved in agent registration, helping users avoid common errors and misconfigurations. It addresses the challenge of integrating deployed agents into Gemini Enterprise, covering both Cloud Run and Agent Runtime environments, and makes the registration process repeatable and CI/CD friendly.

FAQ

What types of agents can be published using this skill?

This skill supports both standard ADK agents deployed to Agent Runtime and agents using the Agent-to-Agent (A2A) protocol. ADK agents require the agent runtime ID, while A2A agents require an agent card URL.

Can this skill be used in CI/CD pipelines?

Yes, the command supports non-interactive usage via flags or environment variables, making it suitable for automated CI/CD workflows.

What prerequisites are required before publishing an agent?

The agent must be deployed and reachable, the Gemini Enterprise app must exist in Google Cloud Console, and for Agent Runtime, `deployment_metadata.json` must be available.

Are there specific permissions required for A2A registration on Cloud Run?

Yes, the `roles/run.servicesInvoker` role must be granted to the Discovery Engine service account for the Cloud Run service hosting the agent.

Does this skill handle deployment of agents?

No, this skill only covers publishing and registration. Deployment should be handled using the separate `google-agents-cli-deploy` skill.

Install google-agents-cli-publish

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill