orchestration
Multi-agent workflow orchestration that chains agents with parallel, conditional, and checkpointed steps.
- CCM score
- 43 of 100
- version
- 1.0.0
- GitHub stars
- 222
Own this plugin? Claim it
What it does
- Adds commands
/orchestration:create,/orchestration:run,/orchestration:pull, and/orchestration:template, plus a/orchestration:menuentry point - Covers natural-language workflow creation, a declarative
.flowsyntax, and real-time visual progress tracking during execution - Enforces manual
@reviewcheckpoints and saves state to.orchestration/state.jsonso interrupted runs can resume - Designed for users who want to automate multi-step tasks across agents such as
Explore,Plan, andgeneral-purpose
Multi-agent workflow orchestration with natural language creation, parallel execution, conditional flows, and visual progress tracking
Add marketplace
/plugin marketplace add mbruhler/claude-orchestrationRun it inside Claude Code once, then install the plugin below.
Install
/plugin install orchestration@orchestration-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCreating Workflows from Description
When to Use
Proactively suggest orchestration when user describes tasks involving:
- Multiple sequential steps with dependencies
- Parallel operations that could run simultaneously
- Conditional logic or branching (if/then scenarios)
- Error handling or retry requirements
- Testing, review, and deployment phases
- Complex multi-agent coordination
- Quality gates or approval checkpoints
Trigger Patterns
Watch for these patterns in user messages:
Explicit workflow requests:
- "I need to [multi-step task]"
- "Help me build a pipeline for [process]"
- "Create a workflow that [description]"
- "Automate [complex task]"
Implicit workflow descriptions:
- User describes 3+ sequential steps
- User mentions temporal ordering: "then", "after that", "once that's done"
- User mentions conditionals: "if that works", "if tests pass"
- User mentions parallel work: "at the same time", "in parallel", "simultaneously"
- User mentions reviews/approvals: "needs review", "after approval"
- User mentions retry/error handling: "if it fails", "retry", "rollback"
Example phrases:
- "run tests, then if they pass..."
- "deploy to production after security review"
- "implement with TDD workflow"
- "check code quality before merging"
- "parallel test execution"
Action
When triggers detected, suggest orchestration:
This sounds like a perfect use case for orchestration! I can help you create a workflow that handles:
[List 2-4 key aspects identified from description, e.g.:]
- Sequential testing and deployment steps
- Parallel validation (tests + security scan)
- Conditional deployment based on test results
- Automatic rollback on failure
Would you like me to guide you through creating this workflow?
If user says yes:
Execute the create command with their description:
/orchestration:create [initial description from user message]
If user says no or wants to see example first:
Show relevant example from docs/reference/examples.md that matches their pattern.
Examples
Example 1: TDD Workflow
User: "I need to implement authentication using test-driven development"
Assistant: "This sounds like a perfect use case for orchestration! I can help you create a TDD workflow that handles:
- Writing tests first
- Running tests and tracking results
- Implementing features to pass tests
- Automatic retry loop for failed tests
Would you like me to guide you through creating this workflow?"
If yes: /orchestration:create implement authentication with TDD
Example 2: Deployment Pipeline
User: "Can you help me set up automated deployment that runs tests first, then if everything passes, does a security scan, and only deploys if both succeed?"
Assistant: "This sounds like a perfect use case for orchestration! I can help you create a deployment pipeline that handles:
- Parallel test and security validation
- Quality gate before deployment (both must pass)
- Automatic deployment when validation succeeds
- Rollback capability if deployment fails
Would you like me to guide you through creating this workflow?"
If yes: /orchestration:create deploy with tests and security validation
Example 3: Code Review Workflow
User: "I want to make sure all my changes go through code review and pass linting before merging"
Assistant: "This sounds like a perfect use case for orchestration! I can help you create a review workflow that handles:
- Parallel code review and linting
- Quality gate (both must succeed)
- Manual approval checkpoint
- Automatic merge after approval
Would you like me to guide you through creating this workflow?"
If yes: /orchestration:create code review with linting and approval
Don't Trigger For
Simple single-step tasks:
- "Run the tests" ← just run tests
- "Deploy to production" ← single action
- "Review this code" ← single agent
Already using orchestration syntax:
- User provides workflow syntax directly
- User asks to modify existing workflow
Exploratory questions:
- "What is orchestration?"
- "How does the menu work?"
- "Show me examples"
Integration
This skill makes Claude proactive about suggesting orchestration when appropriate. It works alongside:
/orchestration:create- Command this skill triggersusing-orchestration- General guidance skillworkflow-socratic-designer- Agent this launches
Success Criteria
✅ Claude suggests orchestration for multi-step tasks ✅ Claude identifies parallel opportunities ✅ Claude recognizes conditional logic needs ✅ Claude explains workflow benefits before offering ✅ Claude uses /orchestration:create when user agrees
Readme
🎭 Orchestration Plugin for Claude Code
Like N8N in Claude Code
If you like the project, consider ⭐ it!
Multi-agent workflow orchestration. Chain AI agents to automate complex tasks using natural language or declarative syntax.
Contributing
Feel free to open a PR and contribute to the project!
Installation
1. Add Plugin Marketplace
First, add the orchestration marketplace to your Claude Code:
/plugin marketplace add mbruhler/claude-orchestration
2. Install the Plugin
/plugin install orchestration@mbruhler
Or use the interactive menu:
/plugin
Then select "Browse Plugins" → find orchestration → Install
3. Verify Installation
Check that the plugin is installed:
/help
You should see orchestration commands like /orchestration:menu, /orchestration:init, etc.
Quick Start
0. Import Your Custom Agents (Optional)
/orchestration:init
Import your custom agents from ~/.claude/agents/ into the orchestration plugin.
Example:
/orchestration:init
→ Select agents to import
→ Agents become available as expert-code-implementer, etc. and the plugin can create workflows using them
1. Natural Language
"Create a workflow that fetches 10 Reddit posts about startups,
analyzes competition, and shows a ratings table"
The plugin:
- ✅ Creates necessary temp scripts (Python/Node.js)
- ✅ Guides you through clickable questions
- ✅ Generates and executes optimized workflow
- ✅ Returns formatted results
2. Direct Syntax
# Parallel bug investigation
[
Explore:"Find related code":code ||
general-purpose:"Check recent changes":changes ||
general-purpose:"Search similar issues":similar
] ->
general-purpose:"Identify root cause from {code}, {changes}, {similar}":analysis ->
@review:"Approve fix?" ->
general-purpose:"Implement fix and run tests":fix ->
general-purpose:"Commit changes with detailed message"
3. Templates
"Use the TDD implementation template"
Core Features
Flow Control
# Sequential
step1 -> step2 -> step3
# Parallel
[task1 || task2 || task3]
# Conditional
test -> (if passed)~> deploy
-> (if failed)~> rollback
Auto Temp Scripts
Automatically creates Python/Node.js scripts for:
- 🌐 Web scraping (BeautifulSoup, Selenium)
- 📡 APIs (Reddit, Twitter, GitHub)
- 📊 Data processing (pandas, NumPy)
- 🗄️ Database queries
Manual Checkpoints
build:"Compile app" ->
@review:"Check output. Continue?" ->
deploy:"Deploy to production"
Visual Progress
╔════════════════════════════════════╗
║ TDD Implementation ║
╠════════════════════════════════════╣
║ [Write Test] ● ║
║ │ ║
║ [Implement] ○ ║
║ │ ║
║ [@Review] ○ ║
╠════════════════════════════════════╣
║ Status: Writing test... ║
╚════════════════════════════════════╝
⏰ Autonomous Scheduling & Headless Mode
With Claude Code's native /loop and Desktop Scheduling tools, your workflows don't have to be run manually. Turn your orchestrations into autonomous background workers!
Syntax Integration
Add the @schedule directive to the top of your .flow file to instruct Claude to run it repeatedly:
# Runs daily at 8:00 AM automatically
@schedule("0 8 * * *")
[
Explore:"Check recent GitHub PRs":prs ||
general-purpose:"Check open Sentry issues":bugs
] ->
general-purpose:"Draft daily standup summary from {prs} and {bugs}":summary ->
general-purpose:"Append {summary} to standup_log.md"
Unattended Checkpoints
When running in the background, you can't manually approve checkpoints. Use fallback behaviors to keep things moving:
# Skip manual review if running headless/scheduled
@review(fallback=skip):"Approve code changes?"
# Log to a file instead of blocking the terminal
@approval(fallback=notify):"Verify system state"
🛡️ Reliability & Ecosystem (NEW!)
State Snapshots & Recovery
Never lose workflow progress to a rate-limit, crash, or accidental exit. The plugin automatically saves variables and node status to .orchestration/state.json.
If your workflow dies at step 14 of 15, simply tell Claude:
"Resume the orchestration workflow"
It will load the state, skip steps 1-13, inject the variables, and finish step 14.
Community Workflow Registry (The "NPM" for Agents)
Stop writing workflows from scratch. Pull proven architectures from the community registry directly into your workspace.
# Pull from the official registry
/orchestration:pull tdd-autopilot
# Pull directly from any GitHub repo
/orchestration:pull username/repo/my-workflow.flow
(Want to publish yours? Submit a PR to registry/index.json in this repo!)
🧠 Semantic Routing (LLM Switch Statements)
Replace rigid text-matching conditions with dynamic, "thinking" trees.
general-purpose:"Read the latest user support ticket":ticket ->
route({ticket}) => [
(if "UI, CSS, or layout bug") ~> frontend-agent:"Fix styling" ||
(if "Database, 500 error, crash") ~> backend-agent:"Fix server"
]
🧑💻 Human-as-a-Tool (Reverse Delegation)
When Claude gets stuck (e.g. Needs an MFA code or Captcha solved), the AI can pause and orchestrate you to help it out, capturing your input as a variable.
@ask-human:"Please solve the Captcha and paste the success token here":token ->
general-purpose:"Resume scraping using {token}"
🧪 Dry-Run Workflow Unit Tests (.flow.test)
Test your massive orchestration files without making expensive API calls. Mock your variables in the YAML frontmatter and the CLI will visually trace the execution path based on the mocked data.
Syntax Reference
| Syntax | Meaning | Example |
|---|---|---|
-> | Sequential | step1 -> step2 |
| ` | ` | |
~> | Conditional | (if passed)~> next |
@label | Checkpoint | @review-code |
:var | Capture output | analyze:"task":result |
{var} | Use variable | "Process {result}" |
$agent | Temp agent | $scanner:"Scan" |
Built-in Agents
- Explore - Fast codebase exploration and search
- Plan - Planning and breaking down tasks
- general-purpose - Versatile agent for complex multi-step tasks
Examples
Autonomous Social Scraper (Scheduled)
# Run every 6 hours in the background
@schedule("every 6h")
general-purpose:"Create Python PRAW script to fetch 10 r/startups posts.
Return JSON with title, url, description":posts ->
[
general-purpose:"Research competition for post {posts[0]}":a1 ||
general-purpose:"Research competition for post {posts[1]}":a2
] ->
general-purpose:"Rate ideas (1-10) on competition, market, feasibility.
Create markdown table":ratings ->
# Unattended Checkpoint logs to file instead of hanging the scheduler
@review(fallback=notify):"Review {ratings}. Ban any?" ->
general-purpose:"Append top 3 opportunities summary to startup_leads.md"
Reddit Startup Analyzer (Manual)
general-purpose:"Create Python PRAW script to fetch 10 r/startups posts.
Return JSON with title, url, description":posts ->
[
general-purpose:"Research competition for post {posts[0]}":a1 ||
general-purpose:"Research competition for post {posts[1]}":a2 ||
# ... parallel analyses
] ->
general-purpose:"Rate ideas (1-10) on competition, market, feasibility.
Create markdown table":ratings ->
@review:"Review {ratings}. Ban any?" ->
general-purpose:"Generate top 3 opportunities summary"
TDD Implementation
# RED: Write failing test
general-purpose:"Write failing test for the feature":test ->
general-purpose:"Run test suite - verify it fails":red_result ->
@review-coverage:"Test coverage sufficient?" ->
# GREEN: Minimal implementation
general-purpose:"Write minimal code to pass the test":impl ->
general-purpose:"Run test suite - verify it passes":green_result ->
@review:"Code quality OK?" ->
# REFACTOR: Clean up
general-purpose:"Refactor code and add documentation":refactored ->
general-purpose:"Final test run and commit"
Bug Investigation
# Parallel investigation
[
Explore:"Find error pattern in codebase":code ||
general-purpose:"Analyze error logs":logs ||
general-purpose:"Check recent commits":commits ||
general-purpose:"Search for similar bugs":known
] ->
# Diagnosis
general-purpose:"Identify root cause from {code}, {logs}, {commits}, {known}":cause ->
@review:"Diagnosis correct?" ->
# Fix with testing
general-purpose:"Write regression test for the bug":test ->
general-purpose:"Implement fix":fix ->
# Verification
[
general-purpose:"Run regression test" ||
general-purpose:"Run full test suite" ||
general-purpose:"Perform smoke test"
] ->
@review:"Approve deployment?" ->
general-purpose:"Commit with detailed bug fix message"
Project Structure
orchestration/
├── skills/ # Auto-activating skills
│ ├── creating-workflows/
│ ├── executing-workflows/
│ ├── managing-agents/
│ ├── managing-temp-scripts/
│ ├── designing-syntax/
│ ├── debugging-workflows/
│ └── using-templates/
├── agents/ # Permanent agents
├── temp-agents/ # Ephemeral (auto-cleaned)
├── temp-scripts/ # Generated scripts
├── examples/ # Templates (.flow)
└── docs/ # Documentation
Advanced
Standalone Execution
# Headless (no checkpoints)
claude -p "Execute @examples/tdd-implementation.flow"
# With parameters
claude -p "/orchestration:run $(cat workflow.flow)" \
--output-format json
Agent Promotion
Workflow complete!
Temp agents: security-scanner, api-wrapper
Save as permanent?
[Save all] [Save security-scanner] [Delete all]
Template Parameters
---
name: api-integration
parameters:
- API_URL: "https://api.example.com"
- NUM_ITEMS: 10
---
workflow: |
general-purpose:"Fetch {{NUM_ITEMS}} from {{API_URL}}":data ->
general-purpose:"Format results":output
Troubleshooting
Workflow hangs → Checkpoint requires user response or remove for headless
Temp script fails
→ Check temp-scripts/ for generated file
→ Verify API credentials and dependencies
Agent not found
→ Built-in: exact names (Explore, general-purpose)
→ Plugin: use orchestration: prefix
→ Temp: use $ prefix
Star History
Support
- 📖 Documentation
- 💬 Discussions
- 🐛 Issues
MIT License | Built for Claude Code community
Details
- Marketplace
- mbruhler/claude-orchestration
- Author
- Claude Orchestration Contributors
- Category
- Productivity
- License
- MIT
- Keywords
- workflows, orchestration, multi-agent, parallel-execution, visualization, automation, natural-language, agents, checkpoints
- Listed since
- Apr 7, 2026
Similar to orchestration
More Agent Workflow & Planningagent-orchestrationPlugingreyhaven-ai/claude-code-config31 starsMulti-agent orchestration with context management, workflow composition, and agent coordination. Enables complex multi-step tasks through systematic agent deleg
agent-orchestration-advisorPlugindeanpeters/Product-Manager-Skills8.2K starsDesign multi-agent AI workflows with clear boundaries, handoffs, and monitoring.
agent-workflowSkillruvnet/ruflo1.4K installsEvent-driven workflow automation agent that designs, executes, and monitors multi-step pipelines with agent assignment.
hyperflowPluginccplugins/awesome-claude-code-plugins1K starsAdvanced multi-agent orchestration with persistent cross-session memory, per-step multi-level review, persona stitching, and adaptive flow profiles.
voltagent-metaPluginVoltAgent/awesome-claude-code-subagents26.8K starsAgent coordination and meta-programming - multi-agent orchestration, workflow automation, and safe refactor governance. Works best with other voltagent plugins