Zum Inhalt springen
Skillpedia
Agenten144k · #673

advisor-orchestrator-worker

Was er macht

Dieser Skill richtet ein Team aus KI-Modellen für große Aufgaben ein. Ein Hauptmodell plant und prüft die Arbeit, während kleinere Modelle die vielen einzelnen Teile übernehmen.

Wann du ihn nutzt

  • ✓Wenn eine Aufgabe für einen einzigen KI-Durchlauf zu groß ist.
  • ✓Wenn du Recherche oder Texte für viele Teilaufgaben gleichzeitig erledigen lassen willst.
  • ✓Wenn du deinen Agenten bittest, Arbeit auf ein Team von Modellen zu verteilen.

Link zum Skill

https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/advisor-orchestrator-worker/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/advisor-orchestrator-worker/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Das ist zu groß für einen einzigen Durchlauf. Teile es auf und lass ein Team von Modellen diese zwölf Wettbewerber gleichzeitig recherchieren.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Ein starkes Modell plant die Arbeit und schickt kleine Aufgaben an günstigere Arbeitsmodelle. Danach prüft es deren Ergebnisse und fügt sie zu einer einzigen Antwort zusammen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.md or 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 --model pin keeps primary and fallback on one model, and --effort high satisfies 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 with pids=(), reap each worker with its own wait "$pid" (a collective wait reports only the last status), and read each $out in dispatch order, since a shared stdout hands verify interleaved output. Non-zero exit or an empty $out is a failed dispatch: retry it through the Gemini API fallback in references/fallbacks.md when 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 -p has 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 in references/fallbacks.md.

The loop

  1. 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, the claude CLI, ANTHROPIC_API_KEY, and api_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.
  2. Plan. Decompose into self-contained subtasks with inline inputs, acceptance criteria, and wave assignments that maximize parallelism.
  3. 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.
  4. Delegate. Dispatch each wave using the format in references/worker-brief.md. Parallel background calls, then wait.
  5. Verify. Check every result against its own acceptance criteria, and make the check exercise th
Häufige Fragen

Wann ist dieser Skill nicht nötig?

Für eine einzelne, einfache Frage reicht meist ein Modelldurchlauf, daher ist ein Team-Setup nicht nötig.

Wählt der Skill die Modelle aus?

Er schlägt ein stärkeres Modell für die Planung und günstigere Modelle für die Arbeit vor, und die Modellnamen lassen sich austauschen.

Wer prüft die Ergebnisse der Arbeitsmodelle?

Das orchestrierende Modell prüft jedes Ergebnis, bevor es die endgültige Antwort zusammenfügt.

Details

Originalbeschreibung des Autors

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.

repo: Shubhamsaboo/awesome-llm-apps

Beliebtheit

GitHub-Sterne
144k
Platz im Ranking
#673
Lizenz
Apache-2.0
Aktualisiert
22.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills