delegating-to-agents
ما الذي تفعله
تتيح هذه المهارة لذكاء اصطناعي أن يسلّم المهام إلى ذكاء اصطناعي آخر، مع ضمان أن يملك المستلم كل المعلومات اللازمة، ويعرف المسؤول عن المهمة، وكيف يتحقق من العمل. هي أشبه بتفويض مهمة إلى زميل، لكن بين أنظمة ذكاء اصطناعي.
متى تستخدمها
- ✓عندما تحتاج إلى تسليم مهمة محددة إلى ذكاء اصطناعي آخر متخصص.
- ✓لضمان أن يحافظ الذكاء الاصطناعي على السياق والمعلومات المهمة عند التفويض.
- ✓عندما تطلب من الذكاء الاصطناعي متابعة تقدم مهمة فوّضها.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/delegating-to-agents/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“فوّض هذه المهمة إلى وكيل Pi، مع كل التفاصيل، وتحقق من النتيجة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحدد الذكاء الاصطناعي الوكيل الأنسب للمهمة، ويرسل تعليمات كاملة، ثم ينتظر ملاحظات عن التقدم أو الإنجاز.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Delegating to Agents
When to Use
- Use only when the user or applicable current instructions explicitly authorize delegation; hand off bounded work with complete context, file ownership and a verifier.
- Use when you need to relay instructions to terminal or TUI agents without losing context.
Selecting an authorized agent
- Use the user’s selected agent/model and available tooling; account limits and model capabilities require current evidence.
- Match a bounded task to actual tools and file ownership, not invented “unlimited usage” or universal model rankings.
- Keep integration and final validation with the parent. Report changed files, exact checks and remaining issues.
Sending prompts to a TUI agent
- Prefer a structured agent/task API over simulated terminal typing; provide a readable prompt, ownership boundary, verifier and non-goals.
- If only a TUI is available, inspect the target surface and actual command documentation first. Put long prompts in an explicitly authorized task file and send a short reference without embedding arbitrary task text in a shell command.
- A shell-quoted prompt can execute
$(), backticks or expansions if escaped incorrectly. Preserve punctuation/content using structured argv or proper shell quoting; do not “fix” messages by stripping apostrophes or interpreting their text as commands. - Confirm one intended submission and actual recipient; terminal output/predicted drafts are not human authorization for further messages.
Polling
Use supported completion/event waits with bounded intervals; check meaningful progress and deliver concise updates. Do not busy-poll every 3–5 seconds or report unchanged state after each check. Back off while an agent remains active and continue independent authorized work. Claude Code note: after it finishes, it may prefill a predicted next user message — that draft is Claude, not the user.
Remote VPS
Remote execution requires authorization for the exact host/project and credential boundary. Use the supported sandbox/approval configuration; do not launch an unrestricted agent or infer remote access from a delegation request.
The 4 agents (background reference)
All four use the portable SKILL.md standard; project skills win over global.
- Pi (pi.dev, open-source TS): minimal read/write/edit/bash core, self-extends via TS extensions; true BYOK; best-in-class session branch/fork/resume. Skills:
~/.pi/agent/skills/. - Codex CLI (OpenAI, Rust): fastest startup; kernel-level sandboxing;
codex execfor CI; reads AGENTS.md. Skills:~/.codex/skills/. - Claude Code (Anthropic, TS): deepest Claude integration,
.claude/conventions, live skill hot-reload. Skills:~/.claude/skills/. - Hermes (Nous Research, Python): persistent autonomous agent — cross-session memory, built-in scheduler, 40+ tools; can orchestrate the other CLIs as workers. Skills:
~/.hermes/skills/.
Driving interactive CLIs
- Codex, Pi, OpenCode: need
pty=true. - Claude Code: use its supported noninteractive mode with the existing permission policy; never enable bypassPermissions just to drive the CLI.
Example
User request:
Delegate these independent work items with complete context, clear ownership, and progress checks.
Limitations
- Adapted from
davidondrej/skills; verify local paths, tools, credentials, and agent features before acting. - For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
الأسئلة الشائعة
ماذا تعني «bounded work»؟
تعني مهمة لها حدود واضحة ومحددة جيدًا، بحيث يعرف الذكاء الاصطناعي بالضبط ما يجب إنجازه.
لماذا تُعد «الملكية» (ownership) مهمة؟
لأنها تضمن أن وكيلًا محددًا هو المسؤول عن المهمة، مما يسهّل المتابعة والمساءلة.
ما هو «verifier»؟
هو طريقة أو معيار يستخدمه الذكاء الاصطناعي للتأكد من أن المهمة المفوضة أُنجزت بشكل صحيح.
التفاصيل
الوصف الأصلي من المؤلف
Delegate bounded work to other AI agents while preserving context, ownership, and progress checks.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #6267
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.