ワンクリックで
worker
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMQ teams
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMQ teams
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | worker |
| description | Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMQ teams |
This skill is for a Qwen Code session that was started as an OMQ Team worker (a tmux pane spawned by $team).
You MUST be running with OMQ_TEAM_WORKER set. It looks like:
<team-name>/worker-<n>
Example: alpha/worker-2
When a worker inbox tells you to load this skill, resolve the first existing path:
${QWEN_HOME:-~/.qwen}/skills/worker/SKILL.md~/.qwen/skills/worker/SKILL.md<leader_cwd>/.qwen/skills/worker/SKILL.md<leader_cwd>/skills/worker/SKILL.md (repo fallback)OMQ_TEAM_WORKER into:
teamName (before the /)workerName (after the /, usually worker-<n>)leader-fixedACK: <workerName> initialized).The lead will see your message in:
<team_state_root>/team/<teamName>/mailbox/leader-fixed.json
Use CLI interop:
omq team api send-message --input <json> --json with {team_name, from_worker, to_worker:"leader-fixed", body}Copy/paste template:
omq team api send-message --input "{\"team_name\":\"<teamName>\",\"from_worker\":\"<workerName>\",\"to_worker\":\"leader-fixed\",\"body\":\"ACK: <workerName> initialized\"}" --json
OMQ_TEAM_STATE_ROOT envteam_state_rootteam_state_root.omq/state)<team_state_root>/team/<teamName>/workers/<workerName>/inbox.md<team_state_root>/team/<teamName>/tasks/task-<id>.json (example: task-1.json)"1"), not "task-1".tasks/{id}.json wording.omq team api claim-task --json).omq team api transition-task-status --json) from in_progress to completed or failed.
status, owner, result, error) in task files.omq team api release-task-claim --json only for rollback/requeue to pending (not for completion).<team_state_root>/team/<teamName>/workers/<workerName>/status.json with {"state":"idle", ...}Check your mailbox for messages:
<team_state_root>/team/<teamName>/mailbox/<workerName>.json
When notified, read messages and follow any instructions. Use short ACK replies when appropriate.
Note: leader dispatch is state-first. The durable queue lives at:
<team_state_root>/team/<teamName>/dispatch/requests.json
Hooks/watchers may nudge you after mailbox/inbox state is already written.
Use CLI interop:
omq team api mailbox-list --json to readomq team api mailbox-mark-delivered --json to acknowledge deliveryCopy/paste templates:
omq team api mailbox-list --input "{\"team_name\":\"<teamName>\",\"worker\":\"<workerName>\"}" --json
omq team api mailbox-mark-delivered --input "{\"team_name\":\"<teamName>\",\"worker\":\"<workerName>\",\"message_id\":\"<MESSAGE_ID>\"}" --json
Worker sessions should treat team state + CLI interop as the source of truth.
omq team api ... --json operations.tmux send-keys nudge), treat it only as a prompt to re-check state and continue through the normal claim-safe lifecycle.If the lead sends a shutdown request, follow the shutdown inbox instructions exactly, write your shutdown ack file, then exit the Qwen Code session.
Diagnose and fix oh-my-qwencode installation issues
Guide on using oh-my-qwencode plugin
Run deep investigation of architecture, bugs, performance issues, or dependencies and return structured findings with file:line evidence. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs root cause analysis before making changes. Routes to architect agent or Qwen Code MCP for thorough cross-file reasoning.
Ask Claude via local CLI and capture a reusable artifact
Ask Gemini via local CLI and capture a reusable artifact
Full autonomous execution from idea to working code