ericgandrade/claude-superskills/agent-skill-orchestrator

Claude Code and agent skill by ericgandrade/claude-superskills

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user needs to solve a complex task and wants a detailed execution plan using the best available resources. Analyzes user requirements, discovers available plugins/agents/skills/MCPs, performs intelligent matching with confidence scoring, and creates strategic execution plans with alternatives. Works across all AI CLI platforms.

Install

npx vskill@latest install ericgandrade/claude-superskills/agent-skill-orchestrator

SKILL.md

agent-skill-orchestrator

Purpose

Intelligent task planning and resource orchestration engine that analyzes user requirements and creates strategic execution plans using the best available resources. This skill performs automated discovery, intelligent matching with confidence scoring, and generates comprehensive plans with multiple options and fallback strategies.

The orchestrator operates as a planning assistant—it recommends approaches but always requests explicit user approval before execution. It serves as the intelligence layer above the discovery foundation, transforming "what do I have" into "how should I use it".

When to Use

Invoke this skill when:

  • User has a complex task requiring multiple steps or resources
  • User wants to know the best approach to solve a problem
  • User needs coordination between multiple plugins, agents, skills, or MCPs
  • User wants optimized resource utilization for a task
  • User is unsure which tools or approach to use
  • User needs a strategic plan before implementation
  • User wants to explore multiple solution approaches

Platform Support

Works identically on all AI CLI platforms:

  • Claude Code (claude)
  • GitHub Copilot CLI (gh copilot)
  • Gemini CLI (gemini)
  • OpenCode (opencode)
  • OpenAI Codex (codex)

Progress Tracking

Display progress before each orchestration phase:

[██░░░░░░░░░░░░░░░░░░] 15% — Step 0: Discovering Available Resources
[████░░░░░░░░░░░░░░░░] 25% — Step 1: Analyzing User Request
[████████░░░░░░░░░░░░] 45% — Step 2: Intelligent Matching & Scoring
[████████████░░░░░░░░] 65% — Step 3: Generating Execution Plan
[██████████████████░░] 85% — Step 4: Presenting Plan for Approval
[████████████████████] 100% — Step 5: Plan Approved / Execution Ready

Workflow

Step -1: Prompt Quality Check (Pre-Analysis)

Objective: Ensure user request is clear and well-structured before planning.

Why This Step Matters:

  • Vague prompts → poor resource matching → low-quality plans
  • Optimized prompts → precise requirements → high-confidence plans
  • Reduces planning iterations and "Refine plan" cycles

Prompt Quality Check: Before planning, assess whether the user request is specific enough to yield accurate resource matching. If the request is fewer than 20 words, lacks a clear action verb or goal, or uses only ambiguous references ("this", "it", "that") without context, invoke prompt-engineer to refine it first. A well-refined request improves confidence scores by 20–30% and reduces planning iterations. Proceed directly if the request is already clear.

Impact on Planning:

  • ✅ Confidence scores increase 20-30%
  • ✅ More accurate resource matching
  • ✅ Better success criteria definition
  • ✅ Reduced ambiguity in plan execution

Step 0: Discover Available Resources

Objective: Obtain fresh inventory of all installed resources.

Critical Dependency: This skill MUST call agent-skill-discovery first.

Actions:

Invoke the discovery skill to get complete resource catalog:

bash
# Call agent-skill-discovery skill
resources = invokeSkill("agent-skill-discovery")

Expected Output:

json
{
"platform": "Claude Code",
"plugins": [
{
"name": "feature-dev",
"agents": [
{
"name": "code-explorer",
"description": "Analyzes existing codebase",
"tools": ["Glob", "Grep", "Read", "Bash"]
}
]
}
],
"skills": [
{
"name": "skill-creator",
"description": "Creates new skills",
"triggers": ["create a skill", "new skill"],
"category": "development"
}
],
"mcpServers": [
{
"name": "claude_ai_Notion",
"type": "stdio",
"tools": ["notion-search", "notion-create-pages"]
}
]
}

Why This Step is Critical:

  • Ensures fresh, accurate resource availability
  • Works across all platforms (discovery handles platform detection)
  • Provides complete context for intelligent matching
  • Avoids recommending unavailable resources
Step 1: Analyze User Request

Objective: Extract requirements from user's task description.

Actions:

Parse the request to extract:

  • Task type — development, content, integration, analysis, documentation, or planning. Infer from verbs: build/create/implement → development; transcribe/summarize/convert → content; connect/sync/automate → integration; review/debug/diagnose → analysis; document/write → documentation; design/plan/architect → planning.
  • Required capabilities — code generation, web access, file processing, external integrations (detect service names: Notion, Jira, GitHub, Slack, Confluence, browser).
  • Keywords — extract nouns and technology names for matching against resource descriptions and triggers.
  • Complexity — simple (single tool, one step), moderate (2–3 steps, some coordination), complex (multi-phase, dependencies between steps).
Step 2: Intelligent Matching & Scoring

Objective: Score each discovered resource against user requirements.

Score each discovered resource against the parsed requirements using five dimensions:

DimensionWeightHow to score
Trigger phrase match30%Does any trigger phrase from the resource overlap with the user's keywords?
Semantic similarity25%Does the resource description align with the user's goal and domain?
Tool availability20%Do the resource's tools cover the required capabilities (web, file I/O, code, integrations)?
Category relevance15%Does the resource category match the detected task type?
MCP integration bonus10%Is this an MCP tool and does the task require external service integrations?

Total score = 0–100. Filter out resources below 40. Group into tiers: high confidence (≥80), medium (60–79), low (40–59).

Step 3: Generate Execution Plan

Objective: Create strategic execution plans with alternatives.

Build the primary strategy by ordering high-confidence resources into a logical execution sequence:

  1. Analysis/discovery resources first (if task requires understanding existing state)
  2. Implementation resources in the middle (create, build, transform)
  3. Validation/review resources last (check, audit, confirm)

Build an alternative strategy using medium-confidence resources not already in the primary plan — a simplified 2-step approach is sufficient for the alternative.

Extract prerequisites: For each MCP resource in the plan, add "MCP server X must be configured." For each plugin agent, add "Plugin X must be installed."

Define success criteria based on task type:

  • development → code compiles without errors, tests pass, follows project conventions
  • content → output format matches requirements, content is accurate and complete
  • integration → external services respond successfully, data syncs correctly
Step 4: Present Plan for Approval

Objective: Show comprehensive plan to user in clean markdown format.

Output Structure:

markdown
## 📊 Discovery Analysis
**Platform:** {detected_platform}
**Task Type:** {requirements.taskType}
**Complexity:** {requirements.complexity}
**External Integrations:** {requirements.externalIntegrations.join(', ') || 'None'}
---
## 🔍 Resources Found ({total_count})
### High Confidence (80-100%)
-**{resource_name}** [{score}%] - {description}
-**Why selected:** {reasoning}
### Medium Confidence (60-79%)
-**{resource_name}** [{score}%] - {description}
---
## ✅ Recommended Execution Plan
### Option 1: Primary Strategy (Recommended)
**Step {n}:** Use **{resource_name}** to {action}
-**Input:** {input_description}
-**Output:** {expected_output}
-**Tool:** {platform_tool_name}
-**Rationale:** {why_this_resource}
*(Repeat for each step)*
**Expected Outcome:** {final_result_description}
**Estimated Time:** {time_estimate}
**Risk Level:** {low|medium|high}
---
### Option 2: Alternative Strategy
**Step {n}:** Use **{alt_resource_name}** to {action}
-**Input:** {input_description}
-**Output:** {expected_output}
-**Rationale:** {why_this_alternative}
*(Simpler or different approach)*
---
## ⚠️ Prerequisites
Before executing this plan, ensure:
-[ ] {prerequisite_1}
-[ ] {prerequisite_2}
-[ ] {prerequisite_3}
---
## 🎯 Success Criteria
This plan will be successful when:
-[ ] {criterion_1}
-[ ] {criterion_2}
-[ ] {criterion_3}
---
## 💡 Notes
-**Parallel Execution:** Steps {x} and {y} can run in parallel
-**Fallback:** If Step {n} fails, try {alternative}
-**Dependencies:** Step {n+1} requires output from Step {n}
---
**⏸️ Awaiting your approval to proceed...**
Step 5: Request Approval

Objective: Get explicit user confirmation before execution.

Use AskUserQuestion:

javascript
AskUserQuestion({
question: "Which execution plan would you like to proceed with?",
header: "Plan Approval",
options: [
{
label: "Execute Option 1 (Recommended)",
description: "Primary strategy with highest confidence resources"
},
{
label: "Execute Option 2 (Alternative)",
description: "Alternative approach with different resource mix"
},
{
label: "Refine plan",
description: "Modify requirements or resource selection"
},
{
label: "Cancel",
description: "Do not execute, return to planning"
}
]
});

Handle Response:

  • Execute Option 1/2: Proceed with selected plan (Step 6)
  • Refine: Ask follow-up questions, regenerate plan
  • Cancel: Exit gracefully, no execution
Step 6: Execute Plan (Optional)

Objective: Execute approved plan step-by-step.

Execution Strategy:

javascript
async function executePlan(approvedPlan) {
const results = [];
for (const step of approvedPlan) {
console.log(`\n🔄 Executing Step ${step.number}...`);
console.log(` Resource: ${step.resource.name}`);
console.log(` Action: ${step.action}`);
try {
// Invoke the resource (agent, skill, or MCP tool)
const result = await invokeResource(step.resource, step.input);
results.push({
step: step.number,
status: 'success',
output: result
});
console.log(`✅ Step ${step.number} completed`);
} catch (error) {
console.error(`❌ Step ${step.number} failed: ${error.message}`);
// Check for fallback
if (step.fallback) {
console.log(`🔄 Trying fallback: ${step.fallback.resource.name}`);
const fallbackResult = await invokeResource(step.fallback.resource, step.input);
results.push({
step: step.number,
status: 'fallback',
output: fallbackResult
});
} else {
throw error; // No fallback, abort
}
}
}
return results;
}
async function invokeResource(resource, input) {
if (resource.type === 'skill') {
return await invokeSkill(resource.name, input);
} else if (resource.type === 'agent') {
return await invokeAgent(resource.name, input);
} else if (resource.type === 'mcp') {
return await invokeMCPTool(resource.name, input);
}
}

Progress Reporting:

Display progress during execution:

markdown
## 🚀 Execution Progress
✅ Step 1: Completed (feature-dev:code-explorer)
🔄 Step 2: In progress (feature-dev:code-architect)
⏸️ Step 3: Pending (code-review:code-review)
**Current Output:**
{step_output_preview}

Critical Rules

NEVER:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
39
Repository forks
5
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ericgandrade/claude-superskills/agent-skill-orchestrator/badge)](https://verified-skill.com/skills/ericgandrade/claude-superskills/agent-skill-orchestrator)

Something wrong with this skill or its page? Tell us.