# Coordinate Advanced AI Swarms

Complex multi-agent workflows can stall when topology, roles, and metrics are unclear. This skill gives structured Claude Flow steps for adaptive swarm coordination.

## Install

```bash
npx skillstore add dnyoussef/when-using-advanced-swarm-use-swarm-advanced
```

## Metadata

- Status: approved
- Slug: dnyoussef-when-using-advanced-swarm-use-swarm-advanced
- Version: 1.0.0
- Author version: 1.0.0
- Skillstore revision: r1
- Version status: valid
- Tree hash: 439cff5b40c6b6904fa606441c3da04c74eb11465f72812341b663f37ee0bd82
- Author: DNYoussef
- GitHub username: DNYoussef
- License: MIT
- Repository: https://github.com/DNYoussef/ai-chrome-extension/tree/main/.claude/skills/workflow/when-using-advanced-swarm-use-swarm-advanced
- Ref: c579efd02184f1128d6741d16e6c8d951d7d4208
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 50
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/dnyoussef-when-using-advanced-swarm-use-swarm-advanced
- Manifest: https://skillstore.pages.dev/api/skills/dnyoussef-when-using-advanced-swarm-use-swarm-advanced/manifest

## Capabilities

- Guides initialization for hierarchical, mesh, and adaptive Claude Flow swarms.
- Shows CLI and MCP patterns for spawning coordinators and agents.
- Explains topology selection for delegation, peer work, pipelines, and variable workloads.
- Defines monitoring, metrics export, bottleneck analysis, and report generation steps.
- Describes dynamic reconfiguration, scaling, rebalancing, and neural training workflows.
- Includes validation checklists, success metrics, and troubleshooting guidance.

## Use Cases

- Plan a multi-agent build workflow: Select a topology, define coordinator roles, and create validation checks before running agents.
- Tune swarm performance: Collect baseline metrics, identify bottlenecks, and choose rebalancing or topology changes.
- Document coordination patterns: Turn swarm setup, monitoring, and optimization steps into a repeatable operating procedure.

## Prompt Templates

### Initialize a basic swarm

```
Use this skill to initialize a hierarchical Claude Flow swarm for a coding project. Give me the setup steps and validation checks.
```

### Choose the right topology

```
Use this skill to choose between hierarchical, mesh, star, ring, and adaptive topologies for my task. Explain the tradeoffs.
```

### Diagnose a slow swarm

```
Use this skill to monitor a running swarm, identify bottlenecks, and propose safe topology changes before execution.
```

### Design adaptive optimization

```
Use this skill to design an adaptive swarm optimization plan with metrics, rollback checks, and explicit command approval gates.
```

## Limitations

- Requires Claude Flow to be installed and configured before use.
- Uses alpha package examples, so users should pin and review versions.
- Does not prove that claimed performance gains are real in every environment.
- Does not replace production monitoring, access control, or release governance.

## Best Practices

- Pin Claude Flow versions and review commands before execution.
- Start with a simple topology, then measure before changing it.
- Record baseline metrics before scaling, rebalancing, or training.

## Anti Patterns

- Running mutable alpha package commands without approval or review.
- Changing topology during active work without draining tasks first.
- Assuming performance improved without comparing baseline and current metrics.

## Security Audit

- Audited at: 2026-07-05T14:18:24.218\+00:00
- Summary: The audit confirmed that the skill depends on external CLI execution through \`npx claude-flow@alpha\`, including workflow scripts that can change local swarm state. Many static findings are false positives caused by Markdown fences, MCP examples, documentation links, and internal agent identifiers. No prompt injection or data exfiltration intent was found.

## Stats

- Views: 326
- Downloads: 6
- Favorites: 0
- Popularity score: 0
