본문으로 건너뛰기
Skillpedia
일반 코딩6.3k · #14373

google-agents-cli-scaffold

하는 일

이 스킬은 agents 명령줄 도구를 사용해 새 에이전트 프로젝트를 설정하고, 기존 프로젝트에 배포 파일을 추가합니다. 에이전트 코드를 쓰기 전에 작동하는 프로젝트 구조를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓처음부터 새 ADK 에이전트 프로젝트를 시작하고 싶을 때.
  • ✓기존 프로젝트에 배포나 CI/CD 설정을 추가하고 싶을 때.
  • ✓배포 없이 프로토타입 에이전트를 만들고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-scaffold/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Cloud Run에 배포할 수 있는 support-bot이라는 새 ADK 에이전트 프로젝트를 만들고, 그 프로젝트에 CI/CD를 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 먼저 에이전트가 무엇을 해야 하는지 명확히 한 뒤, agents 명령을 실행해 프로젝트를 만들거나 기존 프로젝트를 보강합니다. 프레임워크, 배포 대상, 프로토타입 여부를 선택할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Project Scaffolding Guide

Requires: agents-cli (uv tool install google-agents-cli) — install uv first if needed.

Use the agents-cli CLI to create new agent projects or enhance existing ones with deployment, CI/CD, and infrastructure scaffolding.


Prerequisite: Clarify Requirements (MANDATORY for new projects)

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.


Step 1: Choose Architecture

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>

Product name mapping

Current names (and older names users may say) → CLI values (vertexai SDK package name unchanged):

  • Agent Runtime in Gemini platform (Agent Engine / Vertex AI Agent Engine / Agent Runtime) → --deployment-target agent_runtime
  • Sessions in Gemini platform (Agent Engine sessions / Agent Platform Sessions) → --session-type agent_platform_sessions
  • Search / Vector Search in Gemini platform (Vertex AI Search / Vertex AI Vector Search) / RAG → clone-and-study recipe, not a flag

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.


Step 2: Create or Enhance the Project

Create a New Project

agents-cli scaffold create <project-name> \
  --agent <template> \
  --deployment-target <target> \
  --region <region> \
  --prototype

Constraints:

  • Project name must be 26 characters or less, lowercase letters, numbers, and hyphens only.
  • Do NOT mkdir the project directory before running create — the CLI creates it automatically. If you mkdir first, create will fail or behave unexpectedly.
  • Pass --agent-guidance-filename for your IDE: GEMINI.md for Antigravity CLI, CLAUDE.md for Claude Code, AGENTS.md otherwise.
  • When enhancing an existing project, check where the agent code lives. If it's not in app/, pass --agent-directory <dir> (e.g. --agent-directory agent). Getting this wrong causes enhance to miss or misplace files.

Reference Files

File Contents
references/flags.md Full flag reference for create and enhance commands

Enhance an Existing Project

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 a Project

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 an

자주 묻는 질문

먼저 설치해야 하는 것이 있나요?

네, agents 명령줄 도구가 필요하며, 필요하면 uv를 먼저 설치하라고 안내합니다.

배포 없이 프로토타입을 만들 수 있나요?

네, 배포 없는 프로토타입 옵션이 있습니다.

기존 프로젝트를 업그레이드할 수 있나요?

네, 기존 프로젝트를 위한 enhance 및 upgrade 명령이 설명에 포함되어 있습니다.

상세 정보

작성자의 원본 설명

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).

repo: google/agents-cli

인기도

GitHub 스타
6.3k
순위
#14373
라이선스
Apache-2.0
업데이트
2026. 10. 27.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬