Index of every page on this site: llms.txt
All skills
shubhamsaboo avatar

/advisor-orchestrator-worker

@14c5f8f
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/shubhamsaboo/awesome-llm-apps/advisor-orchestrator-worker

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesfallbacks.md

≈465 tokens on demand. Your agent reads this file only when SKILL.md points to it.

API Fallbacks

Read this when a primary CLI path is unavailable or a dispatch fails. Both fallbacks keep the primary paths' discipline: payloads built with jq --rawfile from the same temp file (safe for arbitrary text), --fail plus pipefail so an auth or quota error is a detectable failure, and a closing jq that unwraps the response envelope so the orchestrator reads plain text on either path.

Workers: bare Gemini API call

No tools. Run the full wave in parallel; the 3-batch cap is an agy quota rule and does not apply here.

api_key="${GEMINI_API_KEY:-$GOOGLE_API_KEY}"
[ -n "$api_key" ] || { echo "no Gemini key (set GEMINI_API_KEY or GOOGLE_API_KEY)" >&2; exit 1; }
( set -o pipefail
  jq -n --rawfile t "$brief" '{contents:[{parts:[{text:$t}]}]}' \
    | curl -sS --fail --max-time 300 \
      "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent" \
      -H "x-goog-api-key: $api_key" -H "Content-Type: application/json" -d @- \
    | jq -r '.candidates[0].content.parts[0].text' > "$out" ) &
pids+=($!)

Advisor: bare Anthropic API call

Same model as the CLI path. The fallbacks parameter re-serves a safety-classifier refusal on Opus 5 inside the same call, so one declined consult cannot stall the loop.

[ -n "$ANTHROPIC_API_KEY" ] || { echo "no ANTHROPIC_API_KEY" >&2; exit 1; }
( set -o pipefail
  jq -n --rawfile c "$consult" '{model: "claude-fable-5-1", max_tokens: 16000,
      fallbacks: [{model: "claude-opus-5"}],
      messages: [{role: "user", content: $c}]}' \
    | curl -sS --fail --max-time 300 "https://api.anthropic.com/v1/messages" \
      -H "x-api-key: $ANTHROPIC_API_KEY" -H "anthropic-version: 2023-06-01" \
      -H "anthropic-beta: server-side-fallback-2026-06-01" \
      -d @- \
    | jq -r '.content[] | select(.type == "text") | .text' )

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

3 warnings16d3 checks · Risk MEDIUM
  • Gen Agent Trust Hub16d

    The skill orchestrates a multi-model workflow using CLI tools and API fallbacks. Security risks include a potential shell injection vulnerability when passing prompts to the `agy` CLI using command substitution, and the use of a flag to bypass security permissions during command execution. The skill implements positive security practices such as temporary directory isolation for subtasks and safe JSON handling for its API communication fallbacks.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk16d

    Risk: MEDIUM · 1 issue

Signed by skilld at 14c5f8f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "author": "Shubham Saboo",
  "version": "1.0.0",
  "source": "https://github.com/Shubhamsaboo/awesome-llm-apps"
}
compatibility
Makes network calls: workers via the Antigravity CLI (agy), falling back to the Gemini API (GEMINI_API_KEY or GOOGLE_API_KEY); advisor via the claude CLI, falling back to the Anthropic API (ANTHROPIC_API_KEY). Needs jq. All snippets are bash. Runs in any harness that can execute shell commands.

README badge

README badge for shubhamsaboo/awesome-llm-apps/advisor-orchestrator-worker