naman10parikh/agentswarm/debug-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.

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-swarm

SKILL.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)

  1. 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.

  1. 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.

  1. Dependency deadlock (downstream VP never deploys). A pending VP 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.

  1. 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

bash
agentswarm status <session> # per-VP RUNNING/IDLE/DONE summary
cat /tmp/agentswarm-<session>-status.json # machine-readable state (public API)
tmux capture-pane -t <session> -p | tail -30 # raw tail of the focused pane
agentswarm log --limit 20 # was the last run ok or error?
agentswarm memory-search "never finishes" # a fix this repository already learned (MCP: memory_search)

Output

A one-line diagnosis naming the cause and the fix, e.g.:

Cause #2 (missing signal): VP Writer finished but never printed "VP Writer: DONE".
Fix: append the signal instruction to its prompt and re-run. Downstream VP Editor was
blocked on it (cause #3 cascade).

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_timeout to "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

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/debug-swarm/badge)](https://verified-skill.com/skills/naman10parikh/agentswarm/debug-swarm)

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