google-agents-cli-adk-…
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a…
This skill should be used when the user wants to "create an agent project", "start a new ADK project", "build me a new agent", "add CI/CD to my project", "add deployment", "enhance my project", or "upgrade my project". Part of the agents-cli skills suite. Covers `agents-cli
Claude Code
$ npx -y skills add google/agents-cli --skill google-agents-cli-scaffold --agent claude-code
Codex
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a codex -y
Cursor
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a cursor -y
Gemini CLI
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a gemini-cli -y
GitHub Copilot
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a github-copilot -y
OpenCode
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a opencode -y
Windsurf
$ npx skills add google/agents-cli --skill google-agents-cli-scaffold -a windsurf -y
name: google-agents-cli-scaffold
description: >
This skill should be used when the user wants to "create an agent project",
"start a new ADK project", "build me a new agent", "add CI/CD to my project",
"add deployment", "enhance my project", or "upgrade my project".
Part of the agents-cli skills suite.
Covers `agents-cli scaffold create`, `scaffold enhance`, and `scaffold upgrade` commands,
template options, deployment targets, and the prototype-first workflow.
Do NOT use for writing agent code (ADK projects: use google-agents-cli-adk-code) or
deployment operations (use google-agents-cli-deploy).
metadata:
author: Google
license: Apache-2.0
version: 1.14.0
requires:
bins:
- agents-cli
install: "uv tool install google-agents-cli"> **Requires:** `agents-cli` (`uv tool install google-agents-cli`) — [install uv](https://docs.astral.sh/uv/getting-started/installation/index.md) first if needed.
Use the `agents-cli` CLI to create new agent projects or enhance existing ones with deployment, CI/CD, and infrastructure scaffolding.
---
**Before scaffolding a new project, load `/google-agents-cli-workflow` and complete Phase 0** — clarify the user's requirements before running any `scaffold create` command. Ask what the agent should do, what tools/APIs it needs, and whether they want a prototype or full deployment.
---
**Mapping user choices to CLI flags:**
| Choice | CLI flag | |--------|----------| | Retrieval/RAG, sandboxed execution, cross-session memory, OAuth consent, guardrails, scheduled runs | **No flag** — these come from clone-and-study recipes. **ADK Python:** see the topic index in `/google-agents-cli-adk-code` → `references/recipes.md`; on other frameworks, see the agent catalog the framework template ships | | A2A protocol | built into the scaffolded app — scaffold normally (**ADK Python:** `--agent adk_python`, the default; **ADK Go:** `--agent adk_go`) | | Prototype (no deployment) | `--prototype` | | Deployment target | `--deployment-target <agent_runtime\|cloud_run\|gke>` | | CI/CD runner | `--cicd-runner <github_actions\|google_cloud_build>` | | Session storage | `--session-type <in_memory\|cloud_sql\|agent_platform_sessions>` |
Current names (and older names users may say) → CLI values (`vertexai` SDK package name unchanged):
> **Removed flags.** `--datastore`, the `agentic_rag` template, and `agents-cli infra datastore` / > `agents-cli data-ingestion` no longer exist. If you reach for one, you want a recipe instead.
---
agents-cli scaffold create <project-name> \ --agent <template> \ --deployment-target <target> \ --region <region> \ --prototype
**Constraints:**
| File | Contents | |------|----------| | `references/flags.md` | Full flag reference for `create` and `enhance` commands |
agents-cli scaffold enhance . --deployment-target <target> agents-cli scaffold enhance . --cicd-runner <runner>
Run this from inside the project directory (or pass the path instead of `.`).
Upgrade an existing project to a newer agents-cli version, intelligently applying updates while preserving your customizations:
agents-cli scaffold upgrade # Upgrade current directory agents-cli scaffold upgrade <project-path> # Upgrade specific project agents-cli scaffold upgrade --dry-run # Preview changes without applying agents-cli scaffold upgrade --auto-approve # Auto-apply non-conflicting changes agents-cli scaffold upgrade --force # Overwrite scaffolding files when smart-merge fails agents-cli scaffold upgrade --force --dry-run # List what --force would overwrite
`--force` is a fallback for when smart-merge fails. Smart-merge also stops when the agents-cli version that created the project is not on PyPI, because it needs that version's template; use `--force` then too. It overwrites scaffolding files with the new template and keeps agent code, config files, `README.md`, the agent guidance file and eval datasets and config. It never removes dependencies or files the new template dropped (for example, a removed CI workflow), so remove unused ones by hand. Afterwards, check your imports and run your tests. Use `--dry-run` first to see which files change.
The CLI defaults to **strict programmatic mode** — all required params must be supplied as CLI flags or a `UsageError` is raised. No approval flags needed. Pass all required params explicitly.
**Always ask the user before running these commands.** Present the options (CI/CD runner, deployment target, etc.) and confirm before executing.
# Add deployment to an existing prototype (strict programmati
The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a…
This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets",…
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an…
This skill should be used when the user wants to "set up tracing", "monitor my agent", "configure logging", "add observability",…
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini",…
This skill should be used when the user wants to "develop an agent", "build an agent using ADK", "run the agent locally", "debug…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.