advisor-orchestrator-worker
यह क्या करती है
यह स्किल बड़े कामों के लिए AI मॉडलों की एक टीम सेट करती है। एक मुख्य मॉडल काम की योजना बनाता और जाँच करता है, जबकि छोटे मॉडल कई अलग-अलग हिस्से संभालते हैं।
कब इस्तेमाल करें
- ✓जब कोई काम एक AI पास के लिए बहुत बड़ा हो।
- ✓जब आप चाहें कि कई उप-कार्यों पर शोध या लेखन एक साथ हो।
- ✓जब आप अपने एजेंट से काम मॉडलों की टीम में बाँटने को कहें।
Skill का लिंक
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/advisor-orchestrator-worker/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“यह एक पास के लिए बहुत बड़ा है। इसे बाँटिए और मॉडलों की एक टीम से इन बारह प्रतिस्पर्धियों पर एक साथ शोध करवाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एक मज़बूत मॉडल काम की योजना बनाता है और छोटे कार्य सस्ते worker मॉडलों को भेजता है। फिर वह उनके नतीजों की जाँच करता है और उन्हें एक उत्तर में मिलाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
अक्सर पूछे जाने वाले सवाल
यह स्किल कब ज़रूरी नहीं है?
एक सरल सवाल के लिए आमतौर पर एक मॉडल पास काफ़ी होता है, इसलिए टीम सेटअप की ज़रूरत नहीं।
क्या स्किल मॉडल चुनती है?
वह योजना के लिए मज़बूत मॉडल और काम के लिए सस्ते मॉडल सुझाती है, और मॉडल के नाम बदले जा सकते हैं।
worker के आउटपुट की जाँच कौन करता है?
अंतिम उत्तर मिलाने से पहले मुख्य समन्वय करने वाला मॉडल हर नतीजे की जाँच करता है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 144k
- रैंकिंग में स्थान
- #673
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 22/10/2026
कमेंट
- …
इस repository की और skills
commit-archaeologist
144kआपके एजेंट को स्थानीय git इतिहास पढ़कर बताने में मदद करती है कि कोड का कोई टुकड़ा क्यों है, किसने जोड़ा और बाद में क्या बदला।
dependency-doctor
144kआपके एजेंट को requirements.txt, pyproject.toml या package.json फ़ाइल में आम dependency समस्याएँ जाँचने और छोटे, समीक्षा योग्य सुधार सुझाने में मदद करती है।
first-reader
144kआपके एजेंट को असली पाठकों के अनुभव की नकल करके मसौदा जाँचने में मदद करती है, यह दिखाते हुए कि पाठक कहाँ ऊब सकते हैं और उन्हें क्या याद रहता है।
project-graveyard
144kआपके एजेंट को आपके कंप्यूटर पर अधूरे साइड प्रोजेक्ट खोजने, हर एक के रुकने का कारण बताने और पूरा करने लायक एक चुनने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।