Skip to content
Development
Command

/topology-optimize

Optimize swarm topology for current workload.

From plugin
claude-flow
67k194 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/ruflo

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/topology-optimize

Context preview

What this command does when you run it.

Optimize swarm topology for current workload.

Command definition

topology-optimize.md

topology-optimize

Optimize swarm topology for current workload.

Usage

npx claude-flow optimization topology-optimize [options]

Options

  • `--analyze-first` - Analyze before optimizing
  • `--target <metric>` - Optimization target
  • `--apply` - Apply optimizations

Examples

# Analyze and suggest
npx claude-flow optimization topology-optimize --analyze-first

# Optimize for speed
npx claude-flow optimization topology-optimize --target speed

# Apply changes
npx claude-flow optimization topology-optimize --target efficiency --apply
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin