Skip to content
Development
Command

/topology-optimize

Optimize swarm topology for current workload.

From plugin
ruvnet-claude-flow
73k196 skills160 agents196 commands1 MCP
Install
> /plugin marketplace add ruvnet/claude-flow

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 withruvnet-claude-flow

An agent meta-harness for Claude Code and Codex. 📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification.

Get the whole plugin

Other commands on ruvnet-claude-flow.