agentleFS
lixuviplixuvip/codex-agent-orchestration-skill/skills/agent-orchestration/SKILL.md

agent-orchestration

Skill9 starsChanged 5 months agoMITView on GitHub

Coordinate Codex work across the current task, internal subagents, user-owned tasks, worktrees, handoffs, formal review gates, or recurring automation. Use for delegation, parallel roles, another Codex task, cross-repo work, QA/review handoffs, scheduled follow-up, or task inspection and continuation. Chinese triggers include 子Agent/子进程/子对话, 另一个对话接手, 并行处理, 分给QA, 多仓库收口, 巡检, 持续推进, 定时自动继续, 创建/读取/转交任务.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use the least coordination that can safely finish the task.

    line 8
  2. Distinctive:

    Keep one-owner work in the current task.

    line 12
  3. Distinctive:

    Use one internal subagent for a bounded independent result that returns to the coordinator.

    line 13
  4. Distinctive:

    Create or continue a user-owned thread only when the user wants separate visibility or direct follow-up.

    line 14
  5. Distinctive:

    Before delegation, say whether a new sidebar task will appear, where the result returns, and who owns follow-up.

    line 15
  6. Very specific:

    Read one language version of references/COORDINATION.md only for multiple owners, cross-repo/worktree coordination, or formal …

    line 20
  7. Very specific:

    Read one language version of references/AUTOMATION.md only for recurring or delayed work that must survive the current turn.

    line 21
  8. Distinctive:

    Do not load these references for a single bounded subagent.

    line 22
  9. Distinctive:

    Before dispatch, verify the owner has the required read, write, execute, network, browser, and connector capabilities.

    line 27
  10. Distinctive:

    Keep delegation flat by default.

    line 28
  11. Distinctive:

    Treat new user input as replace, add, or status.

    line 30
  12. Distinctive:

    Avoid duplicate work: targeted checks during implementation, one final relevant suite on the candidate artifact, and rerun only affected …

    line 31
  13. Distinctive:

    Do not merge, push, deploy, publish, spend, expose secrets, or expand scope without user/project authority.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent Orchestration

Use the least coordination that can safely finish the task. Prefer Codex's native task, subagent, thread, worktree, wait, and automation state over custom protocol.

Default Route

  • Keep one-owner work in the current task.
  • Use one internal subagent for a bounded independent result that returns to the coordinator. Do not create task boards, callback JSON, heartbeat, leases, or manual status files.
  • Create or continue a user-owned thread only when the user wants separate visibility or direct follow-up. Use fork only when completed history must carry over, a worktree for isolated writes, and handoff only to move the same task between Local and Worktree.
  • Before delegation, say whether a new sidebar task will appear, where the result returns, and who owns follow-up.
  • Choose the best-fit supported reasoning effort. Never set model unless the user requests it.

Load Only When Needed

  • Read one language version of references/COORDINATION.md only for multiple owners, cross-repo/worktree coordination, or formal QA/review/release gates.
  • Read one language version of references/AUTOMATION.md only for recurring or delayed work that must survive the current turn.
  • Do not load these references for a single bounded subagent. Never load both language versions.

Core Guardrails

  • Give every delegated task one owner and explicit editable/read-only/out-of-scope boundaries. Isolate or serialize overlapping writes.
  • Before dispatch, verify the owner has the required read, write, execute, network, browser, and connector capabilities. Keep high-ambiguity planning read-only in the current task; do not assume a child inherits the parent's restrictions.
  • Keep delegation flat by default. Use nested delegation only when the user or project explicitly needs it and ownership remains auditable.
  • Trust native agent/thread status for lifecycle; inspect the returned result and real evidence before acceptance. Silence is not completion.
  • Treat new user input as replace, add, or status. Update or interrupt affected owners, and mark late output from superseded scope as stale.
  • Avoid duplicate work: targeted checks during implementation, one final relevant suite on the candidate artifact, and rerun only affected checks after changes unless project rules require more.
  • Send progress updates only for meaningful state changes, blockers, decisions, or new evidence; do not narrate unchanged waiting.
  • Do not merge, push, deploy, publish, spend, expose secrets, or expand scope without user/project authority.

Delivery

Before final, map every user request and follow-up to current evidence or an explicit status, then audit active agents, tasks, commands, monitors, and automations so no work is silently orphaned. Report the result, participants, real verification, changed files/branches/commits, remaining risk, and anything intentionally left active. Keep project-specific contracts in the target repository.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.