From swarmesh
Starts tmux-based roundtable discussions with multiple AI CLIs (Codex, Claude, Gemini) in discuss mode for brainstorming and multi-AI conversations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swarmesh:swarm-chatThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
启动 swarmesh 的 **discuss 模式**——与一个或多个 CLI 在同一 tmux 会话内自由讨论。
启动 swarmesh 的 discuss 模式——与一个或多个 CLI 在同一 tmux 会话内自由讨论。
# 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; }
从用户输入提取:
codex / claude / gemini / "codex chat")例如输入 ~/my-app codex cx → project=~/my-app, cli=codex, name=cx。
"$SWARM_ROOT/scripts/swarm-start.sh" \
--mode discuss \
--project "<项目路径>" \
--cli "<cli 命令>" \
${参与者名:+--name "<参与者名>"} \
--hidden
告知用户:
$swarm-chat-add <name> <cli> 加参与者$swarm-chat-list 看谁在$swarm-chat-msg "@name <内容>" 发消息$swarm-promote --profile <X> 讨论完毕转 executeswarm-discuss-<basename>),不同项目不冲突<项目路径>/.swarm/runtime/discuss/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 parallel AI agent sessions using dmux, a tmux-based panel manager. Supports Claude Code, Codex, OpenCode, and other tools for splitting complex tasks across multiple agents.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.