Skillpedia
الوكلاء16k · #10866

orchestrate

ما الذي تفعله

توزّع هذه المهارة عمل البرمجة على عدة وكلاء ليعملوا في الوقت نفسه، ثم تتابع تقدمهم. وهي لمن لديه أكثر من عمل واحد يحتاج إلى إنجاز في آن واحد.

متى تستخدمها

  • ✓عندما تريد أن تقسم مهمة كبيرة على عدة وكلاء برمجة يعملون بالتوازي.
  • ✓عندما تريد أن تتحقق من وكلاء يعملون في مساحات عمل منفصلة.
  • ✓عندما يعتمد عمل على عمل آخر ويجب ترتيب الوكلاء بالتسلسل.

رابط المهارة

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/orchestrate/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/orchestrate/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“شغّل وكيلاً لكل خطأ من هذه الأخطاء الثلاثة في مساحات عمل منفصلة، وأخبرني عندما ينتهي كل واحد.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يتأكد وكيلك من أن سطر الأوامر يحتوي الأوامر اللازمة، ثم يجد مساحة العمل والوكيل المناسبين ويوزع كل جزء من العمل. بعد ذلك يقرأ كل طرفية ليتابع التقدم، ويسجّل المهام المنتهية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Paradev Orchestration

paradev is an alias for the superset CLI: every superset command here also runs as paradev.

Coordinate terminal agents with Paradev's workspace, agent, and terminal commands. Treat this as a coordinator-driven protocol: Paradev provides session transport, while the coordinator owns task dependencies and completion state.

Establish the control surface

  1. Run superset auth whoami --json.
  2. Run superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["terminals"]) | .commands[].path[1]' || superset terminals --help and require list, read, send, and close. The --help fallback covers a CLI older than 1.34.0 (no schema) and a machine without jq.
  3. If those commands are absent, run superset update and recheck. Do not invent or substitute unsupported orchestration commands. hosts add, terminals send --keys, terminals wait, terminals attach, panes, and notifications show are newer than CLI 1.37.0; when one is still missing after an update, skip it and fall back to terminals read and send.
  4. Resolve the workspace, host, and terminal-capable agent before dispatching:
superset hosts list --json
superset agents list --local --json
superset workspaces list --local --json

When coordinating from inside the target workspace, pass --workspace "$SUPERSET_WORKSPACE_ID" --local explicitly to agent and terminal commands; they never default --workspace. Without --local or --host, agents create/read/wait, terminal, and workspace commands target the cloud when the account has cloud workspaces; agents list needs one of them. Pass --host <id> consistently for a remote host. If the target host is offline, use hosts wake <id> and confirm it is online before dispatching. To run workers on a machine that is not a host yet but that the user can SSH into, superset hosts add <ssh-target> installs the CLI there, signs it in, and keeps it running as a user service. It changes that machine, so get the user's go-ahead first and pass --yes only after they agree. It needs ssh <ssh-target> to already work from here, and on the remote: macOS or glibc Linux (x64 or arm64, not Alpine or Windows), curl, and on Linux a valid /etc/machine-id and systemd user services. Without gh signed in there, private repos will not clone on that host. Running it again on the same target repairs a broken setup, and superset hosts remove <ssh-target> undoes it. Do not use --agent superset: it creates a chat session, and terminal read/send cannot control it.

Plan the work

Create a compact coordinator table with these fields:

Field Purpose
Task Stable short identifier
Dependencies Tasks that must complete first
Workspace Paradev workspace ID
Host Host ID, or local
Terminal sessionId returned by agents create
Status pending, ready, running, completed, blocked, or failed
Result Summary, files, checks, and follow-up work

Keep this state in the coordinator's working context. Paradev organization tasks are issue-tracker records, not orchestration DAG nodes; do not create or mutate them unless the user asks.

Prefer independent tasks and shallow dependency chains. For parallel editing, give workers separate workspaces/branches. Sharing one workspace is appropriate for read-only analysis or deliberately complementary work with non-overlapping files.

Define the worker protocol

Give every worker a bounded prompt containing:

  • task ID and objective;
  • workspace scope and files it may change;
  • acceptance criteria and verification commands;
  • dependencies or prior findings it needs;
  • a warning not to broaden scope or overwrite unrelated changes;
  • the completion envelope below.

Require the worker's final response to end with one of these envelopes:

SUPERSET_WORKER_DONE
task: <task-id>
summary: <one-line outcome>
files: <comma-separated paths or none>
checks: <commands and outcomes>
handoff: <next-step context or none>
SUPERSET_WORKER_BLOCKED
task: <task-id>
reason: <specific blocker>
needs: <decision, access, or dependency required>

These markers are a prompt convention visible in terminal snapshots, not durable Paradev events. Treat malformed or missing envelopes as unstructured output and inspect the full snapshot.

Dispatch workers

Launch a terminal agent once and retain its session ID:

superset agents create \
  --workspace <
الأسئلة الشائعة

من يتابع الاعتماديات بين المهام؟

الوكيل المنسّق هو من يفعل ذلك، لأن Paradev يحمل الجلسات فقط.

هل أستطيع أن أرسل رسائل متابعة لوكيل يعمل؟

نعم. تستطيع المهارة أن ترسل رسائل إلى جلسة طرفية وتقرأ ما تعرضه.

ماذا لو كان أمر مطلوب مفقوداً؟

تطلب منك المهارة تحديث سطر الأوامر والتحقق مرة أخرى، ولا تخترع بديلاً.

التفاصيل

الوصف الأصلي من المؤلف

Coordinate several coding agents in parallel through Paradev (formerly Superset), each in its own workspace, with follow-ups, progress reads, dependency tracking, and structured results. Use when the user asks to delegate, parallelize, fan out, or split up coding work across agents, workspaces, or hosts, hand work between agents, or monitor workers, including "spin up agents for each of these", "run these in parallel", "what are my workers doing". Not for ordinary single-agent workspace, task, or automation management.

repo: ParadevAI/Paradev

الشعبية

نجوم GitHub
16k
الترتيب
#10866
الترخيص
—
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة