Back to skills
SKILL.md
Dispatch
ASecurity派发 Orca worker 并核对回执与五小时窗口,用于派单、查用量或恢复任务。
- 3 stars
- 0 votes
- 0 copies
- 0 views
- Added November 27, 2026
Works with
Security analysis
100/100npx -y skills add ningsishuzhuo/Conflux --skill dispatch --agent claude-codeAre you the author of Dispatch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ningsishuzhuo-dispatch)---
name: conflux-dispatch
description: "派发 Orca worker 并核对回执与五小时窗口,用于派单、查用量或恢复任务。"
---
```sh
conflux dispatch --agent "$AGENT" --profile "$PROFILE" --model "$MODEL" --cwd . -- --spec-file "$SPEC" --worktree current --environment local --json
conflux dispatch --agent claude --profile "$PROFILE" --model "$MODEL" --cwd . --authorize-paid "$REASON" -- --spec-file "$SPEC" --worktree current --environment local --json
conflux usage
orca orchestration inbox --environment local --terminal "run:$RUN" --full --json
orca orchestration worker-list --environment local --run "$RUN" --full --json
orca orchestration worker-stop --environment local --dispatch "$DISPATCH" --json
```
工作区选型见 [权威规则](../autonomy/references/authoritative-rules.md)。
- `--environment local` 固定本机,远端参照 Orca placement 指南。所有路由的 `--model` 精确匹配策略中 agent/profile;`--json` 必填,退出 0 且有 `dispatchId` 才记账。
- 由 Orca 启动并托管的聊天或终端内省略 `--from`(即使没有终端环境变量也一样,以免触发 `consumer_fenced`),由 Orca 自动识别调用方,靠原生 `worker_done` 唤醒。
Antigravity Desktop、独立终端等非 Orca 宿主先用 `orca terminal create --worktree path:<dir> --title "conflux-coord" --environment local --json` 取 `result.terminal.handle`,派单必须在 `--` 之后显式传专用 `--from <handle>`,取派单回执的 `dispatchId` 后在后台运行 `conflux wait`。
多份派单复用同一 `conflux-coord` 锚点。
- `--spec-file` 放会话 scratch 或临时目录,禁写入未冻结的业务仓库,禁 heredoc。
契约写明阶段、权限边界、目标、写入范围、验收证据及 ≤ 20 行的 worker_done 摘要。
收尾必带 `--task-id` 发 `worker_done`。
Orca 协调会话内需要答复时用 `orca orchestration ask`;原生客户端派单 spec 禁 `ask`,遇阻带原因发 `worker_done`。
- Orca 原生参数见 `orca skills get orchestration` 与 `orca skills get orca-cli`。
- 回执未知先查 `request-show`;止损使用对应 Dispatch ID。释放、交接、发版和便利贴按需读 [冷层](references/release-handoff.md)。
- 沙箱中的 `conflux dispatch` 的 `ledger.jsonl` 和便利贴 `friction.md` 写操作需要 `~/.local/state/conflux/` 写权限,必要时提权。
- 策略为 `model: default` 时,调用 Orca 省略 `--model`,避免 `modelUnavailable`。
- AGY 派单门禁见 [权威规则](../autonomy/references/authoritative-rules.md)。
- AGY 的 `run_command` 禁写 `&&`、`|`、`;` 或重定向链式 shell。非 Orca 宿主运行 `conflux wait` 等长后台命令时传 `IsDaemon=true`。
- **`worker_done --outcome succeeded`:有阶段交付或已跑实测即成功,剩余待办/缺陷写进 `--body`(首行标 `[partial|permission|env|test_fail]`);`--outcome failed`:仅用于无法访问仓库或彻底无法推进的阻断。**
- 单张 Codex Spec 只承载 1 个闭环子目标;浏览器视觉实测、`git commit`、写 `.git/index.lock` 和 `./install.sh --check` 等沙箱外动作交 DSH 或收尾执行。
- `--worktree new-child` 派单不依赖协调者 scratch 绝对路径,必要摘要内联 Spec。同一任务续做或追问优先 `orca orchestration send --to dispatch:<id>` 复用原 worker(支持重开已关闭的 resumable worker);仅审写分离或第 3 轮兜底时新建独立 worker。
- Orca 托管会话省略 `conflux wait`,依靠原生 `worker_done` 唤醒;仅外部客户端锚点场景后台运行 `conflux wait`。
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.