Google's entrypoint skill for building ADK agents with agents-cli: a phased lifecycle from spec and recipes through scaffold, build, eval, deploy, publish and observe, with code-preservation rules and a debugging routine.
Agents CLI Publish to Gemini Skill
Google's agents-cli skill for registering a deployed ADK or A2A agent with the Gemini app (formerly Gemini Enterprise) and managing agents and MCP servers in Agent Registry.
Install
Other ways to install
About
- Registers deployed agents with the Gemini app via agents-cli publish gemini
- ADK mode with auto-detection from deployment_metadata.json
- A2A mode for Cloud Run and GKE, including the required IAM role
- Programmatic CI/CD use through flags or environment variables
- Agent Registry management, including registering external MCP servers
This skill belongs to the agents-cli suite in Google's google/agents-cli repository and covers the step after deployment: making an agent available in the Gemini app, formerly Gemini Enterprise, with agents-cli publish gemini. It requires the agents-cli binary (installed with uv tool install google-agents-cli) and an agent that is already deployed and reachable; deployment itself is left to the google-agents-cli-deploy skill.
It explains the two registration modes. ADK registration is the default for agents on Agent Runtime, where the deployment_metadata.json written by agents-cli deploy lets the command auto-detect the runtime ID and target. A2A registration is for agents on Cloud Run or GKE, where you pass the agent card URL (the path differs between Python and Go projects) and must grant the Discovery Engine service account roles/run.servicesInvoker. Live or voice agents are not supported because the Gemini app has no bidirectional transport.
Beyond the first publish it documents programmatic use in CI/CD through flags or environment variables, an interactive mode, a complete flag reference, and fleet management in Agent Registry: listing and updating agents, registering an external MCP server with an uploaded tool spec, and removing entries. A troubleshooting section closes it. Apache-2.0 licensed; version 1.15.0 at the time of listing.
SKILL.md
The instructions your agent loads, as published by Google.
Related Skills
See all Agents CLI Publish to Gemini alternativesGoogle's agents-cli skill for creating, enhancing and upgrading ADK agent projects: scaffold create with the adk_python or adk_go template, deployment targets (Agent Runtime, Cloud Run, GKE), CI/CD runners and a prototype-first workflow.
Google's skill for deploying agents with agents-cli to Agent Runtime, Cloud Run or GKE: choosing a target, CI/CD pipelines, service accounts, secrets, rollback, Agent Gateway and production troubleshooting.
Skill: Gemini API in Agent Platform
by Google Cloud
Google's official skill for calling Gemini on Agent Platform (formerly Vertex AI) with the Gen AI SDK — Python, JS/TS, Go, Java and C#, plus tools, multimodal input and the Live API.
