Agent skill

Orchestrating Multi Agent Systems

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers.

MITAuto-check passedAgent Workflows

Install Orchestrating Multi Agent Systems

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill orchestrating-multi-agent-systems -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace orchestrating-multi-agent-systems --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/orchestrating-multi-agent-systems .claude/skills/orchestrating-multi-agent-systems && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
orchestrating-multi-agent-systems
GitHub stars
2.8k
Token cost
~1.4k tokens
SKILL.md length
601 words
Files
13 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers.

  • Works in 10 steps: Initialize a TypeScript project with… → Install AI SDK v5 core and provider… → Define agent roles by creating separate… → …
  • Building complex AI systems requiring agent collaboration
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Runs Python and TypeScript scripts from its folder; calls npm; needs OPENAI_API_KEY and ANTHROPIC_API_KEY

What it does

Orchestrating Multi Agent Systems is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers. Use when building complex AI systems requiring agent collaboration, task delegation, or workflow coordination. Trigger with phrases like "create multi-agent system", "orchestrate agents", or "coordinate agent workflows".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts, reference files and assets (for example `assets/README.md`, `assets/agent_template.ts` and `assets/example_coordinator.ts`). Compatibility notes: Designed for Claude Code

It sits in Agent Workflows, covering Multi-agent orchestration. It works with TypeScript, Vercel AI SDK and Zod. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Building complex AI systems requiring agent collaboration
  • Task delegation
  • Workflow coordination
  • With phrases like create multi-agent system

Example prompts

  • “create multi-agent system”
  • “orchestrate agents”
  • “coordinate agent workflows”
  • “/orchestrating-multi-agent-systems”

Requirements

  • Python 3
  • Node.js
  • A credential in OPENAI_API_KEY
  • A credential in ANTHROPIC_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(npm:*)

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Initialize a TypeScript project with tsconfig.json targeting ES2022 and moduleResolution bundler
  2. Install AI SDK v5 core and provider packages for each model backend required
  3. Define agent roles by creating separate modules per agent, each with a system prompt, model binding, and scoped tool set
  4. Implement tool functions using ai.tool() with Zod input/output schemas for type-safe execution
  5. Configure handoff rules using ai.handoff() to delegate tasks between agents with clear trigger conditions and context passing
  6. Build routing logic that classifies incoming requests by topic or intent and dispatches to the appropriate specialist agent
  7. Wire agents into a workflow using sequential, parallel, or conditional orchestration patterns
  8. Add state management to persist context across multi-step workflows using a shared context object or external store
  9. Implement circuit breakers and timeout guards to prevent workflow deadlocks
  10. Test each agent in isolation, then validate end-to-end handoff chains with representative inputs

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(npm:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python and TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sdk.vercel.ai
    • zod.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY
    • ANTHROPIC_API_KEY
    • GOOGLE_GENERATIVE_AI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Orchestrating Multi Agent Systems loads about 1.4k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 601 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 601 words, ~1,369 tokens.

Download SKILL.mdSave it as .claude/skills/orchestrating-multi-agent-systems/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
orchestrating-multi-agent-systems
description
Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers. Use when building complex AI systems requiring agent collaboration, task delegation, or workflow coordination. Trigger with phrases like "create multi-agent system", "orchestrate agents", or "coordinate agent workflows".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(npm:*)
compatibility
Designed for Claude Code
version
1.37.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
ai, workflow, agent-orchestration

Orchestrating Multi-Agent Systems

Overview

Design and implement multi-agent systems using AI SDK v5 with structured handoffs, intelligent routing, and coordinated workflows across AI providers. This skill covers agent role definition, tool scoping, inter-agent delegation via handoff rules, and workflow orchestration patterns including coordinator-worker and supervisor topologies.

Prerequisites

  • Node.js 18+ and TypeScript 5.0+ runtime
  • AI SDK v5 (npm install ai @ai-sdk/openai @ai-sdk/anthropic @ai-sdk/google)
  • API keys for target providers set in environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY)
  • Zod for input/output schema validation (npm install zod)
  • Familiarity with agent-based architecture patterns (coordinator, pipeline, broadcast)

Instructions

  1. Initialize a TypeScript project with tsconfig.json targeting ES2022 and moduleResolution bundler
  2. Install AI SDK v5 core and provider packages for each model backend required
  3. Define agent roles by creating separate modules per agent, each with a system prompt, model binding, and scoped tool set
  4. Implement tool functions using ai.tool() with Zod input/output schemas for type-safe execution
  5. Configure handoff rules using ai.handoff() to delegate tasks between agents with clear trigger conditions and context passing
  6. Build routing logic that classifies incoming requests by topic or intent and dispatches to the appropriate specialist agent
  7. Wire agents into a workflow using sequential, parallel, or conditional orchestration patterns
  8. Add state management to persist context across multi-step workflows using a shared context object or external store
  9. Implement circuit breakers and timeout guards to prevent workflow deadlocks
  10. Test each agent in isolation, then validate end-to-end handoff chains with representative inputs

See ${CLAUDE_SKILL_DIR}/references/implementation.md for the detailed implementation guide.

Output

  • TypeScript agent modules with AI SDK v5 provider bindings and system prompts
  • Tool definitions with Zod-validated input/output schemas
  • Handoff configuration mapping agent-to-agent delegation triggers
  • Workflow orchestration files defining sequential, parallel, and conditional execution paths
  • Routing classifier that maps user intents to specialist agents
  • Integration test suite covering handoff chains and fallback paths
Show full SKILL.md (297 more words)Show less

Error Handling

ErrorCauseSolution
Provider configuration invalidMissing or malformed API key in environmentVerify process.env.*_API_KEY values; check provider SDK version compatibility
Circular handoff detectedAgent A hands off to B which hands back to AImplement handoff depth counter; set maxHandoffDepth and add a fallback terminal agent
Task routed to no agentRouting classifier returned no match for inputAdd a default catch-all route; improve classifier training data or keyword coverage
Tool access violationAgent invoked a tool outside its scoped permission setReview tools array per agent; ensure tool names match registered definitions exactly
Workflow timeoutMulti-step workflow exceeded deadline without completionSet per-step timeouts with AbortController; add workflow-level deadline and partial-result handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for the full error reference.

Examples

Scenario 1: Customer Support Triage -- A coordinator agent classifies incoming tickets as billing, technical, or general. Billing queries hand off to a specialist agent with access to Stripe tools. Technical queries route to a code-analysis agent with filesystem read tools. Resolution rate target: 85% automated within 3 handoff steps.

Scenario 2: Research Pipeline -- A sequential workflow chains a web-search agent, a summarization agent, and a report-writer agent. Each agent produces structured JSON output consumed by the next. The pipeline processes 50 research queries per batch with a p95 latency under 30 seconds per query.

Scenario 3: Code Review Multi-Agent -- A supervisor agent distributes pull request diffs to specialized reviewers (security, performance, style). Each reviewer returns findings with severity scores. The supervisor aggregates results into a unified review with prioritized action items.

See ${CLAUDE_SKILL_DIR}/references/examples.md for additional examples.

Resources

  • AI SDK v5 Documentation -- agent creation, tool definitions, handoffs
  • Zod Schema Library -- input/output validation for tools and flows
  • Provider integration guides: OpenAI, Anthropic, Google Gemini
  • Coordinator-worker and supervisor orchestration pattern references
  • OpenTelemetry tracing for multi-agent observability

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references, assets) in skills/.curated/orchestrating-multi-agent-systems of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • assets/agent_template.ts
  • assets/example_coordinator.ts
  • assets/example_workflow.json
  • references/README.md
  • references/errors.md
  • references/examples.md
  • references/implementation.md
  • scripts/README.md
  • scripts/agent_setup.py
  • scripts/dependency_installer.py
  • scripts/env_setup.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Orchestrating Multi Agent Systems next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Orchestrating Multi Agent Systems compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Orchestrating Multi Agent Systems this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: PassMIT
OpenCode Plugin CreatorDevin-AXIS/iPolloWork6.8k1 repos~1.3kAutomated safety check: PassCustom licence
Ultraapp InterviewEnderfga/claw-orchestrator589—~1.7kAutomated safety check: PassMIT
MCP SDK Auditawdr74100/figwright1k—~4.1kAutomated safety check: PassMIT
Tla Precheckkingbootoshi/tla-precheck113—~1.4kAutomated safety check: PassNone
Skill Managerseasonedcc/remix-forms514—~6.1kAutomated safety check: PassMIT

Similar skills

  • OpenCode Plugin Creator

    Devin-AXIS/iPolloWork

    Scaffolds an OpenCode plugin for iPolloWork with the right async factory shape, zod-based tool definitions and hook registration, and explains where to place and register it.

    6.8k GitHub starsUsed in 1 repo~1.3k tokens
    Agent WorkflowsAuto-check passed
  • Ultraapp Interview

    Enderfga/claw-orchestrator

    A skill your agent uses when the user opens a Forge tab in the claw-orchestrator dashboard to start building a new ultraapp.

    589 GitHub stars~1.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • MCP SDK Audit

    awdr74100/figwright

    Upgrade @modelcontextprotocol/server (the MCP TypeScript SDK v2) and prove the wire contract survived.

    1k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Tla Precheck

    kingbootoshi/tla-precheck

    Design and verify state machines using the TLA PreCheck TypeScript DSL.

    113 GitHub stars~1.4k tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Skill Manager

    seasonedcc/remix-forms

    Create, manage, and debug Claude Code Agent Skills. An agent skill from seasonedcc/remix-forms.

    514 GitHub stars~6.1k tokensUpdated 5 mo ago
    Agent WorkflowsAuto-check passed
  • Agentopology Skill

    agentopology/agentopology

    Design, validate, scaffold, and visualize multi-agent topologies using the .at language

    104 GitHub stars~3.8k tokensUpdated 13 days ago
    Agent WorkflowsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Orchestrating Multi Agent Systems

What does Orchestrating Multi Agent Systems do?

Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers. Orchestrating Multi Agent Systems is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute orchestrate multi-agent systems with handoffs, routing, and workflows across AI providers.

When should I use Orchestrating Multi Agent Systems?

Orchestrating Multi Agent Systems fits situations like: building complex AI systems requiring agent collaboration; task delegation; workflow coordination; with phrases like create multi-agent system.

How do I install Orchestrating Multi Agent Systems in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill orchestrating-multi-agent-systems -a claude-code`. Or copy the skill folder (skills/.curated/orchestrating-multi-agent-systems in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/orchestrating-multi-agent-systems in your project. Claude Code loads it when a task matches its description.

How do I install Orchestrating Multi Agent Systems in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill orchestrating-multi-agent-systems -a codex`. Or copy the skill folder (skills/.curated/orchestrating-multi-agent-systems in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/orchestrating-multi-agent-systems in your project. Codex loads it when a task matches its description.

Can I use Orchestrating Multi Agent Systems in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill orchestrating-multi-agent-systems -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/orchestrating-multi-agent-systems, .gemini/skills/orchestrating-multi-agent-systems, .github/skills/orchestrating-multi-agent-systems and .opencode/skills/orchestrating-multi-agent-systems in your project.

What does Orchestrating Multi Agent Systems need to run?

Going by SKILL.md and its folder, Orchestrating Multi Agent Systems needs Python and TypeScript for the scripts in its folder, the command-line tools its instructions call (npm) and credentials named OPENAI_API_KEY, ANTHROPIC_API_KEY and GOOGLE_GENERATIVE_AI_API_KEY. Our summary lists: Python 3; Node.js; A credential in OPENAI_API_KEY; A credential in ANTHROPIC_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(npm:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Orchestrating Multi Agent Systems access the network?

SKILL.md names 2 domains. As links in the text: sdk.vercel.ai and zod.dev. This is read from the text; nothing was executed.

Is Orchestrating Multi Agent Systems safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Orchestrating Multi Agent Systems use?

Orchestrating Multi Agent Systems is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Orchestrating Multi Agent Systems use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.9k tokens, read only when the agent opens those files.

What are the alternatives to Orchestrating Multi Agent Systems?

Skills that share tags, products or a category with Orchestrating Multi Agent Systems: OpenCode Plugin Creator (Devin-AXIS/iPolloWork, 6.8k stars), Ultraapp Interview (Enderfga/claw-orchestrator, 589 stars), MCP SDK Audit (awdr74100/figwright, 1k stars) and Tla Precheck (kingbootoshi/tla-precheck, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Orchestrating Multi Agent Systems?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.