skills/consiliency/multi-agent-orchestration/SKILL.md
Orchestrate tasks across multiple AI providers (Claude, OpenAI, Gemini, Cursor, OpenCode, Ollama). Use when delegating tasks to specialized providers, routing based on capabilities, or implementing fallback strategies.
npx skillsauth add aiskillstore/marketplace multi-agent-orchestrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Route and delegate tasks to the most appropriate AI provider based on task characteristics and provider capabilities.
| Variable | Default | Description | |----------|---------|-------------| | ENABLED_CLAUDE | true | Enable Claude Code as provider | | ENABLED_OPENAI | true | Enable OpenAI/Codex as provider | | ENABLED_GEMINI | true | Enable Gemini as provider | | ENABLED_CURSOR | true | Enable Cursor as provider | | ENABLED_OPENCODE | true | Enable OpenCode as provider | | ENABLED_OLLAMA | true | Enable local Ollama as provider | | DEFAULT_PROVIDER | claude | Fallback when routing is uncertain | | CHECK_COST_STATUS | true | Check usage before delegating |
MANDATORY - Follow the Workflow steps below in order. Do not skip steps.
What type of task is this?
│
├─ Needs conversation history? ─────────► Keep in Claude (no delegation)
│
├─ Needs sandboxed execution? ──────────► OpenAI/Codex
│
├─ Large context (>100k tokens)? ───────► Gemini
│
├─ Multimodal (images/video)? ──────────► Gemini
│
├─ Needs web search? ───────────────────► Gemini
│
├─ Quick IDE edit? ─────────────────────► Cursor
│
├─ Privacy required / offline? ─────────► Ollama
│
├─ Provider-agnostic fallback? ─────────► OpenCode
│
└─ General reasoning / coding? ─────────► Claude (default)
If you're about to:
STOP -> Read the appropriate cookbook file -> Check provider status -> Then proceed
reference/provider-matrix.md for routing decisioncookbook/openai-codex.mdOPENAI_API_KEY or Codex subscriptioncookbook/gemini-cli.mdGEMINI_API_KEY or Gemini subscriptioncookbook/cursor-agent.mdcookbook/opencode-cli.mdcookbook/ollama-local.mdDo not hardcode model version numbers - they become stale quickly.
For current model names, use the model-discovery skill:
python .claude/ai-dev-kit/skills/model-discovery/scripts/fetch_models.py
Or read: .claude/ai-dev-kit/skills/model-discovery/SKILL.md
| Task Type | Primary | Fallback | |-----------|---------|----------| | Complex reasoning | Claude | OpenAI | | Sandboxed execution | OpenAI | Cursor | | Large context (>100k) | Gemini | Claude | | Multimodal | Gemini | Claude | | Quick codegen | Cursor | Claude | | Web search | Gemini | (web tools) | | Privacy/offline | Ollama | Claude |
See reference/provider-matrix.md for detailed routing guidance.
Orchestration tools are available in .claude/ai-dev-kit/dev-tools/orchestration/:
# Check provider status and usage
.claude/ai-dev-kit/dev-tools/orchestration/monitoring/cost-status.sh
# Check CLI availability (optional apply)
.claude/ai-dev-kit/dev-tools/orchestration/monitoring/provider-check.py
# Intelligent task routing
.claude/ai-dev-kit/dev-tools/orchestration/routing/route-task.py "your task"
# Direct provider execution
.claude/ai-dev-kit/dev-tools/orchestration/providers/claude-code/spawn.sh "task"
.claude/ai-dev-kit/dev-tools/orchestration/providers/codex/execute.sh "task"
.claude/ai-dev-kit/dev-tools/orchestration/providers/gemini/query.sh "task"
.claude/ai-dev-kit/dev-tools/orchestration/providers/cursor/agent.sh "task"
.claude/ai-dev-kit/dev-tools/orchestration/providers/opencode/execute.sh "task"
.claude/ai-dev-kit/dev-tools/orchestration/providers/ollama/query.sh "task"
Delegation results should be:
## Delegation Result
**Provider**: [provider name]
**Task**: [brief description]
**Status**: Success / Partial / Failed
### Summary
[Key findings or outputs]
### Details
[Full response if relevant]
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.