From adjutant-agent
Broadcasts a message as a submitted prompt to every active agent's Claude Code tmux session, with persistent MCP message backup. Use to inject standing orders, instructions, or announcements across all running agents.
npx claudepluginhub lupusdei/adjutant --plugin adjutant-agentThis skill uses the workspace's default tool permissions.
Deliver a message directly into every active agent's Claude Code prompt — submitted as a real prompt (with Enter) — and send a persistent MCP message copy.
Enables communication between coding agent sessions via msg CLI: register in tmux panes, send/reply messages, check inbox, list agents/threads.
Enables inter-agent messaging in ccgram tmux swarms: send/reply messages, check inbox, discover peers, broadcast status, spawn agents.
Sends and receives direct messages between active Claude Code sessions on the same machine. Use for coordinating parallel sessions via dm, broadcast, active checks, and project-scoped messaging.
Share bugs, ideas, or general feedback.
Deliver a message directly into every active agent's Claude Code prompt — submitted as a real prompt (with Enter) — and send a persistent MCP message copy.
When the user invokes /broadcast-prompt <message>, follow these steps exactly:
The <message> is everything after /broadcast-prompt . Preserve it exactly — whitespace, punctuation, newlines, all of it.
Call the MCP tool:
list_agents({ status: "all" })
Record the full agent roster with their names and statuses.
Run:
tmux list-sessions -F "#{session_name}" 2>/dev/null || true
This gives you every active tmux session name. Agent sessions use the naming convention adj-swarm-{agentname}.
For each agent from Step 2:
adj-swarm-{agentname} exists in the Step 3 outputFor each agent in tmux_targets, run these two commands sequentially:
tmux send-keys -t "adj-swarm-{name}" -l "{message}"
tmux send-keys -t "adj-swarm-{name}" Enter
Critical details:
-l flag is mandatory — it sends the text literally, preventing tmux from interpreting spaces or special characters as key namesEnter is sent as a separate send-keys command, not embedded in the textsend-keys fails for a specific agent, move that agent from tmux_targets to mcp_only and note the errorFor every agent in both tmux_targets and mcp_only (everyone except yourself), send:
send_message({ to: "{agentname}", body: "{message}" })
This ensures agents that reconnect later still see the message in their inbox.
Send a summary to the user:
send_message({ to: "user", body: "<delivery report>" })
The delivery report should contain:
## Broadcast Delivery Report
**Message:** {first 100 chars of message}...
**Delivered via tmux prompt ({count}):**
- agent-a
- agent-b
**MCP message only — no tmux session ({count}):**
- agent-c
**Skipped (self):**
- {your-name}
Also print the delivery report to stdout so the invoking user sees it immediately.
adj-swarm-{name} matches the Adjutant swarm spawner pattern