Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

agent-orchestrationAgent 编排

Agent Skill

agent-orchestration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

447

周安装

19

GitHub Stars

8

下载量

157
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-orchestration(Agent 编排)
来源仓库:https://github.com/vamseeachanta/workspace-hub
仓库路径:skills/agent-orchestration
安装命令:
npx skills add https://github.com/vamseeachanta/workspace-hub --skill agent-orchestration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/vamseeachanta/workspace-hub --skill agent-orchestration

简介

agent-orchestration 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前暂无更多细节,建议参考来源仓库了解具体实现方式。

SKILL.md

Agent Orchestration Skill

Coordinate multiple AI agents using swarm topologies, parallel execution, and Claude Flow for complex multi-step tasks.

Quick Start

// Initialize a swarm for complex task

// Spawn specialized agents
    agents: [
        { type: "coder", name: "backend" },
        { type: "tester", name: "qa" },
        { type: "reviewer", name: "quality" }
    ]
})

// Orchestrate the task
    task: "Build REST API with tests",
    strategy: "adaptive"
})

When to Use

  • Complex tasks requiring multiple specialized agents (coder, tester, reviewer)
  • Parallel execution to speed up independent subtasks
  • Code review requiring multiple perspectives (security, performance, style)
  • Research tasks needing distributed information gathering
  • Cross-repository changes requiring coordinated commits

Prerequisites

  • Understanding of swarm topologies
  • Familiarity with agent types and capabilities
  • Claude Code Task tool for agent execution

Overview

This skill enables orchestration of multiple AI agents for complex tasks. It covers swarm initialization, agent spawning, task coordination, and multi-agent workflows using Claude Flow and the workspace-hub agent ecosystem.

Agent Categories

Core Agents

AgentPurpose
coderImplementation and coding
reviewerCode review and quality
testerTesting and verification
plannerStrategic planning
researcherInformation gathering

SPARC Agents

AgentPurpose
specificationRequirements analysis
pseudocodeAlgorithm design
architectureSystem design
refinementTDD implementation

Specialized Agents

AgentPurpose
backend-devBackend/API development
ml-developerMachine learning
cicd-engineerCI/CD pipelines
system-architectArchitecture design
api-docsAPI documentation

GitHub Agents

AgentPurpose
pr-managerPull request management
code-review-swarmAutomated code review
issue-trackerIssue management

Swarm Topologies

Hierarchical

Coordinator delegates to specialized workers:

        ┌─────────────────┐
        │   Coordinator   │
        └────────┬────────┘
                 │
    ┌────────────┼────────────┐
    │            │            │
    ▼            ▼            ▼
┌───────┐  ┌───────┐  ┌───────┐
│Worker1│  │Worker2│  │Worker3│
└───────┘  └───────┘  └───────┘

Best for: Complex tasks with clear subtask boundaries

// Initialize hierarchical swarm
    topology: "hierarchical",
    maxAgents: 5,
    strategy: "auto"
})

Mesh

Peer-to-peer collaboration:

┌───────┐     ┌───────┐
│Agent A│◄───►│Agent B│
└───┬───┘     └───┬───┘
    │      ╲  ╱   │
    │       ╲╱    │
    │       ╱╲    │
    │      ╱  ╲   │
┌───▼───┐     ┌───▼───┐
│Agent C│◄───►│Agent D│
└───────┘     └───────┘

Best for: Collaborative tasks requiring shared context

    topology: "mesh",
    maxAgents: 4
})

Star

Central hub with peripheral agents:

         ┌───────┐
         │Agent A│
         └───┬───┘
             │
┌───────┐  ┌─▼─┐  ┌───────┐
│Agent B├──►Hub◄──┤Agent C│
└───────┘  └─┬─┘  └───────┘
             │
         ┌───▼───┐
         │Agent D│
         └───────┘

Best for: Tasks with central coordination point

    topology: "star",
    maxAgents: 6
})

Ring

Sequential processing:

┌───────┐     ┌───────┐
│Agent A│────►│Agent B│
└───┬───┘     └───┬───┘
    ▲             │
    │             ▼
┌───┴───┐     ┌───────┐
│Agent D│◄────│Agent C│
└───────┘     └───────┘

Best for: Pipeline processing, sequential workflows

    topology: "ring",
    maxAgents: 4
})

Agent Spawning

Spawn Single Agent

    type: "coder",
    name: "implementation-agent",
    capabilities: ["python", "typescript", "api-development"]
})

Spawn Multiple Agents in Parallel

    agents: [
        { type: "coder", name: "backend-coder" },
        { type: "tester", name: "test-writer" },
        { type: "reviewer", name: "code-reviewer" }
    ],
    maxConcurrency: 3
})

Agent Types

// Available agent types
const agentTypes = [
    "coordinator",
    "analyst",
    "optimizer",
    "documenter",
    "monitor",
    "specialist",
    "architect",
    "task-orchestrator",
    "code-analyzer",
    "perf-analyzer",
    "api-docs",
    "performance-benchmarker",
    "system-architect",
    "researcher",
    "coder",
    "tester",
    "reviewer"
];

Task Orchestration

Simple Task

    task: "Implement user authentication with JWT",
    strategy: "sequential",
    priority: "high"
})

Complex Task with Dependencies

    task: "Build complete API with tests and documentation",
    strategy: "adaptive",
    priority: "high",
    dependencies: [
        "design-api-spec",
        "write-tests",
        "implement-endpoints",
        "create-documentation"
    ]
})

Orchestration Strategies

StrategyDescription
parallelExecute independent tasks simultaneously
sequentialExecute tasks in order
adaptiveDynamically adjust based on results
balancedBalance load across agents

Workflow Patterns

1. Code Review Swarm

// Initialize review swarm
    topology: "hierarchical",
    maxAgents: 4
});

// Spawn review agents
    agents: [
        { type: "reviewer", name: "security-reviewer" },
        { type: "reviewer", name: "performance-reviewer" },
        { type: "reviewer", name: "style-reviewer" }
    ]
});

// Orchestrate review
    task: "Review PR #123 for security, performance, and style",
    strategy: "parallel"
});

2. Feature Implementation

// Sequential SPARC workflow

// Phase agents
const phases = [
    { type: "specialist", name: "specification-agent" },
    { type: "specialist", name: "pseudocode-agent" },
    { type: "architect", name: "architecture-agent" },
    { type: "coder", name: "implementation-agent" },
    { type: "tester", name: "testing-agent" }
];

    task: "Implement new feature following SPARC methodology",
    strategy: "sequential"
});

3. Research and Analysis

// Mesh for collaborative research

    agents: [
        { type: "researcher", name: "literature-reviewer" },
        { type: "analyst", name: "data-analyst" },
        { type: "documenter", name: "summary-writer" }
    ]
});

    task: "Research and analyze best practices for microservices",
    strategy: "adaptive"
});

Execution Checklist

  • Determine task complexity and required agent types
  • Select appropriate swarm topology
  • Initialize swarm with correct configuration
  • Spawn required agents (prefer parallel spawning)
  • Define task with clear objectives and dependencies
  • Orchestrate with appropriate strategy
  • Monitor progress with status checks
  • Collect and consolidate results
  • Clean up swarm when complete

Monitoring and Status

Check Swarm Status

Monitor Agent Metrics

List Active Agents

Get Task Results

Memory Management

Store Information

    action: "store",
    key: "project-context",
    value: JSON.stringify(projectData),
    namespace: "project-alpha"
})

Retrieve Information

    action: "retrieve",
    key: "project-context",
    namespace: "project-alpha"
})

Search Memory

    pattern: "api-*",
    namespace: "project-alpha",
    limit: 10
})

Error Handling

Agent Spawn Failures

// Check agent status after spawning
if (status.agents.length < expectedCount) {
    // Retry failed spawns
}

Task Orchestration Failures

// Use fault tolerance for critical tasks
    agentId: "agent-123",
    strategy: "restart"  // or "failover", "ignore"
})

Recovery

// Create snapshot before risky operations

// Restore if needed

Swarm Coordination Issues

  • Topology mismatch: Choose topology based on task structure
  • Agent overload: Scale down or use load balancing
  • Memory conflicts: Use namespaced memory storage
  • Timeout issues: Set reasonable timeouts, monitor progress

Metrics & Success Criteria

  • Agent Spawn Time: < 2 seconds per agent
  • Task Completion Rate: >= 95%
  • Coordination Overhead: < 10% of total execution time
  • Memory Usage: Efficient namespace isolation
  • Parallel Speedup: 2-4x improvement for parallelizable tasks

Performance Optimization

Topology Selection

Choose topology based on task:

Task TypeRecommended Topology
Code reviewHierarchical
BrainstormingMesh
Pipeline processingRing
Centralized coordinationStar
Mixed workloadsAdaptive

Auto-Optimize

Load Balancing

    swarmId: "current",
    tasks: ["task1", "task2", "task3"]
})

Integration with Claude Code

Using Task Tool

For complex tasks, use Claude Code's Task tool:

Task({
    description: "Complex multi-step analysis",
    prompt: "Analyze codebase and suggest improvements",
    subagent_type: "code-analyzer"
})

Parallel Agent Execution

Launch multiple agents in parallel:

// Single message with multiple Task calls
Task({ subagent_type: "researcher", ... })
Task({ subagent_type: "coder", ... })
Task({ subagent_type: "reviewer", ... })

Integration Points

MCP Tools

// Full orchestration example

Hooks

# Pre-task hook

# Post-task hook

Related Skills

Best Practices

Agent Selection

  1. Match agent to task: Use specialized agents
  2. Limit concurrency: Don't spawn too many agents
  3. Clear instructions: Provide detailed prompts
  4. Monitor progress: Check status regularly

Swarm Management

  1. Choose appropriate topology: Based on task structure
  2. Set reasonable timeouts: Prevent hung agents
  3. Use memory for context: Share information between agents
  4. Clean up: Destroy swarms when done

Error Handling

  1. Plan for failures: Use fault tolerance
  2. Create snapshots: Before risky operations
  3. Log extensively: For debugging
  4. Graceful degradation: Handle partial failures

Cleanup

Destroy Swarm

Scale Down

    swarmId: "current",
    targetSize: 2
})

References


Version History

  • 1.1.0 (2026-01-02): Upgraded to SKILL_TEMPLATE_v2 format - added Quick Start, When to Use, Execution Checklist, Error Handling consolidation, Metrics, Integration Points, MCP hooks
  • 1.0.0 (2024-10-15): Initial release with swarm topologies, agent spawning, task orchestration, memory management, performance optimization

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.33%
按下载量换算46

windsurf

24.27%
按下载量换算38

trae

16.94%
按下载量换算27

OpenCode

14.73%
按下载量换算23

Cursor

8.63%
按下载量换算14

Codex

3.83%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/vamseeachanta/workspace-hub --skill agent-orchestration;npx skills add vamseeachanta/workspace-hub --skill "agent-orchestration" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills