swarm-optimization-patterns
Multi-agent coordination, critical path method, dependency DAG, and agent allocation optimization
Profile →npx skills add vibeeval/vibecosystem --skill swarm-optimization-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Swarm Optimization Patterns ## Critical Path Method (CPM) ``` Task A (3min) ─┐ ├── Task D (5min) ── Task F (2min) Task B (2min) ─┘ │ └── Task E (3min) ── Task G (1min) Task C (4min) ─────────────────────────────── Task H (2min) Critical Path: C → H = 6min (longest path) Zero-slack: C, H (gecikme tüm timeline'ı etkiler) ``` ## Dependency DAG Construction ```typescript interface TaskNode { id: string agent: string estimatedMinutes: number dependencies: string[] // task IDs priority: 'critical' | 'high' | 'medium' | 'low' } // Topological sort ile execution order function buildExecutionPlan(tasks: TaskNode[]): TaskNode[][] { const layers: TaskNode[][] = [] const completed = new Set<string>() while (completed.size < tasks.length) { const ready = tasks.filter(t => !completed.has(t.id) && t.dependencies.every(d => completed.has(d)) ) layers.push(ready) // Bu layer paralel çalışabilir ready.forEach(t => completed.add(t.id)) } return layers } ``` ## Agent Allocation Strategy | Strateji | Ne Zaman | Nasıl | |----------|----------|-------| | Specialization | Uzman agent var | Task → matching agent | | Load Balancing | Eşit workload | Round-robin + capacity | | Priority-Based | Critical pat
- Critical Path Method (CPM)
- Dependency DAG Construction
- Agent Allocation Strategy
- Bottleneck Detection
- Parallel Execution Rules
- Phase Transition Criteria
- Amdahl's Law
- Checklist
- Anti-Patterns
What does the swarm-optimization-patterns skill do?
Multi-agent coordination, critical path method, dependency DAG, and agent allocation optimization
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill swarm-optimization-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.