跳到正文
Skillpedia
智能体16k · #10866

orchestrate

它能做什么

这个技能把编程工作拆分给多个智能体,使它们能够同时运行,并跟踪它们的进度。适合同时有多项工作要做的开发者。

适用场景

  • ✓当你想把一项大型任务拆分给多个并行运行的编程智能体时。
  • ✓当你想检查在不同工作区中工作的智能体时。
  • ✓当某项工作依赖另一项工作,需要按顺序安排智能体时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/orchestrate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为这三个缺陷各启动一个智能体,分别在独立的工作区中运行,并在每个智能体完成时告诉我。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会确认命令行具备所需命令,找到要使用的工作区和智能体,然后分派每项工作。之后,它会读取每个终端来跟踪进度,并记录哪些任务已经完成。

技术内容(原始 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
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能