[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CBY9TYZTKEZDF9WG3HG41D":3,"skill-same:01M7CBY9TYZTKEZDF9WG3HG41D":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M7CBY9TYZTKEZDF9WG3HG41D","flow-nexus-swarm",null,"Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fagenticsorg__hackathon-tv5__.claude__skills__flow-nexus-swarm\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: flow-nexus-swarm\ndescription: Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform\ncategory: orchestration\ntags: [swarm, workflow, cloud, agents, automation, message-queue]\nversion: 1.0.0\nrequires:\n  - flow-nexus MCP server\n  - Active Flow Nexus account (register at flow-nexus.ruv.io)\n---\n\n# Flow Nexus Swarm & Workflow Orchestration\n\nDeploy and manage cloud-based AI agent swarms with event-driven workflow automation, message queue processing, and intelligent agent coordination.\n\n## 📋 Table of Contents\n\n1. [Overview](#overview)\n2. [Swarm Management](#swarm-management)\n3. [Workflow Automation](#workflow-automation)\n4. [Agent Orchestration](#agent-orchestration)\n5. [Templates & Patterns](#templates--patterns)\n6. [Advanced Features](#advanced-features)\n7. [Best Practices](#best-practices)\n\n## Overview\n\nFlow Nexus provides cloud-based orchestration for AI agent swarms with:\n\n- **Multi-topology Support**: Hierarchical, mesh, ring, and star architectures\n- **Event-driven Workflows**: Message queue processing with async execution\n- **Template Library**: Pre-built swarm configurations for common use cases\n- **Intelligent Agent Assignment**: Vector similarity matching for optimal agent selection\n- **Real-time Monitoring**: Comprehensive metrics and audit trails\n- **Scalable Infrastructure**: Cloud-based execution with auto-scaling\n\n## Swarm Management\n\n### Initialize Swarm\n\nCreate a new swarm with specified topology and configuration:\n\n```javascript\nmcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\", \u002F\u002F Options: mesh, ring, star, hierarchical\n  maxAgents: 8,\n  strategy: \"balanced\" \u002F\u002F Options: balanced, specialized, adaptive\n})\n```\n\n**Topology Guide:**\n- **Hierarchical**: Tree structure with coordinator nodes (best for complex projects)\n- **Mesh**: Peer-to-peer collaboration (best for research and analysis)\n- **Ring**: Circular coordination (best for sequential workflows)\n- **Star**: Centralized hub (best for simple delegation)\n\n**Strategy Guide:**\n- **Balanced**: Equal distribution of workload across agents\n- **Specialized**: Agents focus on specific expertise areas\n- **Adaptive**: Dynamic adjustment based on task complexity\n\n### Spawn Agents\n\nAdd specialized agents to the swarm:\n\n```javascript\nmcp__flow-nexus__agent_spawn({\n  type: \"researcher\", \u002F\u002F Options: researcher, coder, analyst, optimizer, coordinator\n  name: \"Lead Researcher\",\n  capabilities: [\"web_search\", \"analysis\", \"summarization\"]\n})\n```\n\n**Agent Types:**\n- **Researcher**: Information gathering, web search, analysis\n- **Coder**: Code generation, refactoring, implementation\n- **Analyst**: Data analysis, pattern recognition, insights\n- **Optimizer**: Performance tuning, resource optimization\n- **Coordinator**: Task delegation, progress tracking, integration\n\n### Orchestrate Tasks\n\nDistribute tasks across the swarm:\n\n```javascript\nmcp__flow-nexus__task_orchestrate({\n  task: \"Build a REST API with authentication and database integration\",\n  strategy: \"parallel\", \u002F\u002F Options: parallel, sequential, adaptive\n  maxAgents: 5,\n  priority: \"high\" \u002F\u002F Options: low, medium, high, critical\n})\n```\n\n**Execution Strategies:**\n- **Parallel**: Maximum concurrency for independent subtasks\n- **Sequential**: Step-by-step execution with dependencies\n- **Adaptive**: AI-powered strategy selection based on task analysis\n\n### Monitor & Scale Swarms\n\n```javascript\n\u002F\u002F Get detailed swarm status\nmcp__flow-nexus__swarm_status({\n  swarm_id: \"optional-id\" \u002F\u002F Uses active swarm if not provided\n})\n\n\u002F\u002F List all active swarms\nmcp__flow-nexus__swarm_list({\n  status: \"active\" \u002F\u002F Options: active, destroyed, all\n})\n\n\u002F\u002F Scale swarm up or down\nmcp__flow-nexus__swarm_scale({\n  target_agents: 10,\n  swarm_id: \"optional-id\"\n})\n\n\u002F\u002F Gracefully destroy swarm\nmcp__flow-nexus__swarm_destroy({\n  swarm_id: \"optional-id\"\n})\n```\n\n## Workflow Automation\n\n### Create Workflow\n\nDefine event-driven workflows with message queue processing:\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"CI\u002FCD Pipeline\",\n  description: \"Automated testing, building, and deployment\",\n  steps: [\n    {\n      id: \"test\",\n      action: \"run_tests\",\n      agent: \"tester\",\n      parallel: true\n    },\n    {\n      id: \"build\",\n      action: \"build_app\",\n      agent: \"builder\",\n      depends_on: [\"test\"]\n    },\n    {\n      id: \"deploy\",\n      action: \"deploy_prod\",\n      agent: \"deployer\",\n      depends_on: [\"build\"]\n    }\n  ],\n  triggers: [\"push_to_main\", \"manual_trigger\"],\n  metadata: {\n    priority: 10,\n    retry_policy: \"exponential_backoff\"\n  }\n})\n```\n\n**Workflow Features:**\n- **Dependency Management**: Define step dependencies with `depends_on`\n- **Parallel Execution**: Set `parallel: true` for concurrent steps\n- **Event Triggers**: GitHub events, schedules, manual triggers\n- **Retry Policies**: Automatic retry on transient failures\n- **Priority Queuing**: High-priority workflows execute first\n\n### Execute Workflow\n\nRun workflows synchronously or asynchronously:\n\n```javascript\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"workflow_id\",\n  input_data: {\n    branch: \"main\",\n    commit: \"abc123\",\n    environment: \"production\"\n  },\n  async: true \u002F\u002F Queue-based execution for long-running workflows\n})\n```\n\n**Execution Modes:**\n- **Sync (async: false)**: Immediate execution, wait for completion\n- **Async (async: true)**: Message queue processing, non-blocking\n\n### Monitor Workflows\n\n```javascript\n\u002F\u002F Get workflow status and metrics\nmcp__flow-nexus__workflow_status({\n  workflow_id: \"id\",\n  execution_id: \"specific-run-id\", \u002F\u002F Optional\n  include_metrics: true\n})\n\n\u002F\u002F List workflows with filters\nmcp__flow-nexus__workflow_list({\n  status: \"running\", \u002F\u002F Options: running, completed, failed, pending\n  limit: 10,\n  offset: 0\n})\n\n\u002F\u002F Get complete audit trail\nmcp__flow-nexus__workflow_audit_trail({\n  workflow_id: \"id\",\n  limit: 50,\n  start_time: \"2025-01-01T00:00:00Z\"\n})\n```\n\n### Agent Assignment\n\nIntelligently assign agents to workflow tasks:\n\n```javascript\nmcp__flow-nexus__workflow_agent_assign({\n  task_id: \"task_id\",\n  agent_type: \"coder\", \u002F\u002F Preferred agent type\n  use_vector_similarity: true \u002F\u002F AI-powered capability matching\n})\n```\n\n**Vector Similarity Matching:**\n- Analyzes task requirements and agent capabilities\n- Finds optimal agent based on past performance\n- Considers workload and availability\n\n### Queue Management\n\nMonitor and manage message queues:\n\n```javascript\nmcp__flow-nexus__workflow_queue_status({\n  queue_name: \"optional-specific-queue\",\n  include_messages: true \u002F\u002F Show pending messages\n})\n```\n\n## Agent Orchestration\n\n### Full-Stack Development Pattern\n\n```javascript\n\u002F\u002F 1. Initialize swarm with hierarchical topology\nmcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\",\n  maxAgents: 8,\n  strategy: \"specialized\"\n})\n\n\u002F\u002F 2. Spawn specialized agents\nmcp__flow-nexus__agent_spawn({ type: \"coordinator\", name: \"Project Manager\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Backend Developer\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Frontend Developer\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Database Architect\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"QA Engineer\" })\n\n\u002F\u002F 3. Create development workflow\nmcp__flow-nexus__workflow_create({\n  name: \"Full-Stack Development\",\n  steps: [\n    { id: \"requirements\", action: \"analyze_requirements\", agent: \"coordinator\" },\n    { id: \"db_design\", action: \"design_schema\", agent: \"Database Architect\" },\n    { id: \"backend\", action: \"build_api\", agent: \"Backend Developer\", depends_on: [\"db_design\"] },\n    { id: \"frontend\", action: \"build_ui\", agent: \"Frontend Developer\", depends_on: [\"requirements\"] },\n    { id: \"integration\", action: \"integrate\", agent: \"Backend Developer\", depends_on: [\"backend\", \"frontend\"] },\n    { id: \"testing\", action: \"qa_testing\", agent: \"QA Engineer\", depends_on: [\"integration\"] }\n  ]\n})\n\n\u002F\u002F 4. Execute workflow\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"workflow_id\",\n  input_data: {\n    project: \"E-commerce Platform\",\n    tech_stack: [\"Node.js\", \"React\", \"PostgreSQL\"]\n  }\n})\n```\n\n### Research & Analysis Pattern\n\n```javascript\n\u002F\u002F 1. Initialize mesh topology for collaborative research\nmcp__flow-nexus__swarm_init({\n  topology: \"mesh\",\n  maxAgents: 5,\n  strategy: \"balanced\"\n})\n\n\u002F\u002F 2. Spawn research agents\nmcp__flow-nexus__agent_spawn({ type: \"researcher\", name: \"Primary Researcher\" })\nmcp__flow-nexus__agent_spawn({ type: \"researcher\", name: \"Secondary Researcher\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"Data Analyst\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"Insights Analyst\" })\n\n\u002F\u002F 3. Orchestrate research task\nmcp__flow-nexus__task_orchestrate({\n  task: \"Research machine learning trends for 2025 and analyze market opportunities\",\n  strategy: \"parallel\",\n  maxAgents: 4,\n  priority: \"high\"\n})\n```\n\n### CI\u002FCD Pipeline Pattern\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"Deployment Pipeline\",\n  description: \"Automated testing, building, and multi-environment deployment\",\n  steps: [\n    { id: \"lint\", action: \"lint_code\", agent: \"code_quality\", parallel: true },\n    { id: \"unit_test\", action: \"unit_tests\", agent: \"test_runner\", parallel: true },\n    { id: \"integration_test\", action: \"integration_tests\", agent: \"test_runner\", parallel: true },\n    { id: \"build\", action: \"build_artifacts\", agent: \"builder\", depends_on: [\"lint\", \"unit_test\", \"integration_test\"] },\n    { id: \"security_scan\", action: \"security_scan\", agent: \"security\", depends_on: [\"build\"] },\n    { id: \"deploy_staging\", action: \"deploy\", agent: \"deployer\", depends_on: [\"security_scan\"] },\n    { id: \"smoke_test\", action: \"smoke_tests\", agent: \"test_runner\", depends_on: [\"deploy_staging\"] },\n    { id: \"deploy_prod\", action: \"deploy\", agent: \"deployer\", depends_on: [\"smoke_test\"] }\n  ],\n  triggers: [\"github_push\", \"github_pr_merged\"],\n  metadata: {\n    priority: 10,\n    auto_rollback: true\n  }\n})\n```\n\n### Data Processing Pipeline Pattern\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"ETL Pipeline\",\n  description: \"Extract, Transform, Load data processing\",\n  steps: [\n    { id: \"extract\", action: \"extract_data\", agent: \"data_extractor\" },\n    { id: \"validate_raw\", action: \"validate_data\", agent: \"validator\", depends_on: [\"extract\"] },\n    { id: \"transform\", action: \"transform_data\", agent: \"transformer\", depends_on: [\"validate_raw\"] },\n    { id: \"enrich\", action: \"enrich_data\", agent: \"enricher\", depends_on: [\"transform\"] },\n    { id: \"load\", action: \"load_data\", agent: \"loader\", depends_on: [\"enrich\"] },\n    { id: \"validate_final\", action: \"validate_data\", agent: \"validator\", depends_on: [\"load\"] }\n  ],\n  triggers: [\"schedule:0 2 * * *\"], \u002F\u002F Daily at 2 AM\n  metadata: {\n    retry_policy: \"exponential_backoff\",\n    max_retries: 3\n  }\n})\n```\n\n## Templates & Patterns\n\n### Use Pre-built Templates\n\n```javascript\n\u002F\u002F Create swarm from template\nmcp__flow-nexus__swarm_create_from_template({\n  template_name: \"full-stack-dev\",\n  overrides: {\n    maxAgents: 6,\n    strategy: \"specialized\"\n  }\n})\n\n\u002F\u002F List available templates\nmcp__flow-nexus__swarm_templates_list({\n  category: \"quickstart\", \u002F\u002F Options: quickstart, specialized, enterprise, custom, all\n  includeStore: true\n})\n```\n\n**Available Template Categories:**\n\n**Quickstart Templates:**\n- `full-stack-dev`: Complete web development swarm\n- `research-team`: Research and analysis swarm\n- `code-review`: Automated code review swarm\n- `data-pipeline`: ETL and data processing\n\n**Specialized Templates:**\n- `ml-development`: Machine learning project swarm\n- `mobile-dev`: Mobile app development\n- `devops-automation`: Infrastructure and deployment\n- `security-audit`: Security analysis and testing\n\n**Enterprise Templates:**\n- `enterprise-migration`: Large-scale system migration\n- `multi-repo-sync`: Multi-repository coordination\n- `compliance-review`: Regulatory compliance workflows\n- `incident-response`: Automated incident management\n\n### Custom Template Creation\n\nSave successful swarm configurations as reusable templates for future projects.\n\n## Advanced Features\n\n### Real-time Monitoring\n\n```javascript\n\u002F\u002F Subscribe to execution streams\nmcp__flow-nexus__execution_stream_subscribe({\n  stream_type: \"claude-flow-swarm\",\n  deployment_id: \"deployment_id\"\n})\n\n\u002F\u002F Get execution status\nmcp__flow-nexus__execution_stream_status({\n  stream_id: \"stream_id\"\n})\n\n\u002F\u002F List files created during execution\nmcp__flow-nexus__execution_files_list({\n  stream_id: \"stream_id\",\n  created_by: \"claude-flow\"\n})\n```\n\n### Swarm Metrics & Analytics\n\n```javascript\n\u002F\u002F Get swarm performance metrics\nmcp__flow-nexus__swarm_status({\n  swarm_id: \"id\"\n})\n\n\u002F\u002F Analyze workflow efficiency\nmcp__flow-nexus__workflow_status({\n  workflow_id: \"id\",\n  include_metrics: true\n})\n```\n\n### Multi-Swarm Coordination\n\nCoordinate multiple swarms for complex, multi-phase projects:\n\n```javascript\n\u002F\u002F Phase 1: Research swarm\nconst researchSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"mesh\",\n  maxAgents: 4\n})\n\n\u002F\u002F Phase 2: Development swarm\nconst devSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\",\n  maxAgents: 8\n})\n\n\u002F\u002F Phase 3: Testing swarm\nconst testSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"star\",\n  maxAgents: 5\n})\n```\n\n## Best Practices\n\n### 1. Choose the Right Topology\n\n```javascript\n\u002F\u002F Simple projects: Star\nmcp__flow-nexus__swarm_init({ topology: \"star\", maxAgents: 3 })\n\n\u002F\u002F Collaborative work: Mesh\nmcp__flow-nexus__swarm_init({ topology: \"mesh\", maxAgents: 5 })\n\n\u002F\u002F Complex projects: Hierarchical\nmcp__flow-nexus__swarm_init({ topology: \"hierarchical\", maxAgents: 10 })\n\n\u002F\u002F Sequential workflows: Ring\nmcp__flow-nexus__swarm_init({ topology: \"ring\", maxAgents: 4 })\n```\n\n### 2. Optimize Agent Assignment\n\n```javascript\n\u002F\u002F Use vector similarity for optimal matching\nmcp__flow-nexus__workflow_agent_assign({\n  task_id: \"complex-task\",\n  use_vector_similarity: true\n})\n```\n\n### 3. Implement Proper Error Handling\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"Resilient Workflow\",\n  steps: [...],\n  metadata: {\n    retry_policy: \"exponential_backoff\",\n    max_retries: 3,\n    timeout: 300000, \u002F\u002F 5 minutes\n    on_failure: \"notify_and_rollback\"\n  }\n})\n```\n\n### 4. Monitor and Scale\n\n```javascript\n\u002F\u002F Regular monitoring\nconst status = await mcp__flow-nexus__swarm_status()\n\n\u002F\u002F Scale based on workload\nif (status.workload > 0.8) {\n  await mcp__flow-nexus__swarm_scale({ target_agents: status.agents + 2 })\n}\n```\n\n### 5. Use Async Execution for Long-Running Workflows\n\n```javascript\n\u002F\u002F Long-running workflows should use message queues\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"data-pipeline\",\n  async: true \u002F\u002F Non-blocking execution\n})\n\n\u002F\u002F Monitor progress\nmcp__flow-nexus__workflow_queue_status({ include_messages: true })\n```\n\n### 6. Clean Up Resources\n\n```javascript\n\u002F\u002F Destroy swarm when complete\nmcp__flow-nexus__swarm_destroy({ swarm_id: \"id\" })\n```\n\n### 7. Leverage Templates\n\n```javascript\n\u002F\u002F Use proven templates instead of building from scratch\nmcp__flow-nexus__swarm_create_from_template({\n  template_name: \"code-review\",\n  overrides: { maxAgents: 4 }\n})\n```\n\n## Integration with Claude Flow\n\nFlow Nexus swarms integrate seamlessly with Claude Flow hooks:\n\n```bash\n# Pre-task coordination setup\nnpx claude-flow@alpha hooks pre-task --description \"Initialize swarm\"\n\n# Post-task metrics export\nnpx claude-flow@alpha hooks post-task --task-id \"swarm-execution\"\n```\n\n## Common Use Cases\n\n### 1. Multi-Repo Development\n- Coordinate development across multiple repositories\n- Synchronized testing and deployment\n- Cross-repo dependency management\n\n### 2. Research Projects\n- Distributed information gathering\n- Parallel analysis of different data sources\n- Collaborative synthesis and reporting\n\n### 3. DevOps Automation\n- Infrastructure as Code deployment\n- Multi-environment testing\n- Automated rollback and recovery\n\n### 4. Code Quality Workflows\n- Automated code review\n- Security scanning\n- Performance benchmarking\n\n### 5. Data Processing\n- Large-scale ETL pipelines\n- Real-time data transformation\n- Data validation and quality checks\n\n## Authentication & Setup\n\n```bash\n# Install Flow Nexus\nnpm install -g flow-nexus@latest\n\n# Register account\nnpx flow-nexus@latest register\n\n# Login\nnpx flow-nexus@latest login\n\n# Add MCP server to Claude Code\nclaude mcp add flow-nexus npx flow-nexus@latest mcp start\n```\n\n## Support & Resources\n\n- **Platform**: https:\u002F\u002Fflow-nexus.ruv.io\n- **Documentation**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fflow-nexus\n- **Issues**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fflow-nexus\u002Fissues\n\n---\n\n**Remember**: Flow Nexus provides cloud-based orchestration infrastructure. For local execution and coordination, use the core `claude-flow` MCP server alongside Flow Nexus for maximum flexibility.\n","# Flow Nexus Swarm & Workflow Orchestration\n\nDeploy and manage cloud-based AI agent swarms with event-driven workflow automation, message queue processing, and intelligent agent coordination.\n\n## 📋 Table of Contents\n\n1. [Overview](#overview)\n2. [Swarm Management](#swarm-management)\n3. [Workflow Automation](#workflow-automation)\n4. [Agent Orchestration](#agent-orchestration)\n5. [Templates & Patterns](#templates--patterns)\n6. [Advanced Features](#advanced-features)\n7. [Best Practices](#best-practices)\n\n## Overview\n\nFlow Nexus provides cloud-based orchestration for AI agent swarms with:\n\n- **Multi-topology Support**: Hierarchical, mesh, ring, and star architectures\n- **Event-driven Workflows**: Message queue processing with async execution\n- **Template Library**: Pre-built swarm configurations for common use cases\n- **Intelligent Agent Assignment**: Vector similarity matching for optimal agent selection\n- **Real-time Monitoring**: Comprehensive metrics and audit trails\n- **Scalable Infrastructure**: Cloud-based execution with auto-scaling\n\n## Swarm Management\n\n### Initialize Swarm\n\nCreate a new swarm with specified topology and configuration:\n\n```javascript\nmcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\", \u002F\u002F Options: mesh, ring, star, hierarchical\n  maxAgents: 8,\n  strategy: \"balanced\" \u002F\u002F Options: balanced, specialized, adaptive\n})\n```\n\n**Topology Guide:**\n- **Hierarchical**: Tree structure with coordinator nodes (best for complex projects)\n- **Mesh**: Peer-to-peer collaboration (best for research and analysis)\n- **Ring**: Circular coordination (best for sequential workflows)\n- **Star**: Centralized hub (best for simple delegation)\n\n**Strategy Guide:**\n- **Balanced**: Equal distribution of workload across agents\n- **Specialized**: Agents focus on specific expertise areas\n- **Adaptive**: Dynamic adjustment based on task complexity\n\n### Spawn Agents\n\nAdd specialized agents to the swarm:\n\n```javascript\nmcp__flow-nexus__agent_spawn({\n  type: \"researcher\", \u002F\u002F Options: researcher, coder, analyst, optimizer, coordinator\n  name: \"Lead Researcher\",\n  capabilities: [\"web_search\", \"analysis\", \"summarization\"]\n})\n```\n\n**Agent Types:**\n- **Researcher**: Information gathering, web search, analysis\n- **Coder**: Code generation, refactoring, implementation\n- **Analyst**: Data analysis, pattern recognition, insights\n- **Optimizer**: Performance tuning, resource optimization\n- **Coordinator**: Task delegation, progress tracking, integration\n\n### Orchestrate Tasks\n\nDistribute tasks across the swarm:\n\n```javascript\nmcp__flow-nexus__task_orchestrate({\n  task: \"Build a REST API with authentication and database integration\",\n  strategy: \"parallel\", \u002F\u002F Options: parallel, sequential, adaptive\n  maxAgents: 5,\n  priority: \"high\" \u002F\u002F Options: low, medium, high, critical\n})\n```\n\n**Execution Strategies:**\n- **Parallel**: Maximum concurrency for independent subtasks\n- **Sequential**: Step-by-step execution with dependencies\n- **Adaptive**: AI-powered strategy selection based on task analysis\n\n### Monitor & Scale Swarms\n\n```javascript\n\u002F\u002F Get detailed swarm status\nmcp__flow-nexus__swarm_status({\n  swarm_id: \"optional-id\" \u002F\u002F Uses active swarm if not provided\n})\n\n\u002F\u002F List all active swarms\nmcp__flow-nexus__swarm_list({\n  status: \"active\" \u002F\u002F Options: active, destroyed, all\n})\n\n\u002F\u002F Scale swarm up or down\nmcp__flow-nexus__swarm_scale({\n  target_agents: 10,\n  swarm_id: \"optional-id\"\n})\n\n\u002F\u002F Gracefully destroy swarm\nmcp__flow-nexus__swarm_destroy({\n  swarm_id: \"optional-id\"\n})\n```\n\n## Workflow Automation\n\n### Create Workflow\n\nDefine event-driven workflows with message queue processing:\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"CI\u002FCD Pipeline\",\n  description: \"Automated testing, building, and deployment\",\n  steps: [\n    {\n      id: \"test\",\n      action: \"run_tests\",\n      agent: \"tester\",\n      parallel: true\n    },\n    {\n      id: \"build\",\n      action: \"build_app\",\n      agent: \"builder\",\n      depends_on: [\"test\"]\n    },\n    {\n      id: \"deploy\",\n      action: \"deploy_prod\",\n      agent: \"deployer\",\n      depends_on: [\"build\"]\n    }\n  ],\n  triggers: [\"push_to_main\", \"manual_trigger\"],\n  metadata: {\n    priority: 10,\n    retry_policy: \"exponential_backoff\"\n  }\n})\n```\n\n**Workflow Features:**\n- **Dependency Management**: Define step dependencies with `depends_on`\n- **Parallel Execution**: Set `parallel: true` for concurrent steps\n- **Event Triggers**: GitHub events, schedules, manual triggers\n- **Retry Policies**: Automatic retry on transient failures\n- **Priority Queuing**: High-priority workflows execute first\n\n### Execute Workflow\n\nRun workflows synchronously or asynchronously:\n\n```javascript\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"workflow_id\",\n  input_data: {\n    branch: \"main\",\n    commit: \"abc123\",\n    environment: \"production\"\n  },\n  async: true \u002F\u002F Queue-based execution for long-running workflows\n})\n```\n\n**Execution Modes:**\n- **Sync (async: false)**: Immediate execution, wait for completion\n- **Async (async: true)**: Message queue processing, non-blocking\n\n### Monitor Workflows\n\n```javascript\n\u002F\u002F Get workflow status and metrics\nmcp__flow-nexus__workflow_status({\n  workflow_id: \"id\",\n  execution_id: \"specific-run-id\", \u002F\u002F Optional\n  include_metrics: true\n})\n\n\u002F\u002F List workflows with filters\nmcp__flow-nexus__workflow_list({\n  status: \"running\", \u002F\u002F Options: running, completed, failed, pending\n  limit: 10,\n  offset: 0\n})\n\n\u002F\u002F Get complete audit trail\nmcp__flow-nexus__workflow_audit_trail({\n  workflow_id: \"id\",\n  limit: 50,\n  start_time: \"2025-01-01T00:00:00Z\"\n})\n```\n\n### Agent Assignment\n\nIntelligently assign agents to workflow tasks:\n\n```javascript\nmcp__flow-nexus__workflow_agent_assign({\n  task_id: \"task_id\",\n  agent_type: \"coder\", \u002F\u002F Preferred agent type\n  use_vector_similarity: true \u002F\u002F AI-powered capability matching\n})\n```\n\n**Vector Similarity Matching:**\n- Analyzes task requirements and agent capabilities\n- Finds optimal agent based on past performance\n- Considers workload and availability\n\n### Queue Management\n\nMonitor and manage message queues:\n\n```javascript\nmcp__flow-nexus__workflow_queue_status({\n  queue_name: \"optional-specific-queue\",\n  include_messages: true \u002F\u002F Show pending messages\n})\n```\n\n## Agent Orchestration\n\n### Full-Stack Development Pattern\n\n```javascript\n\u002F\u002F 1. Initialize swarm with hierarchical topology\nmcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\",\n  maxAgents: 8,\n  strategy: \"specialized\"\n})\n\n\u002F\u002F 2. Spawn specialized agents\nmcp__flow-nexus__agent_spawn({ type: \"coordinator\", name: \"Project Manager\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Backend Developer\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Frontend Developer\" })\nmcp__flow-nexus__agent_spawn({ type: \"coder\", name: \"Database Architect\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"QA Engineer\" })\n\n\u002F\u002F 3. Create development workflow\nmcp__flow-nexus__workflow_create({\n  name: \"Full-Stack Development\",\n  steps: [\n    { id: \"requirements\", action: \"analyze_requirements\", agent: \"coordinator\" },\n    { id: \"db_design\", action: \"design_schema\", agent: \"Database Architect\" },\n    { id: \"backend\", action: \"build_api\", agent: \"Backend Developer\", depends_on: [\"db_design\"] },\n    { id: \"frontend\", action: \"build_ui\", agent: \"Frontend Developer\", depends_on: [\"requirements\"] },\n    { id: \"integration\", action: \"integrate\", agent: \"Backend Developer\", depends_on: [\"backend\", \"frontend\"] },\n    { id: \"testing\", action: \"qa_testing\", agent: \"QA Engineer\", depends_on: [\"integration\"] }\n  ]\n})\n\n\u002F\u002F 4. Execute workflow\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"workflow_id\",\n  input_data: {\n    project: \"E-commerce Platform\",\n    tech_stack: [\"Node.js\", \"React\", \"PostgreSQL\"]\n  }\n})\n```\n\n### Research & Analysis Pattern\n\n```javascript\n\u002F\u002F 1. Initialize mesh topology for collaborative research\nmcp__flow-nexus__swarm_init({\n  topology: \"mesh\",\n  maxAgents: 5,\n  strategy: \"balanced\"\n})\n\n\u002F\u002F 2. Spawn research agents\nmcp__flow-nexus__agent_spawn({ type: \"researcher\", name: \"Primary Researcher\" })\nmcp__flow-nexus__agent_spawn({ type: \"researcher\", name: \"Secondary Researcher\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"Data Analyst\" })\nmcp__flow-nexus__agent_spawn({ type: \"analyst\", name: \"Insights Analyst\" })\n\n\u002F\u002F 3. Orchestrate research task\nmcp__flow-nexus__task_orchestrate({\n  task: \"Research machine learning trends for 2025 and analyze market opportunities\",\n  strategy: \"parallel\",\n  maxAgents: 4,\n  priority: \"high\"\n})\n```\n\n### CI\u002FCD Pipeline Pattern\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"Deployment Pipeline\",\n  description: \"Automated testing, building, and multi-environment deployment\",\n  steps: [\n    { id: \"lint\", action: \"lint_code\", agent: \"code_quality\", parallel: true },\n    { id: \"unit_test\", action: \"unit_tests\", agent: \"test_runner\", parallel: true },\n    { id: \"integration_test\", action: \"integration_tests\", agent: \"test_runner\", parallel: true },\n    { id: \"build\", action: \"build_artifacts\", agent: \"builder\", depends_on: [\"lint\", \"unit_test\", \"integration_test\"] },\n    { id: \"security_scan\", action: \"security_scan\", agent: \"security\", depends_on: [\"build\"] },\n    { id: \"deploy_staging\", action: \"deploy\", agent: \"deployer\", depends_on: [\"security_scan\"] },\n    { id: \"smoke_test\", action: \"smoke_tests\", agent: \"test_runner\", depends_on: [\"deploy_staging\"] },\n    { id: \"deploy_prod\", action: \"deploy\", agent: \"deployer\", depends_on: [\"smoke_test\"] }\n  ],\n  triggers: [\"github_push\", \"github_pr_merged\"],\n  metadata: {\n    priority: 10,\n    auto_rollback: true\n  }\n})\n```\n\n### Data Processing Pipeline Pattern\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"ETL Pipeline\",\n  description: \"Extract, Transform, Load data processing\",\n  steps: [\n    { id: \"extract\", action: \"extract_data\", agent: \"data_extractor\" },\n    { id: \"validate_raw\", action: \"validate_data\", agent: \"validator\", depends_on: [\"extract\"] },\n    { id: \"transform\", action: \"transform_data\", agent: \"transformer\", depends_on: [\"validate_raw\"] },\n    { id: \"enrich\", action: \"enrich_data\", agent: \"enricher\", depends_on: [\"transform\"] },\n    { id: \"load\", action: \"load_data\", agent: \"loader\", depends_on: [\"enrich\"] },\n    { id: \"validate_final\", action: \"validate_data\", agent: \"validator\", depends_on: [\"load\"] }\n  ],\n  triggers: [\"schedule:0 2 * * *\"], \u002F\u002F Daily at 2 AM\n  metadata: {\n    retry_policy: \"exponential_backoff\",\n    max_retries: 3\n  }\n})\n```\n\n## Templates & Patterns\n\n### Use Pre-built Templates\n\n```javascript\n\u002F\u002F Create swarm from template\nmcp__flow-nexus__swarm_create_from_template({\n  template_name: \"full-stack-dev\",\n  overrides: {\n    maxAgents: 6,\n    strategy: \"specialized\"\n  }\n})\n\n\u002F\u002F List available templates\nmcp__flow-nexus__swarm_templates_list({\n  category: \"quickstart\", \u002F\u002F Options: quickstart, specialized, enterprise, custom, all\n  includeStore: true\n})\n```\n\n**Available Template Categories:**\n\n**Quickstart Templates:**\n- `full-stack-dev`: Complete web development swarm\n- `research-team`: Research and analysis swarm\n- `code-review`: Automated code review swarm\n- `data-pipeline`: ETL and data processing\n\n**Specialized Templates:**\n- `ml-development`: Machine learning project swarm\n- `mobile-dev`: Mobile app development\n- `devops-automation`: Infrastructure and deployment\n- `security-audit`: Security analysis and testing\n\n**Enterprise Templates:**\n- `enterprise-migration`: Large-scale system migration\n- `multi-repo-sync`: Multi-repository coordination\n- `compliance-review`: Regulatory compliance workflows\n- `incident-response`: Automated incident management\n\n### Custom Template Creation\n\nSave successful swarm configurations as reusable templates for future projects.\n\n## Advanced Features\n\n### Real-time Monitoring\n\n```javascript\n\u002F\u002F Subscribe to execution streams\nmcp__flow-nexus__execution_stream_subscribe({\n  stream_type: \"claude-flow-swarm\",\n  deployment_id: \"deployment_id\"\n})\n\n\u002F\u002F Get execution status\nmcp__flow-nexus__execution_stream_status({\n  stream_id: \"stream_id\"\n})\n\n\u002F\u002F List files created during execution\nmcp__flow-nexus__execution_files_list({\n  stream_id: \"stream_id\",\n  created_by: \"claude-flow\"\n})\n```\n\n### Swarm Metrics & Analytics\n\n```javascript\n\u002F\u002F Get swarm performance metrics\nmcp__flow-nexus__swarm_status({\n  swarm_id: \"id\"\n})\n\n\u002F\u002F Analyze workflow efficiency\nmcp__flow-nexus__workflow_status({\n  workflow_id: \"id\",\n  include_metrics: true\n})\n```\n\n### Multi-Swarm Coordination\n\nCoordinate multiple swarms for complex, multi-phase projects:\n\n```javascript\n\u002F\u002F Phase 1: Research swarm\nconst researchSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"mesh\",\n  maxAgents: 4\n})\n\n\u002F\u002F Phase 2: Development swarm\nconst devSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"hierarchical\",\n  maxAgents: 8\n})\n\n\u002F\u002F Phase 3: Testing swarm\nconst testSwarm = await mcp__flow-nexus__swarm_init({\n  topology: \"star\",\n  maxAgents: 5\n})\n```\n\n## Best Practices\n\n### 1. Choose the Right Topology\n\n```javascript\n\u002F\u002F Simple projects: Star\nmcp__flow-nexus__swarm_init({ topology: \"star\", maxAgents: 3 })\n\n\u002F\u002F Collaborative work: Mesh\nmcp__flow-nexus__swarm_init({ topology: \"mesh\", maxAgents: 5 })\n\n\u002F\u002F Complex projects: Hierarchical\nmcp__flow-nexus__swarm_init({ topology: \"hierarchical\", maxAgents: 10 })\n\n\u002F\u002F Sequential workflows: Ring\nmcp__flow-nexus__swarm_init({ topology: \"ring\", maxAgents: 4 })\n```\n\n### 2. Optimize Agent Assignment\n\n```javascript\n\u002F\u002F Use vector similarity for optimal matching\nmcp__flow-nexus__workflow_agent_assign({\n  task_id: \"complex-task\",\n  use_vector_similarity: true\n})\n```\n\n### 3. Implement Proper Error Handling\n\n```javascript\nmcp__flow-nexus__workflow_create({\n  name: \"Resilient Workflow\",\n  steps: [...],\n  metadata: {\n    retry_policy: \"exponential_backoff\",\n    max_retries: 3,\n    timeout: 300000, \u002F\u002F 5 minutes\n    on_failure: \"notify_and_rollback\"\n  }\n})\n```\n\n### 4. Monitor and Scale\n\n```javascript\n\u002F\u002F Regular monitoring\nconst status = await mcp__flow-nexus__swarm_status()\n\n\u002F\u002F Scale based on workload\nif (status.workload > 0.8) {\n  await mcp__flow-nexus__swarm_scale({ target_agents: status.agents + 2 })\n}\n```\n\n### 5. Use Async Execution for Long-Running Workflows\n\n```javascript\n\u002F\u002F Long-running workflows should use message queues\nmcp__flow-nexus__workflow_execute({\n  workflow_id: \"data-pipeline\",\n  async: true \u002F\u002F Non-blocking execution\n})\n\n\u002F\u002F Monitor progress\nmcp__flow-nexus__workflow_queue_status({ include_messages: true })\n```\n\n### 6. Clean Up Resources\n\n```javascript\n\u002F\u002F Destroy swarm when complete\nmcp__flow-nexus__swarm_destroy({ swarm_id: \"id\" })\n```\n\n### 7. Leverage Templates\n\n```javascript\n\u002F\u002F Use proven templates instead of building from scratch\nmcp__flow-nexus__swarm_create_from_template({\n  template_name: \"code-review\",\n  overrides: { maxAgents: 4 }\n})\n```\n\n## Integration with Claude Flow\n\nFlow Nexus swarms integrate seamlessly with Claude Flow hooks:\n\n```bash\n# Pre-task coordination setup\nnpx claude-flow@alpha hooks pre-task --description \"Initialize swarm\"\n\n# Post-task metrics export\nnpx claude-flow@alpha hooks post-task --task-id \"swarm-execution\"\n```\n\n## Common Use Cases\n\n### 1. Multi-Repo Development\n- Coordinate development across multiple repositories\n- Synchronized testing and deployment\n- Cross-repo dependency management\n\n### 2. Research Projects\n- Distributed information gathering\n- Parallel analysis of different data sources\n- Collaborative synthesis and reporting\n\n### 3. DevOps Automation\n- Infrastructure as Code deployment\n- Multi-environment testing\n- Automated rollback and recovery\n\n### 4. Code Quality Workflows\n- Automated code review\n- Security scanning\n- Performance benchmarking\n\n### 5. Data Processing\n- Large-scale ETL pipelines\n- Real-time data transformation\n- Data validation and quality checks\n\n## Authentication & Setup\n\n```bash\n# Install Flow Nexus\nnpm install -g flow-nexus@latest\n\n# Register account\nnpx flow-nexus@latest register\n\n# Login\nnpx flow-nexus@latest login\n\n# Add MCP server to Claude Code\nclaude mcp add flow-nexus npx flow-nexus@latest mcp start\n```\n\n## Support & Resources\n\n- **Platform**: https:\u002F\u002Fflow-nexus.ruv.io\n- **Documentation**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fflow-nexus\n- **Issues**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fflow-nexus\u002Fissues\n\n---\n\n**Remember**: Flow Nexus provides cloud-based orchestration infrastructure. For local execution and coordination, use the core `claude-flow` MCP server alongside Flow Nexus for maximum flexibility.\n",{"name":5,"tags":24,"version":31,"category":32,"requires":33,"description":7},[25,26,27,28,29,30],"swarm","workflow","cloud","agents","automation","message-queue","1.0.0","orchestration",[34,35],"flow-nexus MCP server","Active Flow Nexus account (register at flow-nexus.ruv.io)","main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fagenticsorg__hackathon-tv5__.claude__skills__flow-nexus-swarm","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add shenyimings\u002Fskillet --skill flow-nexus-swarm",{"tool":50,"command":51},"bunx","bunx skills add shenyimings\u002Fskillet --skill flow-nexus-swarm",{"tool":53,"command":54},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill flow-nexus-swarm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fagenticsorg__hackathon-tv5__.claude__skills__flow-nexus-swarm\u002FSKILL.md",true,[],[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]