coordinate
ما الذي تفعله
يُعد فريقا صغيرا من الوكلاء، حيث يقرأ المحققون فقط ويعمل الكاتب الوحيد في worktree منفصل. يوزّع القائد المهام، ويفحص النتائج، ويسلّم الإجابة النهائية. وهو مخصص للأهداف المعقدة التي تستفيد من التحقيق المتوازي.
متى تستخدمها
- ✓عندما يكون الهدف كبيرا بما يكفي لتقسيمه إلى عدة تحقيقات متوازية.
- ✓عندما تريد زملاء مستقلين يتحققون من أدلة بعضهم قبل القرار.
- ✓عندما تكون هناك حاجة إلى تغيير شيفرة وتريد كاتبا واحدا منفصلا عن المحققين.
رابط المهارة
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/coordinate/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“نسّق فريقا صغيرا لمعرفة سبب بطء تسجيل الدخول لدينا، ثم اطلب من زميل واحد تطبيق الإصلاح بعد أن نتفق على السبب.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينشئ القائد قائمة مهام مشتركة، ويشغّل محققين للقراءة فقط، ويرسل متابعات عندما تتعارض الأدلة. ولا يعدّل الشيفرة إلا كاتب واحد، في worktree منفصل، بعد انتهاء التحقيق.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Coordinate Qwen Code Teammates
Act as the team leader. Decompose the goal, keep task ownership clear, reconcile disagreements, and deliver the final result.
Build one bounded team
When team_create is available:
- Create one team and one self-contained task per current investigation workstream. Do not queue an implementation task while read-only teammates are idle because tasks are auto-assigned.
- Spawn named investigation teammates with
read_only: true— one per workstream, and prefer three at most. Never exceed the team's configured cap, whichteam_createreports; spawning past it fails outright. Do not passmodel; use the session-default model unless the selected agent definition explicitly overrides it. - Assign tasks and let teammates collaborate through
send_messageand the shared task list. Send targeted follow-ups when evidence conflicts, a task needs clarification, or a result is incomplete. - Accept or reject each result based on its evidence. Reassign rejected work instead of silently using it.
Read-only teammates have a positive execution allowlist. They cannot use shell, edit or write files, save memory, create schedules, invoke arbitrary deferred tools, or spawn agents. This is enforced by the runtime, not only by this prompt.
Pin the only writer to a worktree
When the goal requires code changes:
- Finish the parallel investigation first.
- Call
request_shutdownfor each investigation teammate. Once shutdown is pending, they are excluded from automatic task assignment. - Call
enter_worktreeonce and keep the returned path. - Create the implementation task, then spawn exactly one named writer with
subagent_type: "general-purpose"andworking_dir: <path>. Do not setread_onlyfor this teammate. - Give the writer the accepted investigation evidence and require all changes to stay inside the worktree.
- Review and verify the worktree result. The leader alone decides whether and how to integrate it into the current branch.
- Do not remove the worktree until accepted changes have been integrated or deliberately discarded.
If the checkout is not a Git repository or worktree creation fails, keep all teammates read-only and let the leader make the final change in the current checkout.
After synthesis, call request_shutdown for each still-active teammate, then delete the team.
The existing Agent View tabs show teammate conversations, messages, status, and approvals. Do not create another roster, session manager, or terminal UI.
If the Agent Team tools are unavailable, say that experimental.agentTeam must be enabled and Qwen Code restarted. Ordinary subagents are an acceptable fallback for parallel research, but describe them accurately: they report only to the leader and cannot collaborate as a team.
Keep coordination bounded
- Use one teammate for a narrow task. Past roughly three, the leader spends more of its turn reconciling reports than doing the work, so add a fourth only when the workstreams are genuinely independent — and never past the configured cap.
- Give every task an objective, scope, completion condition, and required evidence.
- Default every teammate to
read_only: true; add one worktree writer only when implementation is required. - Do not use Arena: it is for competing solutions to the same task, not collaboration on different tasks.
- Do not claim that in-process teammates are independent PTY sessions or heterogeneous CLIs.
- Finish implementation before running the smallest relevant verification once.
Return the outcome, material evidence or disagreements, changes made by the leader, verification, and remaining risks.
الأسئلة الشائعة
هل يستطيع المحققون تغيير الملفات؟
لا. لا يستطيع الزملاء للقراءة فقط استخدام الصدفة (shell) أو التعديل أو الكتابة في الملفات، ولا تشغيل وكلاء آخرين.
كم عدد الزملاء الذين أستطيع الحصول عليهم؟
حتى سقف للفريق تعلنه أداة الفريق، ومعظم الحد الأقصى المعتاد ثلاثة محققين.
هل يقبل القائد كل نتيجة؟
لا. تُفحص كل نتيجة مقابل أدلتها، ويُعاد توزيع العمل المرفوض.
التفاصيل
الوصف الأصلي من المؤلف
Coordinate a small team of Qwen Code teammates with enforced read-only workers, an optional worktree-pinned writer, shared tasks, peer messages, and existing Agent View tabs. Invoke explicitly with /coordinate.
repo: QwenLM/qwen-code
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9778
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
codegraph
29kيساعد وكيلك على تحليل قاعدة كود مفهرسة عبر رسم الاستدعاءات والتبعيات والكود الميت والنقاط الساخنة والبحث الدلالي.
qwen-code-claw
29kيساعد وكيلك على تسليم مهام البرمجة إلى Qwen Code، مثل فهم قاعدة الكود وإصلاح الأخطاء وإعادة هيكلة الكود وتوليد مشروع جديد.
structured-debugging
29kيعلّم وكيلك طريقة من خطوات لتصحيح الأخطاء الصعبة: صياغة فرضية، وإضافة فحوص موجهة، واختبارها، والوصول إلى السبب الحقيقي قبل الإصلاح.
tmux-real-user-testing
29kيساعد وكيلك على اختبار تطبيق طرفية كمستخدم حقيقي داخل tmux، مع حفظ سجل مقروء خطوة بخطوة ولقطة شاشة لكل إجراء.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.