google-agents-cli-workflow
ما الذي تفعله
هذه المهارة الدليل الرئيسي لبناء الوكلاء واختبارهم ونشرهم ومراقبتهم باستخدام Agent Development Kit من Google. وهي للمطورين الذين يريدون ترتيبًا واضحًا للخطوات من الفكرة إلى وكيل يعمل.
متى تستخدمها
- ✓عندما تريد بناء وكيل ذكاء اصطناعي باستخدام Agent Development Kit من البداية إلى النهاية.
- ✓عندما تحتاج إلى تشغيل الوكيل أو تصحيحه أو اختباره محليًا.
- ✓عندما تريد معرفة المهارة المناسبة لكل مرحلة من مشروع الوكيل.
رابط المهارة
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-workflow/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اشرح لي خطوات بناء وكيل ADK لمرتجعات العملاء، من التخطيط والإعداد إلى تشغيله محليًا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعرض هذه المهارة مراحل تطوير الوكيل، وتشير إلى المهارة المناسبة لكل مرحلة. تطلب توضيح المتطلبات أولًا، ثم تُنشئ هيكل المشروع وتشغّل الوكيل عبر كل مرحلة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Agent Development Workflow & Guidelines
agents-cli is a CLI and skills toolkit for building, evaluating, and deploying agents on Google Cloud. It works with any coding agent — Antigravity CLI, Claude Code, Codex, or others — and with the agent framework of your choice (the Agent Development Kit (ADK) by default). Install with uvx google-agents-cli setup.
Before writing agent code, make sure a scaffolded project exists (see Phase 2). Skipping scaffolding loses eval boilerplate, CI/CD config, and project conventions.
Requires: google-agents-cli
= 1.12.0 If version is behind, run: uv tool install "google-agents-cli=1.12.0"
Check version: agents-cli info Install uv first if needed.
Session Continuity & Skill Cross-References
Re-read the relevant skill before each phase — not after you've already started and hit a problem. Context compaction may have dropped earlier skill content. If skills are not available, run uvx google-agents-cli setup to install them.
| Phase | Skill | When to load |
|---|---|---|
| 0 — Understand | — | No skill needed — read .agents-cli-spec.md if present, else clarify goals with the user |
| 1 — Study recipes | /google-agents-cli-adk-code |
Load it during design, before scaffolding. Python: the references/recipes.md topic index maps a need to the recipe that implements it. Go: the upstream examples/ are the equivalent. Yes, load this early. |
| 2 — Scaffold | /google-agents-cli-scaffold |
Before creating or enhancing a project |
| 3 — Build | /google-agents-cli-adk-code |
Before writing agent code — API patterns, tools, callbacks, state |
| 4 — Evaluate | /google-agents-cli-eval |
Before running any eval — dataset schema, metrics, eval-fix loop |
| 5 — Deploy | /google-agents-cli-deploy |
Before deploying — target selection, troubleshooting 403/timeouts |
| 6 — Publish | /google-agents-cli-publish |
After deploying, if registering with Gemini (optional) |
| 7 — Observe | /google-agents-cli-observability |
After deploying — traces, logging, monitoring setup |
Setup
If agents-cli is not installed:
uv tool install google-agents-cli
uv command not found
Install uv following the official installation guide.
Product name mapping
Users name products inconsistently (Vertex AI or Agent Platform → Gemini platform, Agent Engine or Agent Runtime → Agent Runtime in Gemini platform, etc.). Map user terms to CLI values using references/terminology.md.
Phase 0: Understand
Before writing or scaffolding anything, understand what you're building — through a design dialogue, not a checklist. Load references/brainstorming.md and follow it: ask one question at a time, propose 2–3 architecture approaches for non-trivial agents, and validate the design before any scaffolding.
If .agents-cli-spec.md exists in the current directory, read it — it is your primary source of truth. Otherwise:
Do NOT proceed to planning, scaffolding, or coding until the user approves the spec. Do not assume, research, or fill in the blanks yourself — the user's intent drives everything.
Scale the ceremony to complexity: a trivial agent (single tool, fixed persona) needs only a couple of questions, a 2–3 sentence spec, and one approval; a complex agent (multi-agent, RAG, external APIs/auth, safety-critical) gets the full treatment in references/brainstorming.md.
Topics to cover (one question at a time, adapting to the user — see the playbook):
- What problem will the agent solve? — Core purpose and capabilities
- External APIs or data sources needed? — Tools, integrations, auth requirements
- Safety constraints? — What the agent must NOT do, guardrails
- Deployment preference? — Prototype first (recommended) or full deployment? If deploying: Agent Runtime, Cloud Run, or GKE?
Ask based on context:
- If the agent needs a capability the scaffold doesn't ship — retrieval over your data, sandboxed code execution, memory across sessions, OAuth consent, safety guardrails, event-driven triggers — that capability comes from a clone-and-study recipe, not a scaffold flag. Look the need up in the topic index in
/google-agents-cli-adk-code→ `references/recipe
الأسئلة الشائعة
هل تبدأ بمشروع؟
يذكر الوصف أنه يجب إنشاء هيكل مشروع قبل كتابة كود الوكيل، لذلك تعده المهارة.
أي إطار تستخدم؟
تستخدم Agent Development Kit افتراضيًا، ويذكر الوصف أن أطرًا أخرى ممكنة.
أي أمر يثبّتها؟
يقترح الوصف تشغيل أمر الإعداد باستخدام uvx، بعد تثبيت uv إذا لزم الأمر.
التفاصيل
الوصف الأصلي من المؤلف
This skill should be used when the user wants to "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs the ADK (Agent Development Kit) development lifecycle and coding guidelines. Entrypoint for building ADK agents. Always active — provides the full workflow (scaffold, build, evaluate, deploy, publish, observe), code preservation rules, model selection guidance, and troubleshooting steps for ADK or any agent development.
repo: google/agents-cli
الشعبية
- نجوم GitHub
- 6.3k
- الترتيب
- #14374
- الترخيص
- Apache-2.0
- آخر تحديث
- 27/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
google-agents-cli-adk-code
6.3kيساعد وكيلك على كتابة كود للوكلاء الذكيين باستخدام Google ADK، بما فيه الأدوات وردود الاستدعاء والحالة وأنماط التنسيق.
google-agents-cli-deploy
6.3kيساعد وكيلك على نشر وكيل ذكاء اصطناعي على Google Cloud، ويغطي Agent Runtime وCloud Run وGKE والأسرار وCI/CD والمعالجة.
google-agents-cli-eval
6.3kيساعد وكيلك على تقييم وكيل ذكاء اصطناعي باستخدام مجموعات اختبار وتسجيل النقاط، ثم معرفة سبب فشل الإجابات.
google-agents-cli-observability
6.3kيساعد وكيلك على إعداد التتبع والتسجيل والمراقبة لوكيل ذكاء اصطناعي منشور على Google Cloud، حتى ترى ما يفعله.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.