teammode
Skill này làm gì
Teammode cho phép nhiều trợ lý AI làm việc cùng nhau trong một nhiệm vụ như một đội có tổ chức. Nó điều phối các trợ lý này, đảm bảo họ có thể chia sẻ thông tin và hợp tác để đạt mục tiêu chung.
Khi nào nên dùng
- ✓Khi một nhiệm vụ cần nhiều người cùng suy nghĩ.
- ✓Khi công việc không thể chia thành các phần hoàn toàn tách biệt.
- ✓Khi các thành viên dễ thấy và phản ứng với công việc của nhau hơn.
Liên kết skill
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/teammode/skills/teammode/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
“Tạo một nhóm trợ lý để phát triển một tính năng mới cho ứng dụng của chúng tôi, với một người tập trung vào backend, một người vào frontend và một người vào kiểm thử.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Teammode hoạt động bằng cách chọn một phương thức giao tiếp cho nhóm (như ‘MultiAgentV2’ hoặc ‘Codex App threads’). Sau đó, nó giao cho mỗi thành viên một trách nhiệm rõ ràng, riêng biệt, đảm bảo họ phối hợp dưới sự dẫn dắt của bạn.
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.
Teammode
Run a named team of cooperating Codex workers under one leader, with durable state on disk. This is a Codex-only workflow. It never depends on an external terminal runner - it coordinates through Codex's own collaboration tools plus a bundled state script, on ONE of two transports chosen up front: native MultiAgentV2 agents, or Codex App threads as the fallback.
When to use a team (and when to use plain subagents instead)
Use a TEAM when EITHER holds:
- the work does NOT split into perfectly isolated pieces, but doing it in parallel is clearly more convenient - members will need to see and react to each other's findings; or
- one task still needs exploration, yet its GOAL is already clear - parallel investigation under a fixed objective.
Use plain fire-and-forget subagents ($ulw / one-off spawn_agent workers) - NOT a team - when
EITHER holds:
- the work IS perfectly isolated, so there is no coordination cost worth paying; or
- the GOAL is still ambiguous, where one mind should resolve direction before any fan-out.
A team buys cross-member coordination at a real overhead cost; only spend it when coordination is the thing you actually need.
Pick the transport FIRST - then tell the user
Before creating any team state, decide which transport this session can run. Inspect your active tool list and select:
- MultiAgentV2 (preferred) - select when the flat V2 collaboration tools are ALL active:
flat
spawn_agentwhose schema requirestask_name, plussend_message,followup_task,wait_agent,list_agents, andinterrupt_agent. Members are durable native agents addressed by task name / agent path (/root/<task_name>). The namespacedmulti_agent_v1.*surface never qualifies as a team transport. - Codex App threads (fallback) - select when flat V2 is not available but the
codex_app.*thread tools are (create_thread,read_thread,send_message_to_thread,set_thread_title,set_thread_archived). - Neither set visible - if a
tool_searchtool is active, search for the missing sets (e.g.spawn_agent,codex_app) before concluding: some environments defer tools behind tool search. A hit is only a lead: revalidate that the visible result is the COMPLETE, mutually compatible transport set from case 1 or 2 before selecting it. Do not combine partial hits from different transports. - Neither set exists - teammode cannot run here. Do NOT run
initor fake a team with partial tooling. If another visible plain-subagent mechanism can independently spawn, communicate with, and observe plain workers, announce that exact mechanism and use it for non-overlapping scopes. Otherwise continue serially and report the capability limitation; never promise or imply plain subagents that this session cannot create.
Then, BEFORE running init (or instead of it in case 4), tell the user in one line what this
environment provides and which route you picked:
Teammode transport: MultiAgentV2 (flat spawn_agent with task_name).Teammode transport: Codex App threads (flat V2 tools not present in this session).Teammode unavailable: neither MultiAgentV2 nor codex_app tools exist in this session - using <visible plain-subagent mechanism> for independent scopes.Teammode unavailable: neither MultiAgentV2 nor codex_app tools exist in this session, and no compatible plain-subagent mechanism is available - continuing serially.
Pass the choice to init as --transport multi_agent_v2 or --transport codex_app. The
transport is recorded in team.json and is IMMUTABLE for the team's lifetime: a V2 spawn
failure is a V2 blocker to report, never permission to mix Codex App threads into the same
team. Never probe by trial-calling tools; read your tool list, and search it with
tool_search only when a needed set is not visible.
You are the leader - orchestrate, do not implement
The main session is ALWAYS the team leader; you orchestrate directly and never spin up a separate leader worker. Your job is orchestration, NOT writing product code: split the work and assign each slice, hold live situational awareness of every member, verify and QA what they deliver, relay findings between members, instruct and unblock, and synthesize the result. DELEGATE every code edit to a member - if you catch yourself editing product files while the team runs, that work was a
…
Câu hỏi thường gặp
Khác biệt giữa dùng một “nhóm” và dùng các trợ lý riêng lẻ là gì?
Một “nhóm” dành cho công việc cần cộng tác và nơi các thành viên phải phản ứng với nhau. Các trợ lý riêng lẻ phù hợp hơn cho những việc hoàn toàn độc lập, không cần phối hợp.
Tôi có thể có một nhóm chỉ với một trợ lý không?
Không, một nhóm luôn cần ít nhất hai trợ lý để việc cộng tác và phối hợp có ý nghĩa.
Teammode quyết định cách các trợ lý giao tiếp như thế nào?
Nó kiểm tra những công cụ giao tiếp nào đang có sẵn trong môi trường của bạn và chọn phương án tốt nhất, chẳng hạn ‘MultiAgentV2’ hoặc ‘Codex App threads’.
Chi tiết
Mô tả gốc của tác giả
Codex-only team orchestration: run a named team of cooperating Codex workers with durable, script-managed state. MUST USE when the user asks Codex to create, run, coordinate, inspect, archive, or delete a team of agents/threads/sessions, or to work on something as a team in parallel. FIRST inspects the active tool surface (checking tool_search for deferred tools) and tells the user the route: nati
Độ phổ biến
- Sao GitHub
- 70k
- Vị trí xếp hạng
- #3115
- Giấy phép
- NOASSERTION
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
comment-checker
70kGiúp agent của bạn hiểu và phản hồi các nhận xét từ công cụ kiểm tra bình luận tự động. Hữu ích khi xử lý kết quả từ việc rà soát mã hoặc nội dung tự động.
lcx-contribute-bug-fix
70kGiúp agent của bạn đóng góp bản sửa lỗi cho các dự án liên quan đến LazyCodex. Agent tạo issue hoặc pull request để đảm bảo chất lượng mã.
lcx-doctor
70kCho phép agent của bạn kiểm tra tình trạng cài đặt LazyCodex và Codex CLI. Hữu ích khi hệ thống hoạt động lạ sau khi cập nhật hoặc thay đổi.
lcx-report-bug
70kGiúp agent của bạn báo lỗi chi tiết cho các dự án LazyCodex. Agent tạo issue với thông tin hữu ích để lập trình viên sửa vấn đề.
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.