naman10parikh/agentswarm/debug-swarm
Claude Code and agent skill by naman10parikh/agentswarm
- community
Checking that the SKILL.md file is still in the repository.
Diagnose a swarm that is stuck, idle, deadlocked, or never finishing. Use when a swarm "isn't progressing", "a VP is stuck/idle", "it never says DONE", "the dependent VP never started", or "the run timed out". Walks the failure tree (config → signal → dependency → idle) and names the exact fix.
Install
npx vskill@latest install naman10parikh/agentswarm/debug-swarmSKILL.md
The same SKILL.md was published earlier as naman10parikh/agentswarm/debug-swarm.
debug-swarm — Diagnose a stuck or failing swarm
agentswarm completion is signal-based and dependency-gated, so almost every "it's stuck" report traces to one of four causes. Walk them in order; stop at the first that matches.
Trigger
Invoke when a deployed swarm is not making progress: a VP shows IDLE, a downstream VP never deploys, the run hits max_runtime with VPs still running, or agentswarm status shows fewer done than expected.
Steps (the failure tree — check in this order)
- Config is invalid (it never deployed cleanly). Run
agentswarm validate <config>. A
duplicate role, a missing section, or a depends_on pointing at an undefined role aborts the run. Fix and re-deploy. Symptom: the CLI errored at run time.
- Missing completion signal (VP works but is never marked done). The CEO only marks a VP
done when a line of its pane output is exactly {Role}: DONE. Read the pane: tmux capture-pane -t <session> -p (or agentswarm status <session> for the summary). If the agent finished its work but never printed Role: DONE, the prompt is missing the signal instruction — every VP prompt must end with Say "{Role}: DONE" on your last line. The signal must stand on its own line (a leading bullet and a final . or ! are fine), and the match is case-sensitive: role: done does NOT match. The prompt itself, echoed in the pane, never counts, because there the signal sits inside a longer line.
- Dependency deadlock (downstream VP never deploys). A
pendingVP only deploys once
every role in its depends_on is done. If an upstream VP is stuck (cause #2) or a depends_on name is misspelled so it can never be satisfied, the downstream VP waits forever. Inspect the chain in agentswarm status / the status JSON: find the first non-done VP in the chain and fix that one.
- Genuinely idle (agent stalled / waiting on input). If a pane has produced no output for
longer than idle_timeout, the CEO flags it IDLE. Attach (tmux attach -t <session>) and look: it may be blocked on a permission prompt, waiting on a network call, or done but silent. Deploy VPs with --dangerously-skip-permissions (the CEO does this) so they never block on approvals.
Quick triage commands
Output
A one-line diagnosis naming the cause and the fix, e.g.:
Anti-patterns
- Inferring completion from "the file exists" or "the pane went quiet" — only
{Role}: DONE
counts.
- Restarting the whole swarm when only one VP in the chain is broken.
- Lowering
idle_timeoutto "fix" an idle pane — that hides the stall instead of resolving it.
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
- SKILL.md in the repositoryCheckingskills/debug-swarm/SKILL.md
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
[](https://verified-skill.com/skills/naman10parikh/agentswarm/debug-swarm)