Agent skill · AI & Agents

swarm-optimization-patterns

Multi-agent coordination, critical path method, dependency DAG, and agent allocation optimization

vibeeval521★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill swarm-optimization-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/swarm-optimization-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Critical Path Method (CPM)
  2. Dependency DAG Construction
  3. Agent Allocation Strategy
  4. Bottleneck Detection
  5. Parallel Execution Rules
  6. Phase Transition Criteria
  7. Amdahl's Law
  8. Checklist
  9. Anti-Patterns
More from vibecosystem
All skills →
About this skill
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.

Keep going