Agent Skillsudecode/plate › orchestrator

orchestrator

GitHub

将线程设为协调员模式,自动识别分支任务并路由至子线程执行,避免本地实现。负责工作分发、上下文保持、状态追踪及子线程管理,提升多分支协作效率。

.agents/skills/orchestrator/SKILL.md udecode/plate

Trigger Scenarios

用户希望当前线程作为协调员分配工作 需要自动将分支相关任务路由到子线程

Install

npx skills add udecode/plate --skill orchestrator -g -y
More Options

Non-standard path

npx skills add https://github.com/udecode/plate/tree/main/.agents/skills/orchestrator -g -y

Use without installing

npx skills use udecode/plate@orchestrator

指定 Agent (Claude Code)

npx skills add udecode/plate --skill orchestrator -a claude-code -g -y

安装 repo 全部 skill

npx skills add udecode/plate --all -g -y

预览 repo 内 skill

npx skills add udecode/plate --list

SKILL.md

Frontmatter
{
    "name": "orchestrator",
    "description": "Turn the current Codex thread into a coordination thread that routes per-branch implementation work to durable reusable child threads without worktrees."
}

Orchestrator

Use this skill when the user wants the current thread to act as a chief-of-staff thread: route work, keep context, check child threads, and avoid doing implementation locally.

Commands

  • $orchestrator on: activate orchestration-only mode for this thread.
  • $orchestrator off: return this thread to normal local execution.
  • $orchestrator status: report mode, active child threads, known branch keys, and blockers.

Do not add a manual routing command. In orchestrator mode, routing is automatic.

Core Contract

When orchestrator mode is on:

  • Do not implement product code in this thread.
  • Do not create or suggest worktrees.
  • Automatically route any per-branch task to a child thread.
  • Reuse the same child thread for future work on the same branch.
  • Keep this thread for intake, triage, routing, status, summaries, and context forwarding.
  • If mode state is unclear, ask once before executing locally.

Per-Branch Task

A per-branch task is any work that is expected to create, modify, review, or continue a code branch, PR, or branch-scoped implementation plan.

Examples:

  • Ticket execution.
  • Issue execution.
  • API migration work.
  • PR feedback resolution.
  • Code-changing bug, feature, refactor, or migration.
  • Goal-backed implementation that would touch files or branch state.
  • Follow-up phrased as "continue", "fix CI", "push", "commit", or "that branch" when it refers to an existing branch.

Not per-branch by default:

  • One-off answers.
  • Read-only status summaries.
  • Cross-thread triage.
  • External context intake.
  • Asking which child thread owns a branch when the mapping is missing.

Routing Rules

  1. Classify the request.
  2. If it is not per-branch, handle it in the orchestrator thread.
  3. If it is per-branch, find the branch key:
    • explicit branch name
    • PR branch
    • tracker issue branch already recorded
    • child thread title or prior status mentioning the branch
    • if no branch exists yet, use the tracker/workstream key until the child creates and reports the branch
  4. Find an existing child thread for that branch key.
  5. If found, send the new instruction to that child thread.
  6. If not found, create a new child thread with a title like:
<BRANCH-OR-TICKET> <short task title>
  1. Tell the child thread exactly what skill/request to run and include the source context the orchestrator already gathered.
  2. Ask the child thread to report its branch key, PR URL, blockers, and next owner in its closeout.
  3. Record the mapping in the orchestrator status:
| Branch / key | Child thread | Status | Last update | Next |
| --- | --- | --- | --- | --- |

Thread Tool Boundary

Use durable Codex thread tools only. Search for them first by exact namespace-qualified name:

  • codex_app.create_thread
  • codex_app.list_threads
  • codex_app.read_thread
  • codex_app.send_message_to_thread
  • codex_app.set_thread_title
  • codex_app.set_thread_pinned
  • codex_app.set_thread_archived

If these tools are not available, stop and report that durable Codex thread routing is unavailable in the current runtime. Do not use spawn_agent, temporary sub-agents, or parallel workers as a fallback for orchestrator child threads. They are not reusable threads and they break the point of this skill.

Child Prompt Shape

When creating or reusing a child thread, send a compact prompt:

You are the child execution thread for `<branch-or-ticket>`.

Run: <exact user skill/request>

Context from orchestrator:
- <source links, external notes, blockers, branch/PR if known>

Rules:
- Do not create a worktree.
- Reuse this thread for future work on this branch.
- If code changes, follow repo branch/PR rules.
- Report branch, PR, tests, browser proof, blockers, and next owner.

Status Check

On heartbeat or $orchestrator status:

  1. Read known child thread status when tools allow it.
  2. Ask stale child threads for a short update.
  3. Forward relevant external context to the owning child thread.
  4. Surface only actionable blockers and ready-for-review items to the user.
  5. Keep the status short; do not dump child thread transcripts.

Safety

  • Never run code-changing work in both orchestrator and child thread for the same branch.
  • Never start two code-changing child threads on the same checkout at the same time unless the user explicitly accepts branch/file conflicts.
  • Do not route purely local one-line questions away from the orchestrator.
  • If the user says "do it here", "local", or $orchestrator off, execute in the current thread after mode is off.

Success Criteria

  • Orchestrator mode can be turned on, off, and reported.
  • Per-branch tasks are routed automatically.
  • Same-branch follow-ups reuse the same child thread.
  • Durable thread tools are used for child threads.
  • Missing durable thread tools produce a clear blocked status, not a sub-agent fallback.
  • Worktrees are not created.
  • The orchestrator remains a coordination thread, not an implementation thread.

Version History

  • af5e430 Current 2026-08-20 19:26

Same Skill Collection

.agents/skills/adversarial-document-reviewer/SKILL.md
.agents/skills/agent-browser-issue/SKILL.md
.agents/skills/agent-native-reviewer/SKILL.md
.agents/skills/architecture-strategist/SKILL.md
.agents/skills/autoclosure/SKILL.md
.agents/skills/autogoal/SKILL.md
.agents/skills/autoreview/SKILL.md
.agents/skills/best-practices-researcher/SKILL.md
.agents/skills/clawpatch/SKILL.md
.agents/skills/clawsweeper/SKILL.md
.agents/skills/code-simplicity-reviewer/SKILL.md
.agents/skills/coherence-reviewer/SKILL.md
.agents/skills/components/SKILL.md
.agents/skills/continue/SKILL.md
.agents/skills/correctness-reviewer/SKILL.md
.agents/skills/dev-browser/SKILL.md
.agents/skills/diagnosing-bugs/SKILL.md
.agents/skills/docs-creator/SKILL.md
.agents/skills/editor-harvest-plan/SKILL.md
.agents/skills/editor-test-harvester/SKILL.md
.agents/skills/feasibility-reviewer/SKILL.md
.agents/skills/framework-docs-researcher/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/git-history-analyzer/SKILL.md
.agents/skills/gpt-pro/SKILL.md
.agents/skills/grill-me/SKILL.md
.agents/skills/hard-cut/SKILL.md
.agents/skills/issue-intelligence-analyst/SKILL.md
.agents/skills/learnings-researcher/SKILL.md
.agents/skills/maintainability-reviewer/SKILL.md
.agents/skills/major-task/SKILL.md
.agents/skills/north-star/SKILL.md
.agents/skills/pattern-recognition-specialist/SKILL.md
.agents/skills/performance-oracle/SKILL.md
.agents/skills/performance/SKILL.md
.agents/skills/plate-plan/SKILL.md
.agents/skills/plate-plugin-creator/SKILL.md
.agents/skills/plate-ui/SKILL.md
.agents/skills/potion-yjs-dev-browser-test/SKILL.md
.agents/skills/product-lens-reviewer/SKILL.md
.agents/skills/project-standards-reviewer/SKILL.md
.agents/skills/promote-beta/SKILL.md
.agents/skills/react-useeffect/SKILL.md
.agents/skills/react/SKILL.md
.agents/skills/registry-changelog/SKILL.md
.agents/skills/release-lanes/SKILL.md
.agents/skills/repo-research-analyst/SKILL.md
.agents/skills/reproduce-bug/SKILL.md
.agents/skills/research-wiki/SKILL.md

Metadata

Files
0
Version
cce36d3
Hash
868da8f8
Indexed
2026-08-20 19:26

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 13:54
浙ICP备14020137号-1 $mapa de visitantes$