跳到正文
Skillpedia
智能体22k · #10306

google-agents-cli-onboarding

它能做什么

这个技能是使用 Google agents-cli 工具包构建 AI 智能体的起点。它适用于想在 Google 的 Agent Platform 上创建、测试和部署智能体的开发者。

适用场景

  • ✓当你想创建新智能体,或用 ADK 开发工具包构建智能体的时候。
  • ✓当你需要运行、调试、测试或评估正在构建的智能体的时候。
  • ✓当你想在 Google 的 Agent Platform 上部署或监控智能体的时候。

技能链接

https://github.com/google/skills/blob/main/skills/cloud/google-agents-cli-onboarding/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/google-agents-cli-onboarding/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想用 ADK 在 Google Cloud 上构建一个 AI 智能体。我应该从哪里开始,又该如何设置这些工具?”

每周 5 个新技能,1 分钟读完。

工作原理

它运行一次性的设置命令,安装 CLI 并启用专门的智能体技能。然后它会把每个开发阶段(例如构建、测试或部署)交给正确的技能处理。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Google Agents CLI Onboarding

[!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 setup

Alternatively, to install only the expert skills and let the agent handle execution:

npx skills add google/agents-cli

Attribution

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.

Overview

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.

The Agent Development Lifecycle

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.

Key CLI Commands

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.

Next Steps

Follow this sequence to initiate the development workflow:

  1. Execute Setup: Run the uvx or npx command in the [!TIP] box above to install the CLI and enable the specialized skills in your environment.
  2. Verify Installation: Run agents-cli info to confirm the installation and view the active project configuration.
  3. Initiate Phase 0: Ask the user for their core requirements (agent purpose, external tools, deployment target) and document them in .agents-cli-spec.md before writing any code.

Reporting Issues

Report bugs or improvements at Google Agents CLI Issues.

Supporting Links

常见问题

设置命令是什么?

uvx google-agents-cli setup,它会安装 CLI 并启用这些技能。

我可以只安装技能吗?

可以。运行 npx skills add google/agents-cli 只会添加专家技能。

它涵盖什么?

整个开发生命周期,包括创建、运行、评估、部署和监控智能体。

详情

作者的原始描述

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.

repo: google/skills

热度

GitHub 星标
22k
排名
#10306
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能