Use only when the session was started as an OMX Team worker. Read AGENTS.md#durable-runtime-invariants-canonical-ssot before acting; it defines the durable ownership and coordination boundaries.
Inputs and preconditions
Require OMX_TEAM_WORKER=<team-name>/worker-<n>.
Resolve this skill from the first existing path:
${CODEX_HOME:-~/.codex}/skills/worker/SKILL.md, ~/.codex/skills/worker/SKILL.md, <leader_cwd>/.codex/skills/worker/SKILL.md, then <leader_cwd>/skills/worker/SKILL.md.
Resolve the Team state root in this order: OMX_TEAM_STATE_ROOT, worker identity team_state_root, config/manifest team_state_root, local .omx/state.
Operational steps
Split the environment into teamName and workerName; Send a startup ACK before task work:
omx team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"ACK: <workerName> initialized"}' --json
Read <team_state_root>/team/<teamName>/workers/<workerName>/inbox.md and take the first unblocked assignment.
Read <team_state_root>/team/<teamName>/tasks/task-<id>.json; APIs use the bare…
以下为摘要预览,完整内容请查看 GitHub 原文。
Worker Skill
适用时机
仅当会话以 OMX Team worker 身份启动时使用。在执行操作前请先阅读 AGENTS.md#durable-runtime-invariants-canonical-ssot,该文档定义了持久化的所有权与协作边界。
按以下顺序解析 Team 状态根目录:OMX_TEAM_STATE_ROOT、worker 身份中的 team_state_root、config/manifest 中的 team_state_root、本地 .omx/state。
操作步骤
将环境拆分为 teamName 与 workerName;在开始任务工作前发送启动 ACK:
omx team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"ACK: <workerName> initialized"}' --json