From orchestration
Creates multi-agent orchestration workflows from natural language using Socratic questioning, pattern detection for sequential/parallel/conditional flows, syntax generation, and visualization.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin mbruhler-claude-orchestrationThis skill uses the workspace's default tool permissions.
I'll help you create powerful orchestration workflows that coordinate multiple Claude Code agents. I use Socratic questioning to understand your needs and generate optimal workflow syntax.
Executes orchestration workflows from -> || ~> syntax with real-time ASCII visualization, progress tracking, interactive steering at checkpoints, state snapshots for resume/recovery, parallel/sequential runs, and error handling.
Chains multiple Claude Code skills into YAML-defined automated workflows supporting conditional logic, parallel execution, error handling, and retries. Ideal for complex multi-step automations.
Provides templates for orchestrator system prompts, phase-specific agent commands like scout and builder, and result aggregation in multi-agent workflows.
Share bugs, ideas, or general feedback.
I'll help you create powerful orchestration workflows that coordinate multiple Claude Code agents. I use Socratic questioning to understand your needs and generate optimal workflow syntax.
I automatically activate when you:
CRITICAL: I use AskUserQuestion tool for ALL questions. NO plain text numbered lists.
I'll ask strategic questions to understand:
I automatically scan for these triggers:
If detected → I'll proactively create temp scripts for you
I'll determine if your workflow is:
->)||)~>)route() =>)@schedule(...))I'll help you define:
I'll create clean, readable workflow syntax like:
# Simple sequential workflow
explore:"Analyze codebase" ->
implement:"Add feature" ->
test:"Run tests"
# Parallel with merge
[security-check || style-check || performance-check] ->
general-purpose:"Consolidate findings"
For more details on my questioning strategy, see socratic-method.md.
Quick overview:
I have templates for common scenarios. See patterns.md for complete catalog.
Popular patterns:
When your workflow needs specialized expertise, I can create temp agents for you.
Temp agents are:
./temp-agents/ directory (in current working directory)When I create temp agents:
See temp-agents.md for examples and guidelines.
When workflows require API credentials or sensitive data, I follow strict security practices:
config/reddit-credentials.json)config/reddit-credentials.json.example)For workflows requiring credentials, I add a Phase 0: Security Verification step:
# Phase 0: Security & Credential Verification
general-purpose:"SECURITY CHECK - Verify credentials are properly configured.
1. Check if credentials file exists
2. Verify .gitignore includes the credentials file
3. Check git status for accidental staging
4. Abort if credentials might be committed
If NOT protected:
- WARN user
- Offer to add to .gitignore
- Only proceed after confirmation":credentials_status
These patterns MUST be in .gitignore:
# API credentials - NEVER commit
config/*-credentials.json
config/credentials*.json
**/credentials.json
**/secrets.json
*.credentials.json
.env
.env.local
When I detect a workflow needs credentials, I:
Temp scripts are Python/Node.js scripts I create for tasks that Claude Code tools can't handle directly.
I automatically create temp scripts when you need:
You say: "Fetch 10 Reddit posts about startups"
I create:
general-purpose:"Create Python script using PRAW library:
1. Authenticate with Reddit API (client_id, client_secret)
2. Fetch 10 hot posts from r/startups
3. Extract: title, url, score, selftext
4. Return JSON array
5. Save as ./temp-scripts/reddit_fetcher.py
6. Execute and return results":reddit_posts
I scan your request for keywords:
If found → I'll suggest temp scripts and ask for your confirmation
If I'm not sure whether you need a temp script, I'll ask:
AskUserQuestion({
questions: [{
question: "How should I handle this data processing?",
header: "Approach",
multiSelect: false,
options: [
{label: "Built-in tools", description: "Use Read/Grep for simple operations"},
{label: "Create temp script", description: "Python script for complex processing"},
{label: "External API", description: "Fetch from service with authentication"}
]
}]
})
For complete guide, see: docs/TEMP-SCRIPTS-DETECTION-GUIDE.md
Sometimes you need syntax beyond the basics. I can design custom syntax elements like:
=> for merge-with-dedup)@security-gate)if security-critical)retry-with-backoff)I follow a reuse-first approach: I check existing syntax before creating new.
See custom-syntax.md for syntax design process.
Real workflow examples to inspire you:
See examples.md for complete catalog with explanations.
Quick examples:
TDD Implementation:
# Test-Driven Development workflow
general-purpose:"Write failing test":test_file ->
implement:"Make test pass":implementation ->
code-reviewer:"Review {implementation}":review ->
(if review.approved)~> commit:"Commit changes" ~>
(if review.needs_changes)~> implement:"Fix issues"
Bug Investigation:
# Parallel investigation with consolidation
[
explore:"Find related code":related_files ||
general-purpose:"Search for similar bugs":similar_issues ||
general-purpose:"Check recent changes":recent_commits
] ->
general-purpose:"Consolidate findings into root cause analysis":analysis ->
implement:"Fix bug based on {analysis}":fix ->
general-purpose:"Run relevant tests":test_results
Security Audit:
# Security scanning with manual gate
$security-scanner:"Scan codebase for vulnerabilities":findings ->
@security-review:"Review {findings}. Approve if no critical issues." ->
(if approved)~> deploy:"Deploy to production"
Autonomous Daily Review (Scheduled):
# Background task that runs every morning
@schedule("0 8 * * *")
[
explore:"Find recent Git diffs":diffs ||
explore:"Check open PRs":prs
] ->
general-purpose:"Summarize code changes for morning standup using {diffs} and {prs}":standup ->
general-purpose:"Save {standup} to daily_updates.md"
After creating your workflow, I'll offer to save it as a template for reuse.
Templates include:
Templates are saved in ./examples/ directory as .flow files.
After I create your workflow:
/orchestration:run to execute itAfter completing workflow design, check for temporary files and ask user before deleting.
Check for existence of temporary files in the current working directory:
# Check temp-agents created during design
TEMP_AGENTS=$(ls ./temp-agents/*.md 2>/dev/null | wc -l)
# Check temp-scripts created during design
TEMP_SCRIPTS=$(ls ./temp-scripts/* 2>/dev/null | wc -l)
TOTAL=$((TEMP_AGENTS + TEMP_SCRIPTS))
Only if TOTAL > 0, use AskUserQuestion:
AskUserQuestion({
questions: [{
question: "Found ${TOTAL} temporary files created during workflow design. Do you want to delete them?",
header: "Cleanup",
multiSelect: false,
options: [
{label: "Yes, delete all", description: "Remove temp-agents and temp-scripts"},
{label: "Show me first", description: "List files before deciding"},
{label: "No, keep them", description: "Leave files for workflow execution"}
]
}]
})
If user chose "Yes, delete all":
# Delete temp-agents (in current working directory)
rm -f ./temp-agents/*.md
# Delete temp-scripts (in current working directory)
rm -rf ./temp-scripts/*
Report what was deleted:
Cleaned up ${TOTAL} temporary files:
- ${TEMP_AGENTS} temp agents removed
- ${TEMP_SCRIPTS} temp scripts removed
If TOTAL == 0, skip cleanup silently (don't bother user).
orchestration: prefixorchestration::variable_name to capture outputs(if failed)~> for error branchesFor complete syntax reference, see executing-workflows skill or syntax reference.
Ready to create a workflow? Just describe what you want to automate!