Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Agent Orchestration

ASecurity

Design bounded next-step control for an AI runtime, from fixed routing to adaptive tool/retrieval choice and justified workers. Use when choosing who controls the next step, implementing agent routing, handoffs, fan-out/fan-in, shared state, cancellation or aggregate budgets. Do not use for coding-subagent dispatch, ordinary parallel utilities, whole-system lifecycle planning alone, or tool contracts without a runtime control-flow question.

2 stars
0 votes
0 copies
0 views
Added 10/6/2026
ai-agentsrustgo

Works with

terminal

Security Analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned 10/6/2026

$npx -y skills add Sathvikar01/Agent-engineering-skills --skill agent-orchestration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Orchestration?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Agent Orchestration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sathvikar01-agent-orchestration/badge)](https://www.skillsdirectory.com/skills/sathvikar01-agent-orchestration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: agent-orchestration
description: >-
  Design bounded next-step control for an AI runtime, from fixed routing to adaptive tool/retrieval choice and justified workers. Use when choosing who controls the next step, implementing agent routing, handoffs, fan-out/fan-in, shared state, cancellation or aggregate budgets. Do not use for coding-subagent dispatch, ordinary parallel utilities, whole-system lifecycle planning alone, or tool contracts without a runtime control-flow question.
metadata:
  collection: "Agent Engineering"
  version: "2.0.1"
---

# Agent Orchestration

First ask: “Does a model actually need control over the next step?” Second: “Could deterministic routing perform this more reliably?” Use fixed control for known conditions, bounded model choice for ambiguous/contextual observations. Then ask whether multiple agents add measured value.

## Route a single agent before adding workers

Define typed controller state, admissible next actions and deterministic transition guards. Known status/error/permission rules route in code. Ambiguous evidence gaps may justify proposals to select tools, retrieve more evidence, check contradictions, request independent verification or escalate. Validate selections against capabilities, prerequisites and remaining budgets.

Enforce max steps/model calls/tool calls/retries/time/spend, no-progress and terminal conditions across fallback/resume; repeated suggestions cannot reset the run. Prefer functions, explicit state machines or jobs; choose framework primitives only for demonstrated reliability/maintainability needs. Evaluate routing and optional workers against task-fit baselines; free-form negotiation is not a required control plane.

## Add workers only when justified

Apply the worker sections below only if the simpler controller is insufficient; one agent does not need worker handoffs or fan-in.

1. Compare deterministic workflow, one model-powered step and single-agent/tool designs using representative evals. Reject multiple agents for known rules, small shared-context tasks or role labels without measurable benefit. Parallel deterministic functions do not need agent personas.
2. Identify genuinely separable work, specialized context or independent verification. Record dependency edges, shared resources, merge semantics and expected gain. If all workers need the same full context and continually negotiate, decomposition may be wrong.
3. Choose the smallest pattern: independent fan-out/fan-in, planner with bounded workers, or a separate reviewer with a defined rubric. A reviewer can detect errors but cannot grant authority. Use deterministic scheduling for known dependencies and avoid free-form agent-to-agent chat as the control plane.

## Specify handoffs and ownership

4. Give each task a typed contract: task/run/parent IDs, objective, input evidence and scope, output schema, allowed tools, completion criteria, deadline, budgets and cancellation. Mark external content as untrusted; handoff summaries do not gain authority by being written by another agent.
5. Assign one authoritative owner per mutable resource or use explicit transactional/versioned coordination. Workers return proposals/evidence; the orchestrator validates results and deterministic policy authorizes effects. Scope each worker's identity/capabilities; do not inherit broad coordinator privileges by default.
6. Define fan-in rules for missing, failed, conflicting or duplicate results. Validate schema/provenance, choose deterministic merge rules where possible, and escalate substantive conflicts with evidence. Majority vote or reviewer agreement is not proof of truth or permission.
7. Preserve idempotency across duplicate dispatch and retries. Define checkpoint/resume and late-result behavior; a cancelled or expired task must not commit a delayed proposal. Reconcile unknown worker effects before rescheduling.

## Bound coordination and prove benefit

8. Set total and per-worker ceilings for steps, model calls, tools, spend, time, fan-out and concurrency. Reserve budgets centrally/atomically so workers cannot independently exceed the aggregate. Stop on objective completion, dependency failure, deadline, cancellation, policy denial or no progress.
9. Limit planner/reviewer rounds and specify the condition for another round. Do not allow recursive delegation or conversation loops without explicit bounded benefit. Capture parent/child traces, worker versions, handoff evidence, conflicts and final evaluator outcome.
10. Run ablations against the simpler baseline, including coordination/merge costs and failure modes. Ship multiple agents only if the measured benefit survives realistic skew, missing workers, duplicate work and contradictory outputs. Preserve a single-agent fallback only when it meets the same safety policy.

Deliver control ownership, typed controller states/guards, allowed next actions, budgets, termination/failure policy and comparison evidence. For justified workers add task graph, handoff/merge and resource authority contracts. Agents collaborating on coding tasks are out of scope (a subagent/dispatching skill may cover them); this skill designs the deployed orchestration system.

Attribution

Sathvikar01Sathvikar01
View sourceSee grades on GitHubMore from Sathvikar01 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →