agentleFS
ayushcodes10ayushcodes10/echo-mem/.agents/skills/source-command-claude-flow-swarm/SKILL.md

source-command-claude-flow-swarm

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Coordinate multi-agent swarms for complex tasks

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the user asks to run the migrated source command claude-flow-swarm.

    line 8

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

source-command-claude-flow-swarm

Use this skill when the user asks to run the migrated source command claude-flow-swarm.

Command Template

🐝 Codex-Flow Swarm Coordination

Advanced multi-agent coordination system with timeout-free execution, distributed memory sharing, and intelligent load balancing.

Basic Usage

./Codex-flow swarm "your complex task" --strategy <type> [options]

🎯 Swarm Strategies

  • auto - Automatic strategy selection based on task analysis
  • development - Code implementation with review and testing
  • research - Information gathering and synthesis
  • analysis - Data processing and pattern identification
  • testing - Comprehensive quality assurance
  • optimization - Performance tuning and refactoring
  • maintenance - System updates and bug fixes

🤖 Agent Types

  • coordinator - Plans and delegates tasks to other agents
  • developer - Writes code and implements solutions
  • researcher - Gathers and analyzes information
  • analyzer - Identifies patterns and generates insights
  • tester - Creates and runs tests for quality assurance
  • reviewer - Performs code and design reviews
  • documenter - Creates documentation and guides
  • monitor - Tracks performance and system health
  • specialist - Domain-specific expert agents

🔄 Coordination Modes

  • centralized - Single coordinator manages all agents (default)
  • distributed - Multiple coordinators share management
  • hierarchical - Tree structure with nested coordination
  • mesh - Peer-to-peer agent collaboration
  • hybrid - Mixed coordination strategies

⚙️ Common Options

  • --strategy <type> - Execution strategy
  • --mode <type> - Coordination mode
  • --max-agents <n> - Maximum concurrent agents (default: 5)
  • --timeout <minutes> - Timeout in minutes (default: 60)
  • --background - Run in background for tasks > 30 minutes
  • --monitor - Enable real-time monitoring
  • --ui - Launch terminal UI interface
  • --parallel - Enable parallel execution
  • --distributed - Enable distributed coordination
  • --review - Enable peer review process
  • --testing - Include automated testing
  • --encryption - Enable data encryption
  • --verbose - Detailed logging output
  • --dry-run - Show configuration without executing

🌟 Examples

Development Swarm with Review

./Codex-flow swarm "Build e-commerce REST API" \
  --strategy development \
  --monitor \
  --review \
  --testing

Long-Running Research Swarm

./Codex-flow swarm "Analyze AI market trends 2024-2025" \
  --strategy research \
  --background \
  --distributed \
  --max-agents 8

Performance Optimization Swarm

./Codex-flow swarm "Optimize database queries and API performance" \
  --strategy optimization \
  --testing \
  --parallel \
  --monitor

Enterprise Development Swarm

./Codex-flow swarm "Implement secure payment processing system" \
  --strategy development \
  --mode distributed \
  --max-agents 10 \
  --parallel \
  --monitor \
  --review \
  --testing \
  --encryption \
  --verbose

Testing and QA Swarm

./Codex-flow swarm "Comprehensive security audit and testing" \
  --strategy testing \
  --review \
  --verbose \
  --max-agents 6

📊 Monitoring and Control

Real-time monitoring:

# Monitor swarm activity
./Codex-flow monitor

# Monitor specific component
./Codex-flow monitor --focus swarm

Check swarm status:

# Overall system status
./Codex-flow status

# Detailed swarm status
./Codex-flow status --verbose

View agent activity:

# List all agents
./Codex-flow agent list

# Agent details
./Codex-flow agent info <agent-id>

💾 Memory Integration

Swarms automatically use distributed memory for collaboration:

# Store swarm objectives
./Codex-flow memory store "swarm_objective" "Build scalable API" --namespace swarm

# Query swarm progress
./Codex-flow memory query "swarm_progress" --namespace swarm

# Export swarm memory
./Codex-flow memory export swarm-results.json --namespace swarm

🎯 Key Features

Timeout-Free Execution

  • Background mode for long-running tasks
  • State persistence across sessions
  • Automatic checkpoint recovery

Work Stealing & Load Balancing

  • Dynamic task redistribution
  • Automatic agent scaling
  • Resource-aware scheduling

Circuit Breakers & Fault Tolerance

  • Automatic retry with exponential backoff
  • Graceful degradation
  • Health monitoring and recovery

Real-Time Collaboration

  • Cross-agent communication
  • Shared memory access
  • Event-driven coordination

Enterprise Security

  • Role-based access control
  • Audit logging
  • Data encryption
  • Input validation

🔧 Advanced Configuration

Dry run to preview:

./Codex-flow swarm "Test task" --dry-run --strategy development

Custom quality thresholds:

./Codex-flow swarm "High quality API" \
  --strategy development \
  --quality-threshold 0.95

Scheduling algorithms:

  • FIFO (First In, First Out)
  • Priority-based
  • Deadline-driven
  • Shortest Job First
  • Critical Path
  • Resource-aware
  • Adaptive

For detailed documentation, see: https://github.com/ruvnet/Codex-flow/docs/swarm-system.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.