Optimization swarm strategy — performance profiling, bottleneck detection, and coordinated optimization through specialized mesh agents
Scanned 9/10/2026
Install to Claude Code
npx -y skills add monoes/monomind --skill source-command-monoswarm-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Source Command Monoswarm Optimization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/monoes-source-command-monoswarm-optimization)More formats (shields.io, HTML) on the badges page.
---
name: "source-command-monoswarm-optimization"
description: "Optimization swarm strategy — performance profiling, bottleneck detection, and coordinated optimization through specialized mesh agents"
---
# source-command-monoswarm-optimization
Use this skill when the user asks to run the migrated source command `monoswarm-optimization`.
## Command Template
# Optimization Swarm Strategy
Performance optimization through specialized analysis agents.
## How to Invoke
```
Skill("swarm:optimization")
```
Then describe the optimization target:
> "Start an optimization swarm to improve API response times."
> "Run an optimization swarm on the memory usage in the agent system."
---
## Swarm Setup
```javascript
// Initialize optimization swarm
mcp__monomind__swarm_init({
topology: "mesh",
maxAgents: 6,
strategy: "adaptive"
})
// Coordinate optimization
mcp__monomind__coordination_orchestrate({
task: "optimize performance",
strategy: "parallel"
})
```
```bash
# CLI equivalent
npx monomind swarm init --topology mesh --max-agents 6
npx monomind swarm start "optimize performance" --strategy optimization --parallel
```
## Agent Roles
```javascript
mcp__monomind__agent_spawn({ type: "optimizer", capabilities: ["profiling", "bottleneck-detection"] })
mcp__monomind__agent_spawn({ type: "analyst", capabilities: ["memory-analysis", "leak-detection"] })
mcp__monomind__agent_spawn({ type: "optimizer", capabilities: ["code-optimization", "refactoring"] })
mcp__monomind__agent_spawn({ type: "tester", capabilities: ["benchmarking", "performance-testing"] })
```
## Performance Analysis
```javascript
// Profile performance
mcp__monomind__performance_profile({ target: "api", metrics: ["cpu", "memory", "latency"] })
// Find bottlenecks
mcp__monomind__performance_bottleneck({ component: "all" })
// Performance report
mcp__monomind__performance_report({ format: "detailed", timeframe: "7d" })
// Benchmark results
mcp__monomind__performance_benchmark({ suite: "performance" })
```
## Load Balancing
```javascript
// Balance work across optimization agents
mcp__monomind__coordination_load_balance({
tasks: ["profile", "analyze", "optimize", "benchmark"]
})
```
## Monitoring
```javascript
mcp__monomind__swarm_status({ swarmId: "current" })
mcp__monomind__system_metrics({})
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!