Onboarding entrypoint for agents-cli in Agent Platform. It should be used when the user wants to "create a new agent", "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "evaluate an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs the ADK (Agent Development Kit) development lifecycle.
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
[!TIP] One-Time Setup: To install the CLI and enable all 7 specialized development skills in your coding agent, run the setup command:
uvx google-agents-cli setupAlternatively, to install only the expert skills and let the agent handle execution:
npx skills add google/agents-cli
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-agents-cli-onboarding)"
and append agent-skills/1.0 (skill:google-agents-cli-onboarding) to User-Agent headers.
This skill serves as the entrypoint for agents-cli — Google's toolkit for building, evaluating, and deploying AI agents on the Gemini Enterprise Agent Platform.
Use this skill to perform the initial setup and identify the correct specialized workflows for your task.
After running the setup, the following specialized skills become available and will activate automatically based on your requests. Use this table to identify which skill to load for your current phase:
| Phase | Specialized Skill | Purpose / When to Load |
|---|---|---|
| 0 — Understand | google-agents-cli-workflow |
Clarify intent. Define the agent spec in .agents-cli-spec.md before coding. |
| 1 — Study | google-agents-cli-workflow |
Leverage samples. Study existing agent samples (e.g., ambient-expense) before scaffolding. |
| 2 — Scaffold | google-agents-cli-scaffold |
Create/Enhance. Initialize the project structure, CI/CD, and infrastructure templates. |
| 3 — Build | google-agents-cli-adk-code |
Implement. Write agent logic, tools, callbacks, and manage state using ADK APIs. |
| 4 — Evaluate | google-agents-cli-eval |
Validate Quality. Run systematic evaluations (LLM-as-judge). |
| 5 — Deploy | google-agents-cli-deploy |
Go Production. Deploy to Agent Runtime (Vertex AI), Cloud Run, or GKE. |
| 6 — Publish | google-agents-cli-publish |
Register. Make your agent available as a tool in Gemini Enterprise. |
| 7 — Observe | google-agents-cli-observability |
Monitor. Set up Cloud Trace, prompt-response logging, and BigQuery analytics. |
Below are the primary commands you will use throughout the development lifecycle:
| Command | Description |
|---|---|
agents-cli setup |
Install the CLI and configure skills in your coding agent. |
agents-cli scaffold <name> |
Create a new agent project from a template. |
agents-cli eval run |
Run the agent and grade the traces in a single step (generate + grade). |
agents-cli deploy |
Deploy your agent to Google Cloud (Agent Runtime, Cloud Run, GKE). |
agents-cli publish gemini-enterprise |
Register your deployed agent with Gemini Enterprise. |
For the full list of available commands and global options, run agents-cli --help.
Follow this sequence to initiate the development workflow:
uvx or npx command in the [!TIP] box above
to install the CLI and enable the specialized skills in your environment.agents-cli info to confirm the installation
and view the active project configuration..agents-cli-spec.md before writing any code.Report bugs or improvements at Google Agents CLI Issues.
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /google-agents-cli-onboarding in Claude Code or $google-agents-cli-onboarding in Codex.
Copy the google-agents-cli-onboarding folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/google-agents-cli-onboarding .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if google-agents-cli-onboarding does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/google-agents-cli-onboarding .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for google-agents-cli-onboarding and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
google-agents-cli-onboarding ships 2 files, 6.3 KB in total. Select a file to load it from GitHub.