# Agent Orchestration

> 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, 多仓库收口, 巡检, 持续推进, 定时自动继续, 创建/读取/转交任…

- **Type:** Skill
- **Install:** `agentstack add skill-lixuvip-codex-agent-orchestration-skill-agent-orchestration`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [lixuvip](https://agentstack.voostack.com/s/lixuvip)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [lixuvip](https://github.com/lixuvip)
- **Source:** https://github.com/lixuvip/codex-agent-orchestration-skill/tree/main/skills/agent-orchestration

## Install

```sh
agentstack add skill-lixuvip-codex-agent-orchestration-skill-agent-orchestration
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [lixuvip](https://github.com/lixuvip)
- **Source:** [lixuvip/codex-agent-orchestration-skill](https://github.com/lixuvip/codex-agent-orchestration-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lixuvip-codex-agent-orchestration-skill-agent-orchestration
- Seller: https://agentstack.voostack.com/s/lixuvip
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
