From swarmesh
Dynamically adds roles to running swarms in execute mode via bash scripts. Activates on phrases like 'add a role', '加 database engineer', or 'bring backend online'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swarmesh:swarm-joinThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
向运行中的蜂群(execute 模式)动态添加新角色。
向运行中的蜂群(execute 模式)动态添加新角色。
# Locate swarmesh plugin root (优先 $SWARM_ROOT env)
if [[ -z "${SWARM_ROOT:-}" || ! -d "$SWARM_ROOT/scripts" ]]; then
SWARM_ROOT=$(find "$HOME/.codex/plugins/cache" -type d -name scripts 2>/dev/null \
| grep -E '/swarmesh/[^/]+/scripts$' | head -1 | sed 's|/scripts$||')
fi
[[ -n "${SWARM_ROOT:-}" && -d "$SWARM_ROOT/scripts" ]] || { echo "⚠ 未找到 swarmesh plugin root,请 export SWARM_ROOT=/path/to/swarmesh"; exit 1; }
格式:<角色名> [选项]
database --task "设计用户表"ls "$SWARM_ROOT/config/roles/core/" \
"$SWARM_ROOT/config/roles/quality/" \
"$SWARM_ROOT/config/roles/management/"
有匹配自动用,否则让用户选。
"$SWARM_ROOT/scripts/swarm-join.sh" <角色名> \
--cli "claude code" \
--config <config_path> \
--force \
[--task "任务"]
CLI 选项:claude code / codex chat / gemini
多实例:同角色可多次加入,实例名自动编号(首 = 角色名,后续 角色名-2 ...)。supervisor/inspector 不支持多实例。
"$SWARM_ROOT/scripts/swarm-msg.sh" list-roles
汇报 pane 位置、实例名、当前团队。
npx claudepluginhub soein/swarmesh --plugin swarmeshAdds new AI CLI participants (e.g., Claude, Gemini) to ongoing Swarmesh discuss-mode roundtables via bash scripts and discuss-relay.sh. Activates on requests to add AIs or participants.
Orchestrates multi-agent swarms using agentic-flow for parallel task execution, dynamic topology, and intelligent coordination. Use when scaling beyond single agents or building distributed AI systems.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.