[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757W3KKSJN1EXEXDQF84XMA":3,"skill-same:01M757W3KKSJN1EXEXDQF84XMA":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M757W3KKSJN1EXEXDQF84XMA","agent-orchestration-workflows",null,"Orchestrate sub-agents (delegate\u002Fswarm) to beat agentic laziness, self-bias, and goal drift on big\u002Fparallel\u002Fadversarial tasks.","jpoindexter\u002FVanta","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M757GWDBT6RD147ZZ79N4MEX",4,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fagent-orchestration-workflows\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: agent-orchestration-workflows\ndescription: \"Orchestrate sub-agents (delegate\u002Fswarm) to beat agentic laziness, self-bias, and goal drift on big\u002Fparallel\u002Fadversarial tasks.\"\n---\n\n# Agent Orchestration Workflows\n\nExtracted from Anthropic's \"A harness for every task: dynamic workflows in Claude Code\"\n(Thariq Shihipar & Sid Bidasaria) and mapped to Vanta's `delegate` + `swarm` tools.\n\n## Why orchestrate (the failure modes you are fighting)\n\nA single context window degrades on long \u002F massively-parallel \u002F highly-structured-adversarial\ntasks. Three named failure modes — watch for them in yourself:\n\n- **Agentic laziness** — stopping before a multi-part task is done (addressing 20 of 50 items, then declaring done).\n- **Self-preferential bias** — preferring your own results\u002Ffindings when asked to verify or judge them.\n- **Goal drift** — losing fidelity to the original objective over many turns, especially after context compaction (edge-case requirements and \"don't do X\" constraints get summarized away).\n\nThe fix: give separate sub-agents their **own clean context window and one focused, isolated goal**, then combine. In Vanta: `delegate` (one scoped subtask, choose provider\u002Fmodel) and `swarm` (parallel fan-out + synthesize).\n\n## When to use — and when NOT to\n\nUse when the task is **large, parallelizable, or needs independent verification**. Do NOT reach for it on ordinary work — it costs significantly more tokens. Most coding tasks do not need a panel of 5 reviewers. Match the structure to the task; state a token budget up front when you can.\n\n## The patterns (compose these)\n\n- **Classify-and-act** — a classifier sub-agent decides the task type, then routes to the right behavior. (Or classify at the end to shape output.)\n- **Fan-out-and-synthesize** — split into many small steps, run a sub-agent per step (clean context each, no cross-contamination), then a **synthesize barrier** merges the structured outputs into one result.\n- **Adversarial verification** — for each produced result, spawn a *separate* sub-agent to try to refute it against a rubric. Defeats self-preferential bias (the maker never grades its own work).\n- **Generate-and-filter** — generate many candidates, then filter by a rubric \u002F dedupe, return only the highest-quality survivors.\n- **Tournament** — N agents each attempt the *same* task differently; judge pairwise (comparative judgment beats absolute scoring) until one winner remains. Good for taste\u002Fdesign\u002Fnaming.\n- **Loop-until-done** — for unknown-size work, keep spawning until a **stop condition** holds (no new findings, no more errors in logs) rather than a fixed number of passes. Beats agentic laziness.\n\nFor sorting\u002Franking many items by a qualitative measure: don't sort 1000 rows in one prompt — run a tournament \u002F pairwise-comparison pipeline or bucket-rank in parallel; the deterministic loop holds the bracket so only the running order stays in context.\n\n## Vanta-specific application\n\n- Build from `delegate` (scoped subtask, can pick provider\u002Fmodel — route cheap classify work to local Ollama, hard judging to a stronger model) and `swarm` (parallel + synthesize).\n- Pair with **`\u002Fgoal`** (a hard completion requirement — kills agentic laziness) and a repeat trigger for recurring work (triage, research, verification).\n- Quarantine pattern: agents that read untrusted public content must not take high-privilege actions — those go to a separate acting agent. (Vanta's kernel `assess()` is the backstop, but separate the roles too.)\n- This is the seed of the roadmap `WORKFLOWS` item: Vanta writing its own JS orchestration harness on the fly. Until that ships, apply these patterns manually via `delegate`\u002F`swarm`.\n- Self-improvement tie-in: \"mine recent sessions for corrections you keep making → distil into rules\u002Fskills\" is exactly Vanta's background-review loop (B3\u002FB4) — orchestration is how you do it at scale.\n\n## Checklist before orchestrating\n\n1. Is this big \u002F parallel \u002F adversarial enough to justify the extra tokens? If no → just do it.\n2. Which pattern fits (fan-out, tournament, loop-until-done, adversarial-verify)?\n3. What is the **stop condition \u002F completion requirement**? State it.\n4. Do any sub-agents read untrusted content? Quarantine their privileges.\n5. Set a token budget.\n","# Agent Orchestration Workflows\n\nExtracted from Anthropic's \"A harness for every task: dynamic workflows in Claude Code\"\n(Thariq Shihipar & Sid Bidasaria) and mapped to Vanta's `delegate` + `swarm` tools.\n\n## Why orchestrate (the failure modes you are fighting)\n\nA single context window degrades on long \u002F massively-parallel \u002F highly-structured-adversarial\ntasks. Three named failure modes — watch for them in yourself:\n\n- **Agentic laziness** — stopping before a multi-part task is done (addressing 20 of 50 items, then declaring done).\n- **Self-preferential bias** — preferring your own results\u002Ffindings when asked to verify or judge them.\n- **Goal drift** — losing fidelity to the original objective over many turns, especially after context compaction (edge-case requirements and \"don't do X\" constraints get summarized away).\n\nThe fix: give separate sub-agents their **own clean context window and one focused, isolated goal**, then combine. In Vanta: `delegate` (one scoped subtask, choose provider\u002Fmodel) and `swarm` (parallel fan-out + synthesize).\n\n## When to use — and when NOT to\n\nUse when the task is **large, parallelizable, or needs independent verification**. Do NOT reach for it on ordinary work — it costs significantly more tokens. Most coding tasks do not need a panel of 5 reviewers. Match the structure to the task; state a token budget up front when you can.\n\n## The patterns (compose these)\n\n- **Classify-and-act** — a classifier sub-agent decides the task type, then routes to the right behavior. (Or classify at the end to shape output.)\n- **Fan-out-and-synthesize** — split into many small steps, run a sub-agent per step (clean context each, no cross-contamination), then a **synthesize barrier** merges the structured outputs into one result.\n- **Adversarial verification** — for each produced result, spawn a *separate* sub-agent to try to refute it against a rubric. Defeats self-preferential bias (the maker never grades its own work).\n- **Generate-and-filter** — generate many candidates, then filter by a rubric \u002F dedupe, return only the highest-quality survivors.\n- **Tournament** — N agents each attempt the *same* task differently; judge pairwise (comparative judgment beats absolute scoring) until one winner remains. Good for taste\u002Fdesign\u002Fnaming.\n- **Loop-until-done** — for unknown-size work, keep spawning until a **stop condition** holds (no new findings, no more errors in logs) rather than a fixed number of passes. Beats agentic laziness.\n\nFor sorting\u002Franking many items by a qualitative measure: don't sort 1000 rows in one prompt — run a tournament \u002F pairwise-comparison pipeline or bucket-rank in parallel; the deterministic loop holds the bracket so only the running order stays in context.\n\n## Vanta-specific application\n\n- Build from `delegate` (scoped subtask, can pick provider\u002Fmodel — route cheap classify work to local Ollama, hard judging to a stronger model) and `swarm` (parallel + synthesize).\n- Pair with **`\u002Fgoal`** (a hard completion requirement — kills agentic laziness) and a repeat trigger for recurring work (triage, research, verification).\n- Quarantine pattern: agents that read untrusted public content must not take high-privilege actions — those go to a separate acting agent. (Vanta's kernel `assess()` is the backstop, but separate the roles too.)\n- This is the seed of the roadmap `WORKFLOWS` item: Vanta writing its own JS orchestration harness on the fly. Until that ships, apply these patterns manually via `delegate`\u002F`swarm`.\n- Self-improvement tie-in: \"mine recent sessions for corrections you keep making → distil into rules\u002Fskills\" is exactly Vanta's background-review loop (B3\u002FB4) — orchestration is how you do it at scale.\n\n## Checklist before orchestrating\n\n1. Is this big \u002F parallel \u002F adversarial enough to justify the extra tokens? If no → just do it.\n2. Which pattern fits (fan-out, tournament, loop-until-done, adversarial-verify)?\n3. What is the **stop condition \u002F completion requirement**? State it.\n4. Do any sub-agents read untrusted content? Quarantine their privileges.\n5. Set a token budget.\n",{"name":5,"description":7},"main","4911ae44bbb35beef4511ba298475ba5a82b7e1c","vanta-ts\u002Fskills-library\u002Fagent-orchestration-workflows",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta","https:\u002F\u002Fdocs.vanta.theft.studio","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-11-12 17:11:35",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add jpoindexter\u002FVanta --skill agent-orchestration-workflows",{"tool":39,"command":40},"bunx","bunx skills add jpoindexter\u002FVanta --skill agent-orchestration-workflows",{"tool":42,"command":43},"pnpm","pnpm dlx skills add jpoindexter\u002FVanta --skill agent-orchestration-workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fagent-orchestration-workflows\u002FSKILL.md",true,[],[48,55,62,69,76,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M7582PEM7XM8B98VFRDV0C0J","write-changelog","Turn a range of commits into a user-facing changelog","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fwrite-changelog\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7582KTQJMP5Y7GS83MS1C7Z","debug-flaky-test","Reproduce and isolate a flaky test before fixing it","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fdebug-flaky-test\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7582HG7XFM4Z5NGG1YFECT8","triage-incident","First 10 minutes of an incident — stabilize, then diagnose","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fhermes\u002Fskills\u002Ftriage-incident\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7582DQABK7A96XHMB770KQZ","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7582BBK8H0HGSXKK08FCXJ1","vanta-port-adapter","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fvanta-port-adapter\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M75828P8PX5XSBMJ2BVVDA9Y","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Ftest-driven-development\u002FSKILL.md",[],[]]