Chuyển đến nội dung
Skillpedia
Agent22k · #10306

google-agents-cli-onboarding

Skill này làm gì

Skill này là điểm bắt đầu để xây dựng AI agent với bộ công cụ agents-cli của Google. Skill dành cho lập trình viên muốn tạo, kiểm thử và triển khai một agent trên Agent Platform của Google.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một agent mới hoặc xây dựng một agent bằng bộ phát triển ADK.
  • ✓Khi bạn cần chạy, gỡ lỗi, kiểm thử hoặc đánh giá một agent bạn đang xây dựng.
  • ✓Khi bạn muốn triển khai hoặc giám sát một agent trên Agent Platform của Google.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/google-agents-cli-onboarding/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn xây một AI agent bằng ADK trên Google Cloud. Tôi nên bắt đầu từ đâu, và thiết lập các công cụ như thế nào?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy một lệnh thiết lập một lần, cài CLI và các skill agent chuyên biệt. Sau đó skill chuyển từng giai đoạn phát triển, như xây dựng, kiểm thử hoặc triển khai, đến skill phù hợp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Lệnh thiết lập là gì?

uvx google-agents-cli setup, lệnh này cài CLI và bật các skill.

Tôi có thể chỉ cài các skill không?

Có. Chạy npx skills add google/agents-cli chỉ thêm các skill chuyên gia.

Skill bao gồm những gì?

Toàn bộ vòng đời phát triển, gồm tạo, chạy, đánh giá, triển khai và giám sát agent.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10306
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự