hermes-ephemeral-delegation
ما الذي تفعله
تخبر هذه المهارة ذكاءك متى يستحق عمل ما أن يُسلَّم إلى وكيل مساعد منفصل بدلًا من تنفيذه داخليًا. وهي لمن يشغّلون وكلاء ذكاء اصطناعي قادرين على تفويض العمل.
متى تستخدمها
- ✓عندما تحتاج المهمة إلى مسح واسع لقاعدة الكود قبل اتخاذ قرار.
- ✓عندما يمكن تشغيل جزأين مستقلين أو أكثر من المهمة في الوقت نفسه.
- ✓عندما يحتاج تغيير محفوف بالمخاطر إلى فحص مستقل أو مراجعة جديدة.
رابط المهارة
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/hermes-ephemeral-delegation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هذا التغيير محفوف بالمخاطر. اطلب من وكيل مساعد منفصل التحقق منه بشكل مستقل قبل الدمج.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تضع المهارة أسبابًا واضحة للتفويض. ويبدأ المساعدون بسياق جديد ومهمة مكتفية بذاتها، فيبقى سياق الوكيل الرئيسي مركّزًا.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Activation Contract
Load this skill when you are acting as the parent orchestrator and the work ahead has a named reason to delegate:
- A map you need to decide or route that exceeds the inline evidence budget (codebase mapping, approach comparison); never to read files you will read anyway before writing inline
- A writer reason: 2+ independent units of behavior (code, tests, and docs together; each several minutes of work) launched together, or the context backstop; a large task alone is tracked, not delegated
- A high-risk change that needs an independent verifier, or a large task's long suites and builds
- Fresh adversarial review (diffs, PR readiness, incident audit); never restart it automatically for a candidate whose terminal
approvedauthority was already burned and that is unchanged since, unless a new independent review is deliberately requested - Multi-step debugging that would flood the parent context
Do NOT load this skill if you are already inside a delegated child task — you are the executor, not the orchestrator.
Hard Rules
- Use
delegate_taskonly for a named reason listed above. Without one, work inline following your logbook; file count, size, or a large task alone is never a reason. - Workers are EPHEMERAL: each
delegate_taskcall creates a fresh context. Do NOT request persistent agent files or profiles. - Pass a self-contained mission. Workers have no memory of the parent conversation.
- Treat worker output as self-report: verify file writes, test pass/fail, URLs, and IDs before reporting success to the user.
- Batch parallel calls only for INDEPENDENT workstreams. Sequential dependencies must run sequentially.
Decision Gates
| Situation | Action |
|---|---|
| Need a map to decide or route beyond the inline evidence budget | Delegate a narrow exploration worker |
| A large (tracked) task | Track it; delegate a writer only for a reason (parallel units or context) with the full mission |
| A small task's focused test and suite | Run inline, once each |
| A high-risk change or a large task's long suites | Delegate an executor |
| Need an adversarial review of a diff | Delegate a fresh-context reviewer |
| Multi-step debug that grows the context | Delegate a debug worker; feed results back inline |
| An understood change, even across files, with no named reason | Do it inline; no delegation needed |
| Quick git/state check | Do it inline; no delegation needed |
Execution Steps
- Identify which gate applies. If none applies, skip delegation.
- Draft a self-contained mission for the worker — include:
- Exact goal (one sentence)
- File paths or targets to act on
- Relevant prior context the worker needs (decisions, conventions, prior findings)
- Constraints (style, budget)
- For a writer: the applicable test-first policy and runner from
## Implementation Routing. Write one RED test per requested rule; for every existing command or option the change touches, add one test proving its previous behavior still holds; add no other cases; update help text and docs for any changed command, option, or message - For a verifier: the Verify handoff from the Delegated Verification Gate (the whole feature document, the baseline commit, the probe command forms, first-launch probes in a
mktemp -dscratch copy never inside the workspace, and its severity rules) - Expected evidence to return (e.g., file written, test output, URL found)
- Allowed toolsets/MCP/skills the worker should use
- Any
SKILL.mdpaths to load before work
- Call
delegate_taskwith that mission. - Wait for the worker summary.
- Verify the claimed output (check file existence, test result, side effect).
- Synthesize the verified result into your orchestrator reply.
Output Contract
After synthesizing worker results, return:
- What was delegated and to how many workers
- What each worker returned (verified, not just claimed)
- Any discrepancy between worker self-report and verified evidence
- Final answer or next step for the user
References
- references/tuning-knobs.md — Full table of
delegate_taskconfiguration parameters and the explicit toolset/MCP/skill checklist for worker missions.
الأسئلة الشائعة
هل يحتفظ المساعد بالذاكرة بين المهام؟
لا. تقول المهارة إن المساعدين مؤقتون، فكل استدعاء مفوّض يبدأ بسياق جديد.
هل المهمة الكبيرة وحدها سبب للتفويض؟
لا. تقول المهارة إن عدد الملفات أو الحجم وحده ليس سببًا للتفويض.
من لا ينبغي أن يحمّل هذه المهارة؟
المساعد الذي يعمل أصلًا ضمن مهمة مفوّضة، لأنه منفِّذ لا منسّق.
التفاصيل
الوصف الأصلي من المؤلف
Trigger: a mapping need, parallel units, context backstop, high-risk verify, fresh review, or multi-step debug. Delegate via delegate_task for a named reason.
الشعبية
- نجوم GitHub
- 8.2k
- الترتيب
- #12552
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
branch-pr
8.2kيساعد وكيلك على تحضير فروع وطلبات سحب تتبع قواعد المساهمة الخاصة بالمشروع المستقبِل، لا قالبًا عامًا.
chained-pr
8.2kيساعد وكيلك على تقسيم تغيير كبير يتجاوز 400 سطر إلى سلسلة من طلبات سحب أصغر وقابلة للمراجعة، يقف كل منها بذاته.
cognitive-doc-design
8.2kيعلّم وكيلك كتابة أدلة وملفات README ومراجعات يسهل تصفحها وتذكّرها، بالبدء بالجواب وتجميع التفاصيل.
comment-writer
8.2kيساعد وكيلك على كتابة تعليقات قصيرة ودافئة ومباشرة لطلبات السحب والمراجعات وردود الـissues ورسائل فرق الدردشة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.