legion

Select optimal multi-agent topology from task structure for swarm orchestration.

67|10|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/GadaaLabs/claude-code-on-steroids --skill legion-gadaalabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legion
Source: https://github.com/GadaaLabs/claude-code-on-steroids/tree/main/skills/legion
Command: npx skills add https://github.com/GadaaLabs/claude-code-on-steroids --skill legion-gadaalabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LEGION automates selecting the optimal multi-agent topology for a task to maximize coordinated execution and parallelism.

Core Features & Use Cases

  • Topology-aware coordination: choose among Hierarchical, Mesh, Ring, and Star based on task structure to balance parallelism and control.
  • Pattern-driven orchestration: loads and applies topology templates and prompts from the included pattern files to guide swarm behavior.
  • Flexible task planning: complements exploratory or development workflows by adapting topology to the problem at hand.

Quick Start

Provide a task description and desired coordination goals to Legion, and it will select the appropriate topology and orchestrate the swarm accordingly.

Frequently Asked Questions about legion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is multi-agent swarm topology and how does it coordinate AI agents?

Multi-agent swarm topology defines the communication structure between AI agents. Legion automates selecting the optimal topology—Hierarchical, Mesh, Ring, or Star—based on task structure to maximize coordinated execution and parallelism.

How do I choose the right multi-agent topology for parallel feature development?

To choose a multi-agent topology for parallel feature development, provide a task description and coordination goals. Legion evaluates the task structure and selects from four topology templates to balance parallelism and control automatically.

When should I use mesh topology instead of hierarchical topology for AI agent coordination?

Mesh topology suits AI agent coordination tasks requiring peer-to-peer interaction, while hierarchical topology fits centralized control. Legion analyzes the task structure and applies topology mapping to select the most efficient pattern for guided swarm orchestration.

Does this multi-agent orchestration tool require existing pattern files to work?

No, existing pattern files are not strictly required. Legion implements its own four topology templates and integrates with existing pattern files when available to provide guided prompts and further direct swarm behavior.

Can I adapt swarm topology dynamically during exploratory task workflows?

Yes, swarm topology can adapt during exploratory workflows. Legion complements flexible task planning by evaluating the evolving problem structure and applying the appropriate topology template to maximize coordination outcomes.

Why use topology-aware orchestration instead of a single AI agent for plan execution?

Topology-aware orchestration outperforms a single AI agent by distributing plan execution across subagents. Legion applies optimal swarm topology to increase parallelism and coordination, adapting the pattern to the specific task structure for better efficiency.