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
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.
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.
Yes, the command supports non-interactive usage via flags or environment variables, making it suitable for automated CI/CD workflows.
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.
Yes, the `roles/run.servicesInvoker` role must be granted to the Discovery Engine service account for the Cloud Run service hosting the agent.
No, this skill only covers publishing and registration. Deployment should be handled using the separate `google-agents-cli-deploy` skill.
Quick Setup:
.claude/skills/Repository
google/agents-cli