installskill

Skills / google/agents-cli

google-agents-cli-publish

Publishes agents to Gemini and manages agents in Agent Registry with the agents-cli publish command.

Pinned commit
ea7a3c9003d1Committed 2026-11-24
Files
112 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". 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 agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install google/agents-cli skills/google-agents-cli-publish --agent claude-code --pin ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76

gh picks the directory for the agent, names the folder after the source directory (google-agents-cli-publish), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 6bb77dd78b08bfd3123742d0938fac7aba114f0e.

skills CLIpinned

$ npx skills add google/agents-cli@ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76 --skill google-agents-cli-publish -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/google/agents-cli.git "$tmp"
$ git -C "$tmp" checkout --quiet ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/google-agents-cli-publish" .claude/skills/google-agents-cli-publish

No extra tooling. Files land byte for byte as published in .claude/skills/google-agents-cli-publish, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/google-agents-cli-publish && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expectedf42acaa4832de7d86e34cfe1269e418806f1422783a0f276034ee2cbe8b47d94

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

SKILL.md · 1

Runs commands7

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 7 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages1

Commands that pull and run third-party packages at use time.

0 in scripts · 1 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • docs.cloud.google.com×2
  • my-service-abc123.us-east1.run.app×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
f42acaa4832de7d86e34cfe1269e418806f1422783a0f276034ee2cbe8b47d94
Git tree SHA
6bb77dd78b08bfd3123742d0938fac7aba114f0e
PathKindSizeSHA-256
SKILL.mdSKILL.md12 KB13cfadd96a2ade68…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
651limit 1,024 characters
SKILL.md body
190 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.