Creates, enhances and upgrades agents-cli projects from a framework template. Use when the user wants to scaffold the project for an agent they designed, bring an existing agent under agents-cli, or upgrade a project to the latest template. Deployment targets and CI/CD: google-agents-cli-deploy.
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.16
Scaffold an agents-cli project
Scaffold before writing agent code: the templates carry serving, A2A, eval files, the manifest and deployment wiring. This skill hands off to others with the Skill tool. No Skill tool: read that skill's SKILL.md in the sibling folder (../<skill-name>/SKILL.md) instead.
A new project starts after the user approves .agents-cli-spec.md. No approved spec yet: call the Skill tool with google-agents-cli-workflow and finish its design stage first.
Choose the template
The language and framework in the spec pick the --agent value. The framework's skill names its templates; on ADK: adk_python for Python (recommended, adk is an alias), adk_go for Go, plus experimental adk_java, adk_kotlin and adk_ts. Another framework scaffolds from its first-party extension's template, --agent google/agents-cli-extensions/core/<folder>/template (first-party folders include langchain and claude). --agent also takes any third-party template repo, <org>/<repo>[/<path>][@<ref>], or local@<path>; Find a first-party extension in google-agents-cli-workflow's references/extension.md says how to find <folder>.
The scaffold records language: and framework: in the manifest for later sessions. A2A serving comes with every template. Scaffold normally and keep the generated A2A code; writing the A2A surface by hand breaks the agent card. For the template notes and the files the template owns, read the framework's skill for this stage: on ADK, call the Skill tool with google-agents-cli-adk-code and read its references/adk-scaffold.md.
Create, enhance or upgrade
- Run
agents-cli info. If it shows a project, skip to the done-condition. - No project: run
agents-cli scaffold create <name> --agent <template> --prototypefrom the parent directory, plus--deployment-target <target>when the spec's## Deploymentnames one (then the session question below applies).createalways makes a<name>/subdirectory: move.agents-cli-spec.mdinto it, where the next session looks for it, andcd <name>. - Hand-written agent code with no manifest: run
agents-cli scaffold enhancefrom its root, with--base-template <template>for a bundled template other thanadk_python, or an extension's template as the first argument (migrating an existing non-ADK agent backs up replaced files into.agents-cli-original/; read the template's bundled skill right after); with neither it assumes ADK Python. An ADK project that already runs as is and only needs a manifest can use--from-adk-project, which writes justagents-cli-manifest.yaml(detects name, language and agent directory) and renders no template; it rejects template flags such as--deployment-targetand--agent-guidance-filename. Pass--agent-directorywhen the code is not inapp/. On Python, then check the serving code imports:uv run python -c "import app.fast_api_app", with your agent directory in place ofapp. AModuleNotFoundError(such asagentplatform.agent_engines) means enhance skipped the deployment target's dependencies. Scaffold a throwaway with the same--agentand--deployment-targetplus--output-dir /tmp,uv addeachdependenciesentry in itspyproject.tomlthat yours lacks, and rerun the check. - Except with
--from-adk-project, pass--agent-guidance-filenamefor the coding agent you are running in:CLAUDE.mdfor Claude Code,GEMINI.mdfor Antigravity and Gemini CLI,AGENTS.mdfor any other.
Prototype first: --prototype skips CI/CD. With no target it also skips Terraform and the deployment files; with --deployment-target it keeps the single-project Terraform. To add a deployment target or CI/CD later, call the Skill tool with google-agents-cli-deploy.
- With a deployment target, ask which session storage the agent needs when the framework's template offers a choice for that target; the framework's skill lists the options and a recommendation (ADK:
--session-type, inadk-scaffold.md). --memory-bankgives the agent memory of each user; only the first-party Claude Agent SDK template (core/claude/template) takes it. For ADK memory, see the topic index in the ADK code skill'sreferences/recipes.md.
agents-cli scaffold upgrade merges a newer template into an existing project. Preview with --dry-run. --force overwrites the scaffolding files and skips the 3-way merge.
Need one file (Terraform, a CI workflow, a Dockerfile) without changing this project? Scaffold a throwaway project with --output-dir /tmp, copy the file, delete the throwaway.
For every flag, run agents-cli scaffold create --help or agents-cli scaffold enhance --help.
Done when agents-cli info prints the project with the chosen language and any .agents-cli-spec.md sits in the project root. After a new project, call the Skill tool with google-agents-cli-workflow for recipe study and build; otherwise return to the skill that sent you here.
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-scaffold
What does the google-agents-cli-scaffold skill do?
Creates, enhances and upgrades agents-cli projects from a framework template. Use when the user wants to scaffold the project for an agent they designed, bring an existing agent under agents-cli, or upgrade a project to the latest template. Deployment targets and CI/CD: google-agents-cli-deploy. 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-scaffold skill?
Run `npx @skills-hub-ai/cli install google-agents-cli-scaffold` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/google-agents-cli-scaffold/ 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-scaffold work with?
google-agents-cli-scaffold 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-scaffold 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-scaffold after installing it?
In Claude Code, type `/google-agents-cli-scaffold` (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-scaffold 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-scaffold)<a href="https://skills-hub.ai/skills/google-agents-cli-scaffold"><img src="https://skills-hub.ai/api/badges/skill/google-agents-cli-scaffold" alt="Install on Skills Hub"></a>More options in the badge docs.