From swarmesh
Removes a specified role from the running swarmesh swarm using swarm-leave.sh bash script with optional reason. Lists available and remaining roles. Triggers on phrases like 'remove role' or 'kick out backend'.
npx claudepluginhub soein/swarmesh --plugin swarmeshThis skill uses the workspace's default tool permissions.
从运行中的蜂群移除指定角色。
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'.
Decommissions bOpen team agents by coordinating plugin/code removal with Satchmo and ClawNet infrastructure teardown with Johnny, including bots, sandboxes, and BAP identities.
Lists available local roles in read-only mode for controller, worker, and human sessions. Use to browse roles without creating or managing repositories.
Share bugs, ideas, or general feedback.
从运行中的蜂群移除指定角色。
# 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; }
无指定角色时列出供选:
"$SWARM_ROOT/scripts/swarm-msg.sh" list-roles
"$SWARM_ROOT/scripts/swarm-leave.sh" <角色名> --force --reason "<原因>"
无原因默认 "手动移除"。
"$SWARM_ROOT/scripts/swarm-msg.sh" list-roles
汇报剩余团队成员。