team
Skill này làm gì
Skill này chạy một nhóm nhỏ các worker AI trên cùng một dự án cùng lúc. Skill dành cho các tác vụ lớn có thể chia thành những phần chạy song song.
Khi nào nên dùng
- ✓Khi một tác vụ có thể chia thành các phần song song mà nhiều agent có thể xử lý cùng lúc.
- ✓Khi bạn muốn các worker chia sẻ danh sách công việc và nhắn tin cho nhau.
- ✓Khi bạn yêu cầu rõ ràng bắt đầu một lần chạy nhóm.
Liên kết skill
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/team/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dùng ba agent để triển khai song song các tính năng đăng nhập, đăng ký và đặt lại mật khẩu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill khởi động nhiều phiên worker trong tmux, đặt tác vụ trên các ghi chú ngữ cảnh đã lưu, rồi cấp cho mỗi worker một danh sách công việc chung. Worker nhận việc, gửi tin nhắn và báo cáo tiến độ qua trạng thái nhóm.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Team Skill
When to use
Use only for an explicit $team request or omx team ... launch that benefits from durable tmux workers, shared task state, mailbox coordination, or worktree isolation. Read AGENTS.md#durable-runtime-invariants-canonical-ssot; do not copy its durable rules into this card.
Inputs and preconditions
- Launch shape:
omx team [N:agent-type] "<task>"(for exampleomx team 3:executor "implement X"). - Require
tmux -V, a leader session with$TMUX, and the intendedomxexecutable. In Codex App/plain non-tmux sessions, explain the runtime boundary instead of pretending Team is available. - Before launch, ground the task in a recent
.omx/context/{slug}-*.md; create a concise snapshot when none exists. Include target, evidence, constraints, unknowns, and likely touchpoints. - Do not launch nested Team runs. Pick worker roles deliberately; use
OMX_TEAM_WORKER_CLI=codex|claude|autoorOMX_TEAM_WORKER_CLI_MAP=...only when needed. - Per-agent reasoning is set by
agentReasoning; accepted values arelow,medium,high,xhigh, andmax.maxis passed unchanged and remains capability-dependent.ultrais unsupported and is not an alias formax. - Invalid configured values use the built-in role-default fallback. An explicit raw
-c model_reasoning_effort=...is opaque and wins. When both sources are present, explicit raw reasoning wins over inherited Team reasoning and environment reasoning. Do not downgrade or retrymaxasxhigh; built-in role defaults remain unchanged.
Operational steps
- Start the runtime and capture startup evidence:
Team started: <name>, tmux target, worker panes, and the leader ACK mailbox. - Current Runtime Behavior: runtime-owned task files and APIs are the operational interface; the durable ownership and safety rules remain in
templates/AGENTS.md. - Runtime creates
.omx/state/team/<name>/config.json,manifest.v2.json,tasks/task-<id>.json, worker identities/inboxes, mailbox files, and a dispatch queue. Workers receiveOMX_TEAM_WORKER,OMX_TEAM_STATE_ROOT, andOMX_TEAM_LEADER_CWD. - Deliver assignments through durable inbox/task state and the CLI API. The worker card defines ACK, claim, transition, mailbox, and idle-status commands.
- Prefer these machine-readable operations:
omx team api send-message --input '{"team_name":"<name>","from_worker":"leader-fixed","to_worker":"worker-1","body":"<short trigger>"}' --json omx team api read-task --input '{"team_name":"<name>","task_id":"<id>"}' --json omx team api transition-task-status --input '{"team_name":"<name>","task_id":"<id>","from":"in_progress","to":"completed","claim_token":"<token>"}' --json - Monitor with
omx team status <name> --jsonoromx team await <name> --timeout-ms 30000 --json; inspect mailbox/state files when a worker is blocked or stale. - Keep the team running until
pending=0,in_progress=0, andfailed=0(or an explicitly acknowledged failure path). Runomx team shutdown <name>only then, unless the user explicitly aborts. - Verify shutdown evidence and state cleanup. Do not claim completion while workers are still writing.
Team and Ultragoal
When a leader-owned .omx/ultragoal/goals.json exists, workers return task evidence only. The leader checkpoints with a fresh Codex get_goal snapshot:
omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<Team evidence>" --codex-goal-json <fresh-get-goal-json-or-path>
Team launch remains an explicit separate action; it does not create hidden Codex goals.
Dispatch and recovery
- If dispatch reports
worker_notify_failed:<worker>, inspecttmux list-panes, capture the pane, then send one concise trigger and re-check mailbox/state. - For Claude panes, do not spam Enter while work is active. Confirm runtime status first.
- If a worker reports
omx team api ... ENOENT, check whether shutdown or state deletion happened too early; preserve state until all transitions finish. - For a clean retry, kill only known stale worker panes, remove only the exact stale Team root, and relaunch; never kill the leader/HUD pane accidentally.
Exit and evidence
Report team name, launch command, pane/ACK evidence, task counts, worker verification, failures or blockers, shutdown result, and cleaned state paths. Include any worktree or CLI-map choices and keep final integration/verification in the leader lane.
Câu hỏi thường gặp
Tôi cần cài gì?
Cần tmux và một phiên leader, nên nó không hoạt động trong một thiết lập thông thường không có tmux.
Nhóm có thể khởi động nhóm khác không?
Không. Không được phép chạy nhóm lồng nhau.
Mỗi worker có thể dùng một công cụ AI khác nhau không?
Có. Một thiết lập có thể chọn công cụ worker cho từng worker.
Chi tiết
Mô tả gốc của tác giả
N coordinated agents on shared task list using tmux-based orchestration
repo: Yeachan-Heo/oh-my-codex
Độ phổ biến
- Sao GitHub
- 34k
- Vị trí xếp hạng
- #8425
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-slop-cleaner
34kGiúp agent của bạn dọn dẹp mã cồng kềnh, lặp lại hoặc do AI tạo ra bằng cách loại bỏ mã chết và các lớp bọc không cần thiết, đồng thời giữ nguyên hành vi.
analyze
34kGiúp agent của bạn trả lời một câu hỏi về mã nguồn bằng cách đọc các đoạn mã liên quan và báo cáo các giải thích được xếp hạng kèm bằng chứng, mà không thực hiện thay đổi nào.
ask
34kCho phép agent của bạn hỏi một công cụ dòng lệnh Claude hoặc Gemini đã cài sẵn trên máy để lấy ý kiến thứ hai hoặc đánh giá, rồi lưu câu trả lời thành file.
autopilot
34kChạy một dự án trọn gói, không cần can thiệp, từ ý tưởng qua yêu cầu, lập kế hoạch và thực hiện, chỉ tạm dừng khi gặp trở ngại thật sự.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.