跳到正文
cccskills
免费在 GitHub 公开

worker

[OMX] Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin星标 39(GitHub 39 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Worker Skill

When to use

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

  1. 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
    
  2. Read <team_state_root>/team/<teamName>/workers/<workerName>/inbox.md and take the first unblocked assignment.
  3. Read <team_state_root>/team/<teamName>/tasks/task-<id>.json; APIs use the bare numeric task_id (for example "1").
  4. Claim before editing:
    omx team api claim-task --input '{"team_name":"<teamName>","task_id":"<id>","worker":"<workerName>"}' --json
    
  5. Do the assigned work. Do not write task lifecycle fields directly.
  6. Complete or fail through the lifecycle API, from in_progress to completed or failed:
    omx team api transition-task-status --input '{"team_name":"<teamName>","task_id":"<id>","from":"in_progress","to":"completed","claim_token":"<token>","result":"<evidence>"}' --json
    
    Use release-task-claim only to requeue a blocked task to pending.
  7. Check and acknowledge mailbox messages:
    omx team api mailbox-list --input '{"team_name":"<teamName>","worker":"<workerName>"}' --json
    omx team api mailbox-mark-delivered --input '{"team_name":"<teamName>","worker":"<workerName>","message_id":"<MESSAGE_ID>"}' --json
    
  8. Write idle status after the transition: <team_state_root>/team/<teamName>/workers/<workerName>/status.json with {"state":"idle","updated_at":"<ISO timestamp>"}.

Exit and evidence

Completion evidence names the task id, changed artifacts, verification performed, and any blocker. ACKs, task transitions, mailbox acknowledgements, and status writes must be observable through the Team API/state files. On shutdown, follow the lead's inbox instructions and write the required shutdown acknowledgement before exiting.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

analyze

免费

[OMX] 只读调查跨文件的行为、原因或架构问题,提供源码证据与不确定性。单文件查找无需此流程。

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

ask

免费

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

autopilot

免费

[OMX] Supervise deep interview, consensus planning, and durable goal execution for explicit hands-off delivery.

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

[OMX] Stateful validator-gated research loop with native-hook persistence

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

[OMX] Bounded best-practice research wrapper using official/upstream evidence first

中文简介正在准备中。当前显示原文说明。

Tenon-Net/TenonAdmin392026年10月23日 更新

查看 Tenon-Net 的全部技能

报告此技能的问题