google-agents-cli-workflow
Fungsinya
Skill ini adalah panduan utama untuk membangun, menguji, menerapkan, dan memantau agent dengan Agent Development Kit milik Google. Skill ini ditujukan untuk pengembang yang menginginkan urutan langkah yang jelas dari ide hingga agent yang berjalan.
Kapan dipakai
- βSaat Anda ingin membangun agent AI dengan Agent Development Kit dari awal hingga akhir.
- βKetika Anda perlu menjalankan, men-debug, atau menguji agent secara lokal.
- βSaat Anda ingin tahu skill mana yang dipakai untuk setiap tahap proyek agent.
Link skill
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-workflow/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPandu saya membangun agent ADK untuk pengembalian barang pelanggan, mulai dari perencanaan dan penyiapan hingga menjalankannya secara lokal.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mencantumkan tahap-tahap pengembangan agent dan menunjuk ke skill yang sesuai untuk masing-masing tahap. Ia meminta Anda memperjelas kebutuhan terlebih dahulu, lalu membuat kerangka proyek dan menjalankan agent melalui setiap tahap.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Agent Development Workflow & Guidelines
agents-cli is a CLI and skills toolkit for building, evaluating, and deploying agents on Google Cloud. It works with any coding agent β Antigravity CLI, Claude Code, Codex, or others β and with the agent framework of your choice (the Agent Development Kit (ADK) by default). Install with uvx google-agents-cli setup.
Before writing agent code, make sure a scaffolded project exists (see Phase 2). Skipping scaffolding loses eval boilerplate, CI/CD config, and project conventions.
Requires: google-agents-cli
= 1.12.0 If version is behind, run: uv tool install "google-agents-cli=1.12.0"
Check version: agents-cli info Install uv first if needed.
Session Continuity & Skill Cross-References
Re-read the relevant skill before each phase β not after you've already started and hit a problem. Context compaction may have dropped earlier skill content. If skills are not available, run uvx google-agents-cli setup to install them.
| Phase | Skill | When to load |
|---|---|---|
| 0 β Understand | β | No skill needed β read .agents-cli-spec.md if present, else clarify goals with the user |
| 1 β Study recipes | /google-agents-cli-adk-code |
Load it during design, before scaffolding. Python: the references/recipes.md topic index maps a need to the recipe that implements it. Go: the upstream examples/ are the equivalent. Yes, load this early. |
| 2 β Scaffold | /google-agents-cli-scaffold |
Before creating or enhancing a project |
| 3 β Build | /google-agents-cli-adk-code |
Before writing agent code β API patterns, tools, callbacks, state |
| 4 β Evaluate | /google-agents-cli-eval |
Before running any eval β dataset schema, metrics, eval-fix loop |
| 5 β Deploy | /google-agents-cli-deploy |
Before deploying β target selection, troubleshooting 403/timeouts |
| 6 β Publish | /google-agents-cli-publish |
After deploying, if registering with Gemini (optional) |
| 7 β Observe | /google-agents-cli-observability |
After deploying β traces, logging, monitoring setup |
Setup
If agents-cli is not installed:
uv tool install google-agents-cli
uv command not found
Install uv following the official installation guide.
Product name mapping
Users name products inconsistently (Vertex AI or Agent Platform β Gemini platform, Agent Engine or Agent Runtime β Agent Runtime in Gemini platform, etc.). Map user terms to CLI values using references/terminology.md.
Phase 0: Understand
Before writing or scaffolding anything, understand what you're building β through a design dialogue, not a checklist. Load references/brainstorming.md and follow it: ask one question at a time, propose 2β3 architecture approaches for non-trivial agents, and validate the design before any scaffolding.
If .agents-cli-spec.md exists in the current directory, read it β it is your primary source of truth. Otherwise:
Do NOT proceed to planning, scaffolding, or coding until the user approves the spec. Do not assume, research, or fill in the blanks yourself β the user's intent drives everything.
Scale the ceremony to complexity: a trivial agent (single tool, fixed persona) needs only a couple of questions, a 2β3 sentence spec, and one approval; a complex agent (multi-agent, RAG, external APIs/auth, safety-critical) gets the full treatment in references/brainstorming.md.
Topics to cover (one question at a time, adapting to the user β see the playbook):
- What problem will the agent solve? β Core purpose and capabilities
- External APIs or data sources needed? β Tools, integrations, auth requirements
- Safety constraints? β What the agent must NOT do, guardrails
- Deployment preference? β Prototype first (recommended) or full deployment? If deploying: Agent Runtime, Cloud Run, or GKE?
Ask based on context:
- If the agent needs a capability the scaffold doesn't ship β retrieval over your data, sandboxed code execution, memory across sessions, OAuth consent, safety guardrails, event-driven triggers β that capability comes from a clone-and-study recipe, not a scaffold flag. Look the need up in the topic index in
/google-agents-cli-adk-codeβ `references/recipe
Pertanyaan umum
Apakah ini dimulai dengan proyek?
Deskripsinya menyebutkan bahwa kerangka proyek harus ada sebelum kode agent ditulis, sehingga skill ini menyiapkannya.
Kerangka kerja apa yang dipakainya?
Ia memakai Agent Development Kit secara default, dan deskripsinya menyebutkan kerangka kerja lain juga mungkin.
Perintah apa yang memasangnya?
Deskripsinya menyarankan menjalankan perintah penyiapan dengan uvx, setelah memasang uv jika diperlukan.
Detail
Deskripsi asli dari pembuat
This skill should be used when the user wants to "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs the ADK (Agent Development Kit) development lifecycle and coding guidelines. Entrypoint for building ADK agents. Always active β provides the full workflow (scaffold, build, evaluate, deploy, publish, observe), code preservation rules, model selection guidance, and troubleshooting steps for ADK or any agent development.
repo: google/agents-cli
Popularitas
- Bintang GitHub
- 6.3k
- Peringkat
- #14374
- Lisensi
- Apache-2.0
- Diperbarui
- 27/10/2026
Komentar
- β¦
Skill lain dari repositori ini
google-agents-cli-adk-code
6.3kMembantu agent Anda menulis kode untuk agent AI dengan Google ADK, termasuk alat, callback, state, dan pola orkestrasi.
google-agents-cli-deploy
6.3kMembantu agent Anda menerapkan agent AI ke Google Cloud, mencakup Agent Runtime, Cloud Run, GKE, secret, CI/CD, dan pemecahan masalah.
google-agents-cli-eval
6.3kMembantu agent Anda mengevaluasi agent AI dengan dataset uji dan penilaian, lalu mencari tahu mengapa jawaban gagal.
google-agents-cli-observability
6.3kMembantu agent Anda menyiapkan pelacakan, pencatatan log, dan pemantauan untuk agent AI yang sudah diterapkan di Google Cloud, agar Anda bisa melihat apa yang dilakukannya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.