naman10parikh/agentswarm/run-swarm

Claude Code and agent skill by naman10parikh/agentswarm

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy a validated agentswarm `swarm.yaml` and run the CEO monitoring loop to completion. Use when the user has a config and wants to "deploy the swarm", "spin up the panes and watch them", "kick off the CEO loop", or "run it and tell me when it's done". Covers the full deploy → monitor → status → completion lifecycle, including pre-validating an untrusted config in an E2B sandbox first.

Install

npx vskill@latest install naman10parikh/agentswarm/run-swarm

SKILL.md

The same SKILL.md was published earlier as naman10parikh/agentswarm/run-swarm.

run-swarm — Deploy a config and run the CEO loop to completion

author-swarm produces the swarm.yaml; debug-swarm fixes one that is stuck. This skill is the step between them: take a validated config, deploy the CEO + VP panes, and run the monitoring loop until every VP reports done (or max_runtime fires). It is agentswarm's actual run-time job — deploy, poll, sequence depends_on, flag idle, write status.

Trigger

Invoke when the user has a config in hand and wants it running: "deploy content-swarm.yaml", "run it and watch the panes", "kick off the CEO", or "is the swarm done yet?".

Steps

  1. Validate first — every time. agentswarm validate <config> (or the MCP validate_swarm

tool). Never deploy an unvalidated file: a duplicate role or a depends_on pointing at an undefined role aborts mid-deploy and leaves a half-spawned tmux session. Fix every error before going further.

  1. For an UNTRUSTED config, validate in isolation. If the swarm.yaml came from outside

(a teammate, a generated artifact, the internet), run agentswarm sandbox-run <config> first. It boots an E2B microVM, ships the config + validator into it, and validates the file inside the sandbox — so the host never parses/executes untrusted prompt text directly. Requires E2B_API_KEY in .env.

  1. Dry-run to see the deployment plan. agentswarm run --dry <config> prints the CEO + VP

layout, model tiers, and dependency edges WITHOUT touching tmux. Confirm the plan matches intent (right panes, right deps, right models) before spawning anything.

  1. Deploy for real. agentswarm run <config> creates the tmux session, splits one pane per

VP, deploys dependency-free VPs immediately (and holds depends_on VPs as pending), then enters the monitoring loop. Attach to watch live: tmux attach -t <session>.

  1. Monitor progress without attaching. From another shell: agentswarm status <session>

for the per-VP RUNNING/IDLE/DONE summary, or read the machine-readable /tmp/agentswarm-<session>-status.json (the programmatic public API). From another agent, the MCP tool swarm_status (argument session) returns the same file as JSON. The CEO marks a VP done only on the exact {Role}: DONE string and deploys a pending VP only once all its deps are done.

  1. Watch for the two stall modes. A pane flagged IDLE (no output past idle_timeout) or

a pending VP that never deploys means something upstream is stuck → switch to the debug-swarm skill and walk its failure tree. Do not lower idle_timeout to mask a stall.

  1. Confirm completion + review the audit trail. The loop prints All VPs complete! and

sets allDone: true in the status JSON when every VP is done. Afterwards, agentswarm log shows the run-log audit trail (each invocation: command + duration + ok/error) so you can confirm the deploy ran clean and how long it took.

Quick command sequence

bash
agentswarm validate swarm.yaml # 1. schema-check (always)
agentswarm sandbox-run swarm.yaml # 2. isolate-validate IF untrusted (needs E2B_API_KEY)
agentswarm run --dry swarm.yaml # 3. preview the deployment plan
agentswarm run swarm.yaml # 4. deploy + start the CEO monitoring loop
agentswarm status <session> # 5. check progress from another shell
agentswarm log --limit 20 # 7. review the run-log audit trail

Output

A deployed, monitored swarm plus the verification you ran, e.g.:

validate swarm.yaml → ✓ Config valid (4 VPs, chain Research → Writer → Editor → Distribution)
run --dry swarm.yaml → deployment plan printed (panes 0..4, models opus/sonnet/sonnet/sonnet/haiku)
run swarm.yaml → session "swarm-content" created; CEO loop running
status swarm-content → 4/4 VPs complete · allDone: true
log → run ✓ (deploy 1m12s)

Invariants this skill must preserve

  • Always validate (and sandbox-run for untrusted configs) BEFORE run — never deploy an

unchecked file into a live tmux session.

  • Completion is read ONLY from the {Role}: DONE signal and the status JSON — never inferred

from a quiet pane or an existing output file.

  • A stalled run is a debug-swarm problem, not a reason to relaunch the whole swarm.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/naman10parikh/agentswarm/run-swarm/badge)](https://verified-skill.com/skills/naman10parikh/agentswarm/run-swarm)

Something wrong with this skill or its page? Tell us.