google-agents-cli-scaffold
यह क्या करती है
यह स्किल agents कमांड-लाइन टूल से नए एजेंट प्रोजेक्ट सेट करती है और मौजूदा प्रोजेक्ट में डिप्लॉयमेंट फ़ाइलें जोड़ती है। यह उन डेवलपरों के लिए है जिन्हें एजेंट कोड लिखने से पहले काम करने लायक प्रोजेक्ट ढाँचा चाहिए।
कब इस्तेमाल करें
- ✓जब आप शुरू से नया ADK एजेंट प्रोजेक्ट बनाना चाहते हैं।
- ✓जब आप मौजूदा प्रोजेक्ट में डिप्लॉयमेंट या CI और CD सेटअप जोड़ना चाहते हैं।
- ✓जब आप बिना डिप्लॉयमेंट के प्रोटोटाइप एजेंट बनाना चाहते हैं।
Skill का लिंक
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-scaffold/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“support-bot नाम का नया ADK एजेंट प्रोजेक्ट बनाइए जिसे Cloud Run पर डिप्लॉय किया जा सके, और उसके लिए CI और CD सेट कीजिए।”
हर हफ़्ते 5 नई skills, 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, theagentic_ragtemplate, andagents-cli infra datastore/agents-cli data-ingestionno 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
mkdirthe project directory before runningcreate— the CLI creates it automatically. If you mkdir first,createwill fail or behave unexpectedly. - Pass
--agent-guidance-filenamefor your IDE:GEMINI.mdfor Antigravity CLI,CLAUDE.mdfor Claude Code,AGENTS.mdotherwise. - 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
- अपडेट की गई
- 27/10/2026
कमेंट
- …
इस repository की और skills
google-agents-cli-adk-code
6.3kआपके एजेंट को Google ADK से AI एजेंट का कोड लिखने में मदद करती है, जिसमें टूल, कॉलबैक, स्टेट और ऑर्केस्ट्रेशन पैटर्न शामिल हैं।
google-agents-cli-deploy
6.3kआपके एजेंट को AI एजेंट को Google Cloud पर डिप्लॉय करने में मदद करती है, जिसमें Agent Runtime, Cloud Run, GKE, सीक्रेट, CI/CD और समस्या-निवारण शामिल हैं।
google-agents-cli-eval
6.3kआपके एजेंट को टेस्ट डेटासेट और स्कोरिंग से AI एजेंट का मूल्यांकन करने में मदद करती है, और यह पता लगाती है कि जवाब क्यों विफल होते हैं।
google-agents-cli-observability
6.3kआपके एजेंट को डिप्लॉय किए गए AI एजेंट के लिए ट्रेसिंग, लॉगिंग और मॉनिटरिंग सेट करने में मदद करती है, ताकि आप देख सकें कि वह क्या करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।