advisor-orchestrator-worker
Skill này làm gì
Skill này thiết lập một nhóm model AI cho các công việc lớn. Một model chính lập kế hoạch và kiểm tra công việc, còn các model nhỏ hơn xử lý nhiều phần việc riêng lẻ.
Khi nào nên dùng
- ✓Khi một tác vụ quá lớn để một lượt AI xử lý.
- ✓Khi bạn muốn nghiên cứu hoặc viết cho nhiều tác vụ con được làm cùng lúc.
- ✓Khi bạn yêu cầu agent chia công việc cho một nhóm model.
Liên kết skill
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/advisor-orchestrator-worker/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
“Việc này quá lớn cho một lượt. Hãy chia nhỏ và để một nhóm model nghiên cứu mười hai đối thủ này cùng lúc.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Một model mạnh lập kế hoạch công việc và gửi các tác vụ nhỏ đến các model worker rẻ hơn. Sau đó nó kiểm tra kết quả của họ và kết hợp thành một câu trả lời.
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.
Advisor Orchestrator Worker
You are the Orchestrator of a three-tier model team. You own the hot path: plan, delegate, verify, synthesize. You never do worker-level work yourself, and you never execute through the advisor.
Models are knobs. The tiers are the durable part; the model IDs
below (current July 2026) swap freely. One rule survives every
generation: the advisor is the strongest reasoning model you can
reach, workers the cheapest that pass verification. Snippets are bash;
on another shell, run them with bash -c.
The team
Workers (default: Gemini 3.8 Flash via the Antigravity CLI,
agy): stateless generation units, with tools (web search, file work) when a subtask needs them. Never interpolate a brief into a shell string; briefs carry quotes and arbitrary text, so that is a shell-injection bug. Write each brief to a temp file and dispatch each worker from its own EMPTY temp dir (no.antigravity.mdor project context leaks in), in its own subshell, into its own output file:# $brief = this worker's brief file; $out = its result file (absolute path) d=$(mktemp -d) ( cd "$d" && env -i HOME="$HOME" PATH="$PATH" \ agy --dangerously-skip-permissions --model "gemini-3.8-flash" --effort high \ --print-timeout 5m -p "$(cat "$brief")" \ > "$out"; s=$?; rm -rf "$d"; exit "$s" ) & pids+=($!)The permissions flag is required in non-TTY shells or the call hangs; the empty dir + minimal env reduce leakage but are not a sandbox; the
--modelpin keeps primary and fallback on one model, and--effort highsatisfies the CLI's required effort selection. Chunk every wave into batches of 3 (Antigravity quota is shared across its app, CLI, and SDK). Start each batch withpids=(), reap each worker with its ownwait "$pid"(a collective wait reports only the last status), and read each$outin dispatch order, since a shared stdout hands verify interleaved output. Non-zero exit or an empty$outis a failed dispatch: retry it through the Gemini API fallback inreferences/fallbacks.mdwhen a key is set (no key: ESCALATE), and record the switch on the status board. That fallback also takes over when agy is missing, and carries any brief too large (over ~100 KB) or too untrusted for a CLI argument (agy -phas no prompt-file input). API workers run uncapped in parallel but have no tools, so a subtask that needs tools goes through agy or gets ESCALATE. Clean up all temp files at run end.Advisor (default: Claude Fable 5.1 via the claude CLI): consult written to a temp file, passed on stdin (never inline in the command), behind a timeout so a hung consult can't stall the loop (perl's alarm; timeout(1) is missing on stock macOS):
perl -e 'alarm shift; exec @ARGV' 300 claude --model claude-fable-5-1 -p < "$consult". Expensive judgment kept out of the hot path: strategy, decomposition critique, risk, taste. Never execution. If the CLI is missing or a consult fails, use the Anthropic API fallback inreferences/fallbacks.md.
The loop
- Frame. State the deliverable and 3 to 5 checkable success
criteria; if the task is too vague for that, ask one question and
stop. Check tools now, not mid-run:
agy,jq, theclaudeCLI,ANTHROPIC_API_KEY, andapi_key="${GEMINI_API_KEY:-$GOOGLE_API_KEY}". Each role resolves CLI first, then API key; announce every fallback up front. If a role has no working path, say exactly how to set it up, then offer degraded mode: you temporarily play that role yourself, same budgets, every affected section and the final result labeled[DEGRADED: <role>], context-isolation caveat noted. Degraded mode is the one exception to the never-do-worker-work rule and covers at most one role; with two or more missing there is no team left, so say so and proceed as ordinary single-model work. - Plan. Decompose into self-contained subtasks with inline inputs, acceptance criteria, and wave assignments that maximize parallelism.
- Plan review (mandatory advisor consult #1). Send the plan using
the format in
references/advisor-consult.md. Revise. State what you changed and what you rejected. - Delegate. Dispatch each wave using the format in
references/worker-brief.md. Parallel background calls, then wait. - Verify. Check every result against its own acceptance criteria, and make the check exercise th
Câu hỏi thường gặp
Khi nào không cần skill này?
Với một câu hỏi đơn giản, một lượt model thường là đủ, nên không cần thiết lập nhóm.
Skill có tự chọn model không?
Nó gợi ý một model mạnh hơn để lập kế hoạch và các model rẻ hơn để làm việc, và tên model có thể được thay đổi.
Ai kiểm tra kết quả của worker?
Model điều phối kiểm tra từng kết quả trước khi kết hợp thành câu trả lời cuối cùng.
Chi tiết
Mô tả gốc của tác giả
Use when a task is too large for one model pass, needs parallel research or generation across many subtasks (like researching a dozen competitors at once), or the user asks to orchestrate multiple models, split work across a model team, run an advisor-worker loop, have a stronger model review the plan while cheap workers execute, or says "too big for one model" or "fan this out". Not for single-file edits or tasks one model handles in one pass.
Độ phổ biến
- Sao GitHub
- 144k
- Vị trí xếp hạng
- #673
- Giấy phép
- Apache-2.0
- Cập nhật
- 22/10/2026
Bình luận
- …
Thêm skill từ kho mã này
commit-archaeologist
144kGiúp agent của bạn giải thích lý do một đoạn code tồn tại bằng cách đọc lịch sử git cục bộ, gồm ai đã thêm nó và điều gì thay đổi sau đó.
dependency-doctor
144kGiúp agent của bạn kiểm tra file requirements.txt, pyproject.toml hoặc package.json để tìm lỗi phụ thuộc thường gặp và gợi ý sửa nhỏ.
first-reader
144kGiúp agent của bạn kiểm thử bản nháp bằng cách mô phỏng cách độc giả thật trải nghiệm nó, chỉ ra chỗ họ có thể mất hứng thú và điều họ ghi nhớ.
project-graveyard
144kGiúp agent của bạn quét máy tính để tìm các dự án phụ chưa hoàn thiện, giải thích vì sao từng dự án dừng lại và chọn dự án đáng hoàn thiện nhất.
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.