Skip to content

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

feat: add advisor-executor-worker agent skill

Shubhamsabooc368204a9588
diff --git a/README.md b/README.md
index 41cc46fd..9c67dca8 100644
--- a/README.md
+++ b/README.md
@@ -253,6 +253,7 @@ streamlit run travel_agent.py
*Production-grade skills for Claude Code, Codex, Cursor, OpenClaw, Hermes, Antigravity, and any SKILL.md-compatible agent — real scripts and researched playbooks, never text-only prompt dumps. [Read the quality bar →](awesome_agent_skills/)*
* [⚰️ Project Graveyard](awesome_agent_skills/project-graveyard/) - Scans your machine for dead side projects, autopsies why each one died from its git history, and resurrects the one with a pulse
+* [🧠 Advisor Executor Worker](awesome_agent_skills/advisor-executor-worker/) - Orchestrate a three-tier model team: cheap parallel workers, one orchestrator, an expensive advisor consulted only where judgment matters
* [♾️ Self-Improving Agent Skills](awesome_agent_skills/self-improving-agent-skills/) - Automatically optimize agent skills using Gemini and ADK
### 💾 LLM Apps with Memory Tutorials
diff --git a/awesome_agent_skills/README.md b/awesome_agent_skills/README.md
index e442334a..dfad0aee 100644
--- a/awesome_agent_skills/README.md
+++ b/awesome_agent_skills/README.md
@@ -20,6 +20,7 @@ We deleted 19 of our own skills that didn't meet this bar. What's left is short
| Skill | What it does |
|---|---|
+| [🧠 advisor-executor-worker](advisor-executor-worker/) | Turns your agent into the orchestrator of a three-tier model team: cheap stateless workers in parallel, expensive advisor consulted only at commitment boundaries, verification gates between every step — budgeted so a run can't burn a hole in your API bill |
| [⚰️ project-graveyard](project-graveyard/) | Scans your machine for dead side projects, autopsies why each one died from its git history (deploy fear, payments wall, killed by a newer project), shows your personal death patterns, and resurrects the one with a pulse — with relapse tracking on every resurrection it prescribes |
| [♾️ self-improving-agent-skills](self-improving-agent-skills/) | Automatically optimizes agent skills using Gemini and ADK |
diff --git a/awesome_agent_skills/advisor-executor-worker/README.md b/awesome_agent_skills/advisor-executor-worker/README.md
new file mode 100644
index 00000000..0eea0640
--- /dev/null
+++ b/awesome_agent_skills/advisor-executor-worker/README.md
@@ -0,0 +1,50 @@
+# 🧠 Advisor Executor Worker
+
+**One model is a bottleneck. A team with one brain, twenty hands, and a board advisor is not.**
+
+This skill turns your coding agent into the orchestrator of a three-tier model team:
+
+- **Workers** — the cheapest model that passes verification, dispatched as stateless parallel API calls. Each one sees a single self-contained brief and nothing else.
+- **Orchestrator** — your agent. Owns the hot path: frame, plan, delegate, verify, synthesize. Never does worker-level work itself.
+- **Advisor** — the strongest reasoning model you can reach, consulted exactly where judgment matters: plan review before dispatch, taste pass before delivery, and mid-loop only at commitment boundaries (contradicting results, double failures, structural plan changes).
+
+The economics are the point: parallel cheap generation where volume wins, expensive judgment only where it changes a decision. Budgeted — 20 worker calls, 5 consults — so a run can't quietly burn a hole in your API bill.
+
+## What makes it hold together
+
+- **Stateless worker briefs** ([references/worker-brief.md](references/worker-brief.md)) — every dispatch carries its full inputs and acceptance criteria inline. No shared context, no context leaks, no "as discussed above."
+- **Verification before synthesis** — every result is judged against its own acceptance criteria: PASS, FIX (redispatched with the named failure), or ESCALATE. Partial passes are never silently accepted.
+- **The advisor is a critic, not an executor** ([references/advisor-consult.md](references/advisor-consult.md)) — it returns a verdict, ranked risks, and concrete fixes in under 300 words. Every note gets applied or explicitly rebutted, never dropped.
+- **Models are knobs** — the defaults (Gemini Flash workers, Claude advisor, Codex orchestrator) were current in July 2026; the tier pattern is the durable part. Swap any role.
+
+## Install
+
+```bash
+npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/awesome_agent_skills/advisor-executor-worker
+```
+
+Or manually: copy this folder into your agent's skills dir (`~/.claude/skills/`, `~/.codex/skills/`, `~/.agents/skills/`).
+
+**Requirements** (declared up front, per this repo's rules): workers call the Gemini API (`GEMINI_API_KEY`), the advisor uses the `claude` CLI, and tool-using workers optionally use the `agy` CLI. Missing pieces degrade gracefully — the orchestrator plays the missing role itself and says so.
+
+## Use it
+
+> "This is too big for one pass — orchestrate it across a model team."
+> "Fan this out: research all 12 competitors in parallel and synthesize."
+> "Run the advisor-worker loop on this."
+
+The run ends with the deliverable, the plan, a per-subtask verification ledger, advisor notes applied and rejected, and remaining risks.
+
+## Files
+
+```
+advisor-executor-worker/
+├── SKILL.md # the orchestrator's loop, team, budgets, escalation rules
+├── README.md # this file
+├── references/worker-brief.md # the stateless dispatch format workers receive
+└── references/advisor-consult.md # the consult format the advisor answers in
+```
+
+Evals live repo-side in `awesome_agent_skills/evals/advisor-executor-worker/` — you install only what runs.
+
+Part of [awesome-llm-apps](https://github.com/Shubhamsaboo/awesome-llm-apps) · Apache-2.0 · Last verified: July 2026
diff --git a/awesome_agent_skills/advisor-executor-worker/SKILL.md b/awesome_agent_skills/advisor-executor-worker/SKILL.md
new file mode 100644
index 00000000..1d38c74c
--- /dev/null
+++ b/awesome_agent_skills/advisor-executor-worker/SKILL.md
@@ -0,0 +1,100 @@
+---
+name: advisor-executor-worker
+description: >-
+ Runs complex, multi-part tasks through a three-tier model team: an
+ orchestrator that plans and verifies, cheap workers that execute subtasks in
+ parallel, and an expensive advisor model consulted only at commitment
+ boundaries. Use when a task is too large for one pass, needs parallel
+ research or generation across many subtasks, or the user asks to orchestrate
+ multiple models, split work across a model team, run an advisor-worker loop,
+ or says "too big for one model" or "fan this out". Not for single-file edits
+ or tasks one model handles in one pass.
+license: Apache-2.0
+metadata:
+ author: "Shubham Saboo"
+ version: "1.0.0"
+ source: "https://github.com/Shubhamsaboo/awesome-llm-apps"
+compatibility: >-
+ Makes network calls: workers run via the Gemini API (needs GEMINI_API_KEY)
+ and the advisor via the claude CLI. Optional agy CLI for tool-using workers.
+ Written to run in Codex CLI as the orchestrator; adaptable to any harness
+ that can run shell commands.
+---
+
+# Advisor Executor 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, not gospel.** The tiers are the durable part —
+cheap stateless workers, one orchestrator, expensive judgment consulted
+rarely. The specific model IDs below were current in July 2026; swap
+each role for whatever is the best fit when you run this. One rule
+survives every model generation: the advisor should be the strongest
+reasoning model you can reach, and workers the cheapest that pass
+verification.
+
+## The team
+
+- **Workers (default: Gemini Flash)**, dispatched as bare API calls, not
+ a CLI. Workers are stateless generation units; the API call is
+ faster, cheaper, and leaks zero context:
+ `curl -s "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.5-flash:generateContent" -H "x-goog-api-key: $GEMINI_API_KEY" -H "Content-Type: application/json" -d '{"contents":[{"parts":[{"text":"<brief>"}]}]}'`
+ Run wave calls in parallel as background processes. Each worker sees
+ only its brief. Exception: if a subtask genuinely needs tools (web
+ search, file work), dispatch via Antigravity CLI from an EMPTY temp
+ dir so no .antigravity.md or project context leaks into the worker:
+ `cd $(mktemp -d) && agy --dangerously-skip-permissions -p "<brief>"`
+ (Flash is agy's default model; the permissions flag is required in
+ non-TTY shells or the call hangs, and is safe here only because the
+ temp dir is empty. Cap agy workers at 3 parallel, since Antigravity
+ quota is shared across its app, CLI, and SDK.)
+- **Advisor (default: Claude Fable 5)**, consulted via
+ `claude --model claude-fable-5 -p "<consult>"` in print mode, which
+ reads the pasted material and returns a verdict without touching
+ anything. Expensive judgment, kept out of the hot path. Strategy,
+ decomposition critique, risk spotting, taste. Never execution.
+- Check `$GEMINI_API_KEY` and the `claude` CLI at the frame step. If
+ either is missing, say how to set it up, then offer to run degraded
+ (you play that role yourself, flagged as degraded).
+
+## The loop
+
+1. **Frame.** State the deliverable and 3 to 5 checkable success
+ criteria. If the task is too vague to define them, ask one question
+ and stop.
+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.
+ Verdict per result: PASS, FIX (redispatch naming the specific
+ failure), or ESCALATE. Never silently accept a partial pass. Never
+ hand-patch a substantive failure; redispatch instead.
+6. **Synthesize.** When all subtasks pass, assemble the deliverable.
+ Resolve conflicts between worker outputs explicitly, never by
+ averaging.
+7. **Taste pass (mandatory advisor consult #2).** Send the draft to
+ the advisor for taste and risk review. Apply or rebut each note.
+
+## Commitment boundaries (when to escalate to the advisor mid-loop)
+
+- Two worker results contradict each other beyond the provided context
+- A subtask fails verification twice
+- A judgment call falls outside the success criteria
+- The plan must change structurally mid-run
+
+Budget: 20 worker calls, 5 advisor consults total including the two
+mandatory ones. Spend consults like money.
+
+## Finish
+
+Stop at a verified deliverable, an exhausted budget, or a blocker that
+needs the user. Return: the deliverable, the plan, a verification
+ledger per subtask, advisor notes applied and rejected, and remaining
+risks. Print a one-line status board after each loop step
+(subtask IDs: PENDING / DISPATCHED / PASS / FIX / ESCALATED).
diff --git a/awesome_agent_skills/advisor-executor-worker/references/advisor-consult.md b/awesome_agent_skills/advisor-executor-worker/references/advisor-consult.md
new file mode 100644
index 00000000..73e26ab7
--- /dev/null
+++ b/awesome_agent_skills/advisor-executor-worker/references/advisor-consult.md
@@ -0,0 +1,28 @@
+# Advisor Consult Format
+
+The advisor is a critic and strategist, never an executor. It reads,
+judges, and returns a verdict. Keep consults rare and material rich:
+its judgment is the most expensive resource in the system.
+
+```
+You are the board advisor to an orchestrator running a multi-model
+loop. You are a critic, not an executor. Be direct and brief; spend
+words only where they change a decision.
+
+CONSULT TYPE: <plan review | conflict resolution | judgment call | final taste pass>
+TASK AND SUCCESS CRITERIA: <pasted from the frame step>
+QUESTION: <one specific question or review request>
+MATERIAL: <the plan, the conflicting outputs, or the draft>
+
+Respond with:
+1. VERDICT: one line
+2. TOP RISKS: the 1 to 3 things most likely to cause failure, ranked
+3. SPECIFIC FIXES: concrete changes, quoted or numbered
+4. WHAT TO IGNORE: anything the orchestrator is overweighting
+
+Do not restate the material. Do not praise. If it is genuinely fine,
+say so in one line and stop. Keep the full response under 300 words.
+```
+
+Handling the response: apply or explicitly rebut every note. Rebuttals
+go in the final report. Never silently drop an advisor note.
diff --git a/awesome_agent_skills/advisor-executor-worker/references/worker-brief.md b/awesome_agent_skills/advisor-executor-worker/references/worker-brief.md
new file mode 100644
index 00000000..8b2f6567
--- /dev/null
+++ b/awesome_agent_skills/advisor-executor-worker/references/worker-brief.md
@@ -0,0 +1,28 @@
+# Worker Brief Format
+
+Every worker dispatch is one stateless CLI call containing this brief.
+The worker has no memory, no follow-ups, and sees nothing but this text.
+Inputs must be pasted inline in full; never reference material the
+worker cannot see.
+
+```
+You are a worker completing ONE subtask of a larger project. This brief
+is everything you get. No follow-ups are possible.
+
+SUBTASK: <one-line goal>
+INPUTS: <everything needed, inline and complete>
+ACCEPTANCE CRITERIA (output fails if any fail):
+1. <criterion>
+2. <criterion>
+3. <criterion>
+OUTPUT FORMAT: <exact structure, length, style>
+
+Rules: do only the subtask, no scope expansion, no editorializing. If an
+input is missing or contradictory, write INPUT GAP plus one line naming
+it at the top, then proceed with what you have. Return only the
+deliverable, no preamble.
+```
+
+Redispatch rule: when a result comes back FIX, send a new brief that
+quotes the failed criterion and names the specific failure. Never reply
+to the old call; every dispatch is fresh.
diff --git a/awesome_agent_skills/evals/advisor-executor-worker/evals.json b/awesome_agent_skills/evals/advisor-executor-worker/evals.json
new file mode 100644
index 00000000..3f9c03c0
--- /dev/null
+++ b/awesome_agent_skills/evals/advisor-executor-worker/evals.json
@@ -0,0 +1,47 @@
+{
+ "skill_name": "advisor-executor-worker",
+ "evals": [
+ {
+ "id": 1,
+ "prompt": "Orchestrate this across a model team: produce a competitive analysis of 8 note-taking apps, each covering pricing, target user, and one weakness, synthesized into a comparison table with a recommendation.",
+ "expected_output": "A framed deliverable with checkable success criteria, a wave plan, parallel worker dispatches with self-contained briefs, per-subtask verification, and a synthesized table.",
+ "expectations": [
+ "Success criteria (3-5, checkable) are stated before any dispatch",
+ "The plan is sent to the advisor for review BEFORE workers run, and changes/rejections are stated",
+ "Worker briefs contain all inputs inline and acceptance criteria; no brief references unseen context",
+ "Every worker result gets a PASS/FIX/ESCALATE verdict against its own criteria",
+ "The final report includes a verification ledger and advisor notes applied or rebutted"
+ ]
+ },
+ {
+ "id": 2,
+ "prompt": "Fan out this refactor plan across workers, but I only have a GEMINI_API_KEY set up and no claude CLI on this machine.",
+ "expected_output": "The orchestrator detects the missing advisor at the frame step, explains setup, and offers degraded mode where it plays the advisor itself, flagged as degraded.",
+ "expectations": [
+ "Tool availability is checked at the frame step, not discovered mid-run",
+ "The user is told how to set up the missing piece",
+ "Degraded mode is offered and, if used, explicitly flagged in the output"
+ ]
+ },
+ {
+ "id": 3,
+ "prompt": "Two of the worker results in this run directly contradict each other about the API's rate limits.",
+ "expected_output": "A mid-loop advisor escalation (commitment boundary), not silent averaging or hand-patching.",
+ "expectations": [
+ "Contradiction beyond provided context triggers an advisor consult",
+ "Conflicts are resolved explicitly, never by averaging",
+ "The consult counts against the 5-consult budget and is shown in the ledger"
+ ]
+ },
+ {
+ "id": 4,
+ "prompt": "A worker's output failed its acceptance criteria \u2014 just fix it up yourself and move on, we're in a hurry.",
+ "expected_output": "The orchestrator redispatches with the named failure instead of hand-patching a substantive failure, or escalates after a second failure; it explains why in one line without lecturing.",
+ "expectations": [
+ "Substantive failures are redispatched with the failed criterion quoted, not silently hand-patched",
+ "A second failure on the same subtask escalates to the advisor",
+ "The status board reflects FIX/ESCALATE transitions honestly"
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/awesome_agent_skills/evals/advisor-executor-worker/trigger-cases.json b/awesome_agent_skills/evals/advisor-executor-worker/trigger-cases.json
new file mode 100644
index 00000000..5417ab7d
--- /dev/null
+++ b/awesome_agent_skills/evals/advisor-executor-worker/trigger-cases.json
@@ -0,0 +1,42 @@
+{
+ "skill": "advisor-executor-worker",
+ "purpose": "Trigger-behavior spec, two consumers: (1) CI runs tools/run_trigger_evals.py against these cases lexically; (2) after any description change, verify by hand in a fresh agent session. Cases with lexical:false trigger via reasoning, not vocabulary, and are covered by the behavioral tier (evals.json).",
+ "cases": [
+ {
+ "id": "orchestrate-team",
+ "prompt": "this task is way too big for one pass, can you orchestrate it across a team of models and run the subtasks in parallel?",
+ "should_trigger": true,
+ "assert": "Activates; frames deliverable + success criteria before any dispatch; plans waves for parallel workers."
+ },
+ {
+ "id": "fan-out-research",
+ "prompt": "fan this out: research all 12 competitors in parallel with cheap workers and have a stronger model review the plan first",
+ "should_trigger": true,
+ "assert": "Activates; uses stateless worker briefs with inline inputs; mandatory advisor plan review happens before dispatch."
+ },
+ {
+ "id": "advisor-worker-loop",
+ "prompt": "run the advisor worker loop on this project brief, I want one model orchestrating and an advisor model checking the plan",
+ "should_trigger": true,
+ "assert": "Activates; follows the 7-step loop; consults the advisor at plan review and taste pass only."
+ },
+ {
+ "id": "near-miss-ci-parallel",
+ "prompt": "my test suite is slow, run the tests in parallel across more CI workers",
+ "should_trigger": false,
+ "assert": "Does not trigger; CI test parallelism is infra config, not multi-model orchestration."
+ },
+ {
+ "id": "near-miss-model-choice",
+ "prompt": "which model should I use for my chatbot, something cheap or something strong?",
+ "should_trigger": false,
+ "assert": "Does not trigger; picking one model for an app is not running a model team."
+ },
+ {
+ "id": "near-miss-single-task",
+ "prompt": "review this one file and fix the bug in the parser",
+ "should_trigger": false,
+ "assert": "Does not trigger; single-pass single-model work. The skill's own scope line excludes it."
+ }
+ ]
+}
\ No newline at end of file