worker
Skill4 starsChanged 7 months agoMITView on GitHub
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams
2 other projects use a version of this.
Adopted by
Most recently taken up by
- chapmanjw/minecraft-bedrock-claude-plugintheir own version, first seen Aug 8, 2026
- mrzhangguoguo/oh-my-workbuddytheir own version, first seen Jul 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- chapmanjw/minecraft-bedrock-claude-plugin★ 2same name
- mrzhangguoguo/oh-my-workbuddy★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository69 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- frontend-designSkill
- python-background-jobsSkill
- python-executorSkill
- python-testing-patternsSkill
- seoSkill
- ai-slop-cleanerSkill
- analyzeSkill
- api-and-interface-designSkill
- ask-claudeSkill
- ask-geminiSkill
- autopilotSkill
- browser-testing-with-devtoolsSkill
- build-fixSkill
- cancelSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-reviewSkill
- code-simplificationSkill
- configure-notificationsSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deep-interviewSkill
- deepsearchSkill
- deprecation-and-migrationSkill
- doctorSkill
- documentation-and-adrsSkill
- ecomodeSkill
- frontend-ui-engineeringSkill
- frontend-ui-uxSkill
- git-masterSkill
- git-workflow-and-versioningSkill
- helpSkill
- hudSkill
- idea-refineSkill
- incremental-implementationSkill
- intent_routerSkill
- keyword_registrySkill
- mode_stateSkill
- noteSkill
- omx-setupSkill
- performance-optimizationSkill
- pipeline_orchestratorSkill
- pipelineSkill
- planning-and-task-breakdownSkill
- planSkill
- ralph-initSkill
- ralph_loopSkill
- ralphSkill
- ralplanSkill
- reviewSkill
- security-and-hardeningSkill
- security-reviewSkill
- shipping-and-launchSkill
- skillSkill
- spec-driven-developmentSkill
- swarmSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
When a worker inbox tells you to load this skill, resolve the first existing path:
- Distinctive: line 35
After ACK, proceed to your inbox instructions.
- Very specific: line 60
Read the task file: <team_state_root>/team/<teamName>/tasks/task-<id>.json (example: task-1.json)
- Very specific: line 64
Never use legacy tasks/{id}.json wording.
- Very specific: line 68
Do NOT directly write lifecycle fields (status, owner, result, error) in task files.
- Very specific: line 69
Use omx team api release-task-claim --json only for rollback/requeue to pending (not for completion).
- Very specific: line 70
Update your worker status: <team_state_root>/team/<teamName>/workers/<workerName>/status.json with {"state":"idle", ...}
- Distinctive: line 75
Check your mailbox for messages:
- Distinctive: line 79
When notified, read messages and follow any instructions.
- Very specific: line 100
Prefer inbox/mailbox/task state and omx team api ...
- Distinctive: line 101
Do not rely on ad-hoc tmux keystrokes as a primary delivery channel.
- Very specific: line 102
If a manual trigger arrives (for example tmux send-keys nudge), treat it only as a prompt to re-check state and continue through the normal …
- Distinctive: line 106
If the lead sends a shutdown request, follow the shutdown inbox instructions exactly, write your shutdown ack file, then exit the Codex …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Worker Skill
This skill is for a Codex session that was started as an OMX Team worker (a tmux pane spawned by $team).
Identity
You MUST be running with OMX_TEAM_WORKER set. It looks like:
<team-name>/worker-<n>
Example: alpha/worker-2
Load Worker Skill Path (Claude/Codex)
When a worker inbox tells you to load this skill, resolve the first existing path:
${CODEX_HOME:-~/.codex}/skills/worker/SKILL.md~/.codex/skills/worker/SKILL.md<leader_cwd>/.codex/skills/worker/SKILL.md<leader_cwd>/skills/worker/SKILL.md(repo fallback)
Startup Protocol (ACK)
- Parse
OMX_TEAM_WORKERinto:teamName(before the/)workerName(after the/, usuallyworker-<n>)
- Send a startup ACK to the lead mailbox before task work:
- Recipient worker id:
leader-fixed - Body: one short deterministic line (recommended:
ACK: <workerName> initialized).
- Recipient worker id:
- After ACK, proceed to your inbox instructions.
The lead will see your message in:
<team_state_root>/team/<teamName>/mailbox/leader-fixed.json
Use CLI interop:
omx team api send-message --input <json> --jsonwith{team_name, from_worker, to_worker:"leader-fixed", body}
Copy/paste template:
omx team api send-message --input "{\"team_name\":\"<teamName>\",\"from_worker\":\"<workerName>\",\"to_worker\":\"leader-fixed\",\"body\":\"ACK: <workerName> initialized\"}" --jsonInbox + Tasks
- Resolve canonical team state root in this order:
OMX_TEAM_STATE_ROOTenv- worker identity
team_state_root - team config/manifest
team_state_root - local cwd fallback (
.omx/state)
- Read your inbox:
<team_state_root>/team/<teamName>/workers/<workerName>/inbox.md - Pick the first unblocked task assigned to you.
- Read the task file:
<team_state_root>/team/<teamName>/tasks/task-<id>.json(example:task-1.json) - Task id format:
- The MCP/state API uses the numeric id (
"1"), not"task-1". - Never use legacy
tasks/{id}.jsonwording.
- The MCP/state API uses the numeric id (
- Claim the task (do NOT start work without a claim) using claim-safe lifecycle CLI interop (
omx team api claim-task --json). - Do the work.
- Complete/fail the task via lifecycle transition CLI interop (
omx team api transition-task-status --json) fromin_progresstocompletedorfailed.- Do NOT directly write lifecycle fields (
status,owner,result,error) in task files.
- Do NOT directly write lifecycle fields (
- Use
omx team api release-task-claim --jsononly for rollback/requeue topending(not for completion). - Update your worker status:
<team_state_root>/team/<teamName>/workers/<workerName>/status.jsonwith{"state":"idle", ...}
Mailbox
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:
omx team api mailbox-list --jsonto readomx team api mailbox-mark-delivered --jsonto acknowledge delivery
Copy/paste templates:
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>\"}" --jsonDispatch Discipline (state-first)
Worker sessions should treat team state + CLI interop as the source of truth.
- Prefer inbox/mailbox/task state and
omx team api ... --jsonoperations. - Do not rely on ad-hoc tmux keystrokes as a primary delivery channel.
- If a manual trigger arrives (for example
tmux send-keysnudge), treat it only as a prompt to re-check state and continue through the normal claim-safe lifecycle.
Shutdown
If the lead sends a shutdown request, follow the shutdown inbox instructions exactly, write your shutdown ack file, then exit the Codex session.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

