원클릭으로
worker
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
[OMAGY] Run an anti-slop cleanup/refactor/deslop workflow
Run read-only deep repository analysis with ranked synthesis, concrete evidence, and explicit Evidence/Inference/Unknown boundaries.
Full OMX-style autonomous pipeline for Omagy: interview, plan, goal execution, optional team, review, and UltraQA.
Professor-critic research workflow with durable Omagy artifacts for agy.
Stateful validator-gated research loop with artifact-gated completion.
[Omagy] Bounded best-practice research wrapper using official/upstream evidence first
| name | worker |
| description | Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams. |
This skill is for an Antigravity CLI session started as an Omagy Team worker inside a tmux pane. It is not a user-facing planning or review workflow.
You MUST be running with OMAGY_TEAM_WORKER set:
<team-name>/worker-<n>
Example:
alpha/worker-2
Parse it into team_name and worker before any task work.
Use omagy team api ... --json for all team state reads and writes. Do not
directly edit .omagy/state/team/** JSON files.
Use these environment variables when present:
OMAGY_TEAM_WORKER: canonical <team>/<worker> identity.OMAGY_TEAM_STATE_ROOT: canonical state root for this worker.OMAGY_TEAM_LEADER_CWD: leader workspace path.If environment variables are missing, stop and report the missing value. Do not guess a sibling team.
Before task work, send one deterministic ACK to the leader mailbox:
omagy team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"ACK: <workerName> initialized"}' --json
Then read your mailbox and inbox:
omagy team api mailbox-list --input '{"team_name":"<teamName>","worker":"<workerName>"}' --json
Your inbox is informational; the task lifecycle still goes through the API.
omagy team api list-tasks --input '{"team_name":"<teamName>"}' --json
omagy team api claim-task --input '{"team_name":"<teamName>","task_id":"<id>","worker":"<workerName>"}' --json
omagy team api transition-task-status --input '{"team_name":"<teamName>","task_id":"<id>","from":"in_progress","to":"completed","claim_token":"<token>","result":"PASS: <evidence>"}' --json
Use to:"failed" with an error field when the task cannot be completed.
Use release-task-claim only for rollback or requeue, not for successful
completion.
Mailbox messages are durable state. A tmux nudge is only a wake-up signal.
After reading a mailbox message, mark it delivered:
omagy team api mailbox-mark-delivered --input '{"team_name":"<teamName>","worker":"<workerName>","message_id":"<messageId>"}' --json
Reply to the leader with short status messages when useful:
omagy team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"DONE: <summary>"}' --json
Record heartbeat evidence during long work:
omagy team api update-worker-heartbeat --input '{"team_name":"<teamName>","worker":"<workerName>","turn_count":1,"alive":true}' --json
If the leader sends a shutdown request, finish any safe cleanup, acknowledge via the API, then exit the worker session:
omagy team api write-shutdown-ack --input '{"team_name":"<teamName>","worker":"<workerName>","reason":"worker drained"}' --json