Plans and builds new agents with agents-cli, in ADK or a framework with an agents-cli extension. Use when the user wants to build a new agent, even with no framework named; add memory, document search, OAuth, human approval, moderation or a schedule to an agent; resume work from .agents-cli-spec.md; run the agent locally; or override or add an agents-cli command.
Capabilities
Design and spec
In an already-scaffolded project (agents-cli info shows a project), a…
Scaffold
Call the Skill tool with google-agents-cli-scaffold
Build
Evaluate before deploy
Call the Skill tool with google-agents-cli-eval and follow its loop
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.22
Build an agent with agents-cli
Work through the stages in order. At the start of each stage, and again after context compaction, call the Skill tool with the skill in its row. No Skill tool: read that skill's SKILL.md in the sibling folder (../<skill-name>/SKILL.md) instead.
Requires: google-agents-cli
= 1.17.0=1.17.0"
If version is behind, run: uv tool install "google-agents-cli
| Stage | Skill | Done when |
|---|---|---|
| 1. Detect language and framework | this one | the framework is known (new project: stage 2) |
| 2. Design and spec | this one; references/design.md beyond a single-tool agent |
the user approved .agents-cli-spec.md |
| 3. Scaffold | google-agents-cli-scaffold |
agents-cli info shows the project |
| 4. Build | this one, plus the framework's skill (google-agents-cli-adk-code on ADK) |
agents-cli run "<prompt>" gives the expected answer |
| 5. Evaluate | google-agents-cli-eval |
the last eval run after the last edit meets the agreed bar |
| 6. Deploy, infrastructure, CI/CD | google-agents-cli-deploy |
the user said yes to the deploy and the deployed agent answers |
| 7. Publish | google-agents-cli-publish |
the agent is registered |
| 8. Observe (tier chosen in stage 6) | google-agents-cli-observability |
observability section 1 is done |
Resuming? Read .agents-cli-spec.md if it exists (the source of truth), then run agents-cli info.
1. Detect language and framework
- Run
agents-cli info. Inside a project it prints the language, not the framework. Readframework:inagents-cli-manifest.yaml:google-adkmeans ADK. Any other value: read the framework skill the project's guidance file (CLAUDE.md,GEMINI.mdorAGENTS.md) names. - No manifest: read
pyproject.toml,go.mod,build.gradle.ktsorpackage.json.google-adkmeans ADK Python,google.golang.org/adkmeans ADK Go; Java, Kotlin and TypeScript ADK dependencies map to the experimental ADK templates. Another framework: find its extension (references/extension.md). - A new project with no signal and no language in the request: stage 2 asks the stack.
2. Design and spec
In an already-scaffolded project (agents-cli info shows a project), a code change skips stages 2 and 3 unless it adds a capability from the trigger list below: update .agents-cli-spec.md if present and go to stage 4.
- Interview the user in rounds (
references/design.md, Rounds): each round asks every decision whose prerequisites are settled, numbered, with your recommended answer; then wait. Look facts up yourself; ask for the user's own data (hours, prices, policies) without suggesting values. Your first reply is a round, not a spec. - Cover the problem, the reply's content and format, the tools and data sources with their auth, the safety limits, and the deployment wish: prototype first (recommended) or a target now. For a target now, call the Skill tool with
google-agents-cli-deployto choose it, and record it under the spec's## Deployment. - New project: the stack depends on the use case, so it comes in the last round: ADK Python (the default), ADK Go, experimental ADK Java, Kotlin or TypeScript, or a framework from a first-party extension, with your recommendation and a reason. Scaffold nothing until the user answers; choosing for them doesn't count. Done when
## Language and frameworkrecords their answer. - "Not ADK" or another named framework: use that framework's extension (
references/extension.md); none matches: say so and offer ADK. - Scale to the agent: a single-tool agent needs a couple of questions and a short spec with
## Overview,## Language and framework,## Toolsand## Success criteria. Load nothing else unless the trigger list below matches. Multi-agent, external auth or safety-critical work gets the full playbook inreferences/design.md. - A live or voice agent on ADK: call the Skill tool with
google-agents-cli-adk-codebefore the spec. Live changes the model and serving. - When you can't ask (a non-interactive run) or the user says "you pick", decide and list each decision under
## Assumptions; "you pick" still ends in spec approval.
Trigger. If the design needs any of: searching your
own documents · running shell or Python code on a user's behalf · a sandboxed or isolated per-user
environment · loading skills the agent picks up at runtime · work that spans days, resumes, or runs
unattended · remembering across conversations · approving a risky action before it executes ·
blocking harmful content or moderating what agents say · acting with a user's own API keys or
credentials · OAuth consent to reach a user's own data · delegating to sub-agents with isolated
context · speaking A2A to call remote agents (client side) · reacting to events or a schedule · researching a topic
online and reporting it with citations · generating images or video · monitoring a deployed
agent's quality from its production traces · talking to the agent by voice in real time: on ADK Python, a recipe implements it, not a scaffold flag.
For each match on an ADK project, call the Skill tool with google-agents-cli-adk-code and read its references/recipes.md before you write the spec. List each matching recipe in the spec, or on ADK Go the closest example it names.
Write .agents-cli-spec.md in the current directory, self-review it, and ask the user to approve it.
Done when the user approves the spec. Clone, scaffold and write code only after that.
3. Scaffold
Call the Skill tool with google-agents-cli-scaffold.
Done when agents-cli info prints the project and .agents-cli-spec.md is moved into it.
If the spec lists recipes, call the Skill tool with google-agents-cli-adk-code and study each one with its references/recipes.md before writing code. Done when the spec's ## Reference recipes says what you reuse from each.
4. Build
- Edit the agent directory
agents-cli infoprints. Tools you write go in their own module (tools.py,tools.go) and return each failure the spec lists as a result the model can explain, not an exception. - After each change, smoke-test with
agents-cli run "<prompt>", including one about several items (a date range, two orders);agents-cli playgroundopens a chat UI on127.0.0.1(--hostto change). - Check behavior with eval cases. Unit tests (
pytest,go test) cover code and each tool failure, and never assert on model output, which varies between runs.
Code preservation: change only what's asked; unrelated config, comments, formatting, .env and template files stay identical.
Models: keep the model the code names, the scaffold's default in a new project, unless the user asks to change it. Model names from training data are often retired or not served in the project's location. On a model 404, set GOOGLE_CLOUD_LOCATION in .env (try global) and keep the model name.
5. Evaluate before deploy
Call the Skill tool with google-agents-cli-eval and follow its loop.
Record the agreed bar as thresholds in the eval config, so eval run ends with RESULT: PASS|FAIL (...).
Done when the scores of the last eval run after the last edit meet the agreed bar and the user has seen them.
6. Deploy and beyond
Call the Skill tool with google-agents-cli-deploy before deploying, provisioning infrastructure or setting up CI/CD. Rerun the eval, paste every score, ask "Ready to deploy to dev?" and deploy only after an explicit yes. NEVER deploy without that yes.
References
| File | Read when |
|---|---|
references/design.md |
Designing a non-trivial agent: questions, approaches, scope, the spec template |
references/extension.md |
Overriding or adding a command, or adopting an extension |
Explore more skills
Browse all- Senior FrontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle…
- UI Design SystemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens…
- Founder ConsumerThe consumer panel. Spins up a swarm of buyer sub-agents (default 100, --quick for 20) trained on the user's target…
- Frontend DesignGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with…
- Senior BackendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load…
- Self Improving AgentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its…
Security
Reviews (0)
More from Google Agents CLI
View source →Frequently asked questions about google-agents-cli-workflow
What does the google-agents-cli-workflow skill do?
Plans and builds new agents with agents-cli, in ADK or a framework with an agents-cli extension. Use when the user wants to build a new agent, even with no framework named; add memory, document search, OAuth, human approval, moderation or a schedule to an agent; resume work from .agents-cli-spec.md; run the agent locally; or override or add an agents-cli command. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the google-agents-cli-workflow skill?
Run `npx @skills-hub-ai/cli install google-agents-cli-workflow` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/google-agents-cli-workflow/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does google-agents-cli-workflow work with?
google-agents-cli-workflow runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the google-agents-cli-workflow skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use google-agents-cli-workflow after installing it?
In Claude Code, type `/google-agents-cli-workflow` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the google-agents-cli-workflow skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/google-agents-cli-workflow)<a href="https://skills-hub.ai/skills/google-agents-cli-workflow"><img src="https://skills-hub.ai/api/badges/skill/google-agents-cli-workflow" alt="Install on Skills Hub"></a>More options in the badge docs.