delegating-work
ما الذي تفعله
تساعد هذه المهارة وكيل الذكاء الاصطناعي على اختيار العامل المناسب للمهمة، بحسب مقدار السياق الذي يحتاجه ذلك العامل لينجزها جيدًا. وهي موجهة للوكلاء الذين ينسقون العمل بين فريق من الوكلاء.
متى تستخدمها
- ✓عندما تملك مهمة وتحتاج إلى قرار: هل تنفذها بنفسك أم تسلّمها؟
- ✓عندما توشك على تشغيل وكيل فرعي وتحتاج إلى توجيهه جيدًا.
- ✓عندما تحتاج مهمة إلى سياق يملكه وكيل زميل بالفعل.
رابط المهارة
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أحتاج إلى مراجعة معمقة لخطة الترحيل هذه. هل أنفذها بنفسي، أم أشغّل مساعدًا، أم أرسلها إلى المراجع الذي يعرف المشروع؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تسأل كم من الخلفية يحتاج وكيل فارغ أن يقرأها قبل أن ينجز المهمة بشكل صحيح، ثم توجّه الأعمال الكبيرة ذات السياق الواسع إلى وكيل يعرف المشروع، والأعمال الصغيرة المستقلة إلى وكيل فرعي.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Delegating work — who should do this task?
The core question: context performance
Getting work done well is a context problem. The agent best suited to a task is the one who already holds the context that task requires. Before you spawn a subagent or grind it out yourself, ask who that is.
The decision
Ask: how much would a blank slate have to read in before it could do this correctly?
- A lot to read in → route to a real agent in the topology that already holds it. This is what the role structure is FOR — reviewers, QA, implementers who have been on a project over time. An agent that already understands the work produces a better, safer result than any amount of briefing.
- A little — a prompt plus light grounding is enough → spawn a subagent.
- Genuinely unsure → err toward a real agent, or do it yourself.
Subagents are underused — reach for them far more
For self-contained work that is fully specifiable in the prompt, spawn a subagent instead of spending your own context: tracing, research, grounding passes, summarizing, scanning log files, searching, fetching, web search, mechanical extraction with citations. This is the common shape and it is under-used.
The failure mode — the part that matters most
Subagents start as blank slates, and you cannot anticipate everything they need to know. Give one a task where there is a lot to understand and it will have blind spots it does not know it has — it will complete the task and return a false conclusion, not from weakness but because it lacked the context to know what "correct" even looked like.
This is the unknown-unknowns problem, and it is the single most common subagent failure: a poorly-contextualized summary is worse than no summary, because it arrives looking like an answer. Overreliance on subagents for context-heavy work causes more problems than it solves — and a team burned by it stops using subagents at all, which is the wrong correction. The fix is not "avoid subagents"; it is "match the task to the context it needs."
The practical test
Before delegating to a blank slate, ask: would a wrong-but-plausible answer here be detectable? If the requester cannot check the result against something they already know — a citation they can open, a count they can re-run — the blind-spot risk is unacceptable, and that task belongs with an agent that holds the context.
Worked examples
- GOOD (→ subagent): extract how four apps implement a UI mechanism, with
file:linecitations and an explicit instruction to report facts, not recommendations. Self-contained; the requester can verify the citations. - BAD to delegate blind (→ routed to the context-holder): an independent security re-sweep of a rewritten git branch, where knowing which commit range must stay byte-identical, and that "lightly obfuscated real values" is the thing to hunt, takes a paragraph to explain and one sentence to get wrong. It went to the agent already holding the context.
It generalizes
This is really "route work to whoever holds the context," with subagents as the option for work that needs none. The audience is every agent — implementers and QA seats make this call as much as orchestrators do.
Check what kind of agent you're handing it to
How to brief another agent depends on the model it runs, so check before you hand over anything open-ended.
rig ps --nodes --json shows the model each seat's spec declares (model; null if none is declared). A declared
model can differ from the one running, so if it's null, or you aren't sure, ask the seat which model it's running.
- Goal-oriented models are built to take a goal and find the route themselves. Today that's Claude Opus 5.5 or newer and any Fable model, and Codex models at the Sol level or above from GPT-5.6 on (GPT-5.6-Sol, GPT-6-Sol, GPT-6.1-Sol, GPT-6-Astra). Give them the goal, why it matters, what good looks like, the requirements and the context, then let them work. Spell out the route only where those details really matter.
- Every other model, and any model you can't identify, does its best work on smaller, simpler pieces with clear steps, clear boundaries and a result you can check. Split open-ended work before you hand it over, or keep the open-ended part yourself.
Describe the task, not the agent: don't tell a model which group it's in, or call it weaker. A model can take a label like that literally and work down to it. A newer m
الأسئلة الشائعة
ما الوكيل الفرعي؟
هو وكيل مساعد يبدأ من أجل مهمة مستقلة واحدة، ويبدأ دون أي ذاكرة عن المشروع.
متى أتجنب الوكيل الفرعي؟
تنصح المهارة بتجنبه حين تحتاج المهمة إلى خلفية كثيرة لا يستطيع المساعد الفارغ رؤيتها.
ماذا أفعل إذا لم أكن متأكدًا؟
تنصح المهارة بالميل إلى زميل حقيقي يعرف العمل، أو تنفيذ المهمة بنفسك.
التفاصيل
الوصف الأصلي من المؤلف
Use when you have a task and must decide WHO does it — yourself, a spawned subagent, or another agent in the topology that already holds the context — or how to brief the agent you hand it to, which depends on the model it runs. The rule: how much would a blank slate have to read in to do this correctly? A lot → route to a context-holding agent; a little → subagent; unsure → a real agent or yourself. NOT the mechanics of fanning out (that's dispatching-parallel-agents / subagent-driven-development) — this is the who/whether decision, and the failure mode that makes teams abandon subagents. Als
repo: mvschwarz/openrig
الشعبية
- نجوم GitHub
- 8.6k
- الترتيب
- #12386
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-operated-software
8.6kيساعد وكيلك على تصميم تطبيق مستمر أو بناءه أو تصحيحه، يعمل فيه وكلاء الذكاء الاصطناعي ضمن الخادم الخلفي، مع مستوى تحكم بملفات Markdown أو JSON.
agent-operated-workflows
8.6kيساعد وكيلك على تحديد هل يشغّل وكيل الذكاء الاصطناعي إجراءً محددًا أم كود برمجي عادي، وكيف يستأنفه من أدلة موثّقة.
applying-a-permission-policy
8.6kيساعد وكيلك على ضبط أذونات الأوامر التي يستخدمها وكيل البرمجة أثناء إعداد الفريق، لتعمل الأوامر الروتينية بعدد أقل من طلبات الموافقة.
claude-compaction-restore
8.6kيساعد وكيل Claude Code على إعادة بناء صورة عمله بعد ضغط سياقه، باستخدام خريطة استعادة محفوظة وسجل المحادثة والملفات التي لمسها.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.