Skip to content
Back to skills

Agent Swarm

ASecurity

Orchestrate specialized coding agents in isolated worktrees for parallel development tasks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentsgobashgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add Yesterday-AI/skills --skill agent-swarm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Swarm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Swarm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yesterday-ai-agent-swarm/badge)](https://www.skillsdirectory.com/skills/yesterday-ai-agent-swarm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-swarm
description: Orchestrate specialized coding agents in isolated worktrees for parallel development tasks.
metadata:
  category: platform
---

# Agent Swarm Orchestration 🐝

> **Orchestrate specialized coding agents in isolated worktrees.**
> Based on [Elvis Sun's architecture](https://x.com/elvissun/status/2025920521871716562).

## Concept

- **Orchestrator (You):** Holds business context, decisions, memory. Spawns agents.
- **Workers (Agents):** Hold codebase context only. Run in isolated `git worktrees`.
- **Loop:** Monitoring script checks PRs, CI, and agent health.

## Usage

### 1. Spawn an Agent

```bash
# Creates a worktree and prepares the task context
./skills/agent-swarm/scripts/spawn-agent.sh <task-name> <branch-name> "<prompt>"
```

### 2. Monitor Progress

```bash
# Checks all active agents and reports status
./skills/agent-swarm/scripts/monitor-agents.sh
```

## Structure

Each agent gets:
1. **Isolated Git Worktree:** `../worktrees/<feature-branch>`
2. **Task Context:** A dedicated prompt file.
3. **Session:** A tracked session (TMux or OpenClaw Sub-Agent).

## Rules 🛡️

1. **CONTEXT_SEPARATION:** Orchestrator knows *why* (Business). Worker knows *how* (Code). Do not overload workers with business docs.
2. **DEFINITION_OF_DONE:** PR created + CI passed + Self-Review done.
3. **FAIL_FAST:** If an agent is stuck, kill it and respawn with better context (don't loop).

---

*Adapted for OpenClaw by ManniTheRaccoon.* 🦝

Files in this skill

  • SKILL.md1.5 KB
  • scripts/monitor-agents.sh1.5 KB
  • scripts/spawn-agent.sh1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.