本文へスキップ
Skillpedia
エージェント6.3k · #14374

google-agents-cli-workflow

できること

Google Agent Development Kitで、エージェントを構築、テスト、デプロイ、監視するための主要なガイドです。アイデアから動くエージェントまでの手順の順序がほしい開発者向けです。

使う場面

  • ✓Agent Development Kitでの、AIエージェントの構築を最初から最後まで行いたいとき。
  • ✓エージェントをローカルで実行、デバッグ、テストする必要があるとき。
  • ✓エージェントプロジェクトの各段階でどのスキルを使うべきかを知りたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-workflow/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“返品対応のためのADKエージェントの構築を、計画とセットアップからローカルでの実行まで、ステップごとに案内してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、エージェント開発の各段階を一覧にし、それぞれに対応するスキルを示します。まず要件を明確にするよう求め、そのあとプロジェクトを雛形から作成して、各段階でエージェントを実行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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):

  1. What problem will the agent solve? — Core purpose and capabilities
  2. External APIs or data sources needed? — Tools, integrations, auth requirements
  3. Safety constraints? — What the agent must NOT do, guardrails
  4. 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
よくある質問

プロジェクトから始める必要がありますか?

説明では、エージェントのコードを書く前に、雛形のプロジェクトが存在している必要があるとされており、スキルがそれを作成します。

どのフレームワークを使いますか?

既定ではAgent Development Kitを使い、他のフレームワークも可能だと説明されています。

インストールするコマンドは何ですか?

uvが必要なら先にインストールし、uvxでセットアップコマンドを実行するよう勧められています。

詳細

作者による元の説明

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

人気

GitHubのスター
6.3k
ランキング
#14374
ライセンス
Apache-2.0
更新日
2026/10/27

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル