google-agents-cli-publish
Skill by google
Publishes a deployed agent to the Gemini app with the agents-cli publish gemini command. It also manages agents and MCP servers in Agent Registry for developers working with ADK or A2A agents.
Install google-agents-cli-publish
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.claude/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-publish ~/.claude/skills/google-agents-cli-publishRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install google-agents-cli-publish in Claude Code
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-publish ~/.gemini/antigravity-cli/skills/google-agents-cli-publishAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install google-agents-cli-publish in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides publishing a deployed agent to the Gemini app using the agents-cli publish gemini command. It covers two registration modes. ADK registration lets the Gemini app invoke an Agent Runtime agent natively through :streamQuery. A2A registration uses an agent card URL and is the default on Cloud Run and GKE. The skill also documents the flag reference, programmatic and interactive usage, and auto-detection of values from deployment_metadata.json.
It also covers Agent Registry, the fleet-wide catalog of agents and MCP servers. It includes gcloud commands to list, describe, update and delete entries, and to register an external MCP server from a toolspec.json file. The skill is for developers who already have a deployed agent and want to register it with Gemini or manage it in Agent Registry. Deployment itself is handled by the google-agents-cli-deploy skill.
Written from the project's SKILL.md and checked against it.
What it can do
- ADK registrationRegisters an ADK agent on Agent Runtime so the Gemini app invokes it natively via :streamQuery.
- A2A registrationRegisters an agent from its agent card URL, for Cloud Run, GKE or other frameworks.
- Programmatic and interactive modesRuns non-interactively with flags or environment variables, or prompts for missing values with --interactive.
- Auto-detection from metadataReads the Agent Runtime ID and registration defaults from deployment_metadata.json.
- Agent Registry managementLists, describes, updates and deletes registered agents using gcloud agent-registry commands.
- MCP server registrationRegisters an external MCP server in Agent Registry by uploading a toolspec.json file.
- Troubleshooting guideLists common registration errors such as missing Gemini app IDs, 403 responses and unreachable agent cards.
What you need
- agents-cli installed with uv tool install google-agents-cli
- A deployed agent that is reachable
- A Gemini app created in the Google Cloud console
- roles/agentregistry.editor for managing Agent Registry entries
- Discovery Engine Editor permissions on the project hosting the Gemini app
Try asking
- Publish my deployed ADK agent to my Gemini app
- List the agents in my Agent Registry for this project
- Register my Cloud Run agent over A2A with Gemini
Good to know
- Live and voice (bidi) agents are not supported by the Gemini app and cannot be published.
- ADK registration applies only to ADK projects deployed to Agent Runtime.
- Agent Registry is in Preview according to the source.
- Deployment is not covered here and requires the google-agents-cli-deploy skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/google-agents-cli-publish/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to google-agents-cli-publish
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
google-agents-cli-publish: common questions
What is the difference between ADK and A2A registration?
ADK registration is the default for ADK agents on Agent Runtime and invokes the agent natively via :streamQuery. A2A registration uses an agent card URL and is the default on Cloud Run and GKE.
Can I publish a live or voice agent to Gemini?
No. The source says the Gemini app does not support live or voice (bidi) agents because it has no /run_live transport, so a text-based agent must be registered instead.
What happens if I publish the same agent twice?
Registration is idempotent. Re-running the command updates the existing registration in place instead of creating a duplicate.
How do I install google-agents-cli-publish?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-agents-cli-publish free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is google-agents-cli-publish safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-agents-cli-publish?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
