/adjutant-agent:direct-messagefrom adjutant-agent
Sends a direct message to a specific agent via tmux prompt injection and MCP messaging, ensuring delivery even if the agent is inactive.
Ships in adjutant-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Send a message directly to a specific agent — delivered via tmux prompt injection for immediate processing AND persistent MCP message for inbox history.
/direct-message <agent-name> <message>
Examples:
/direct-message raynor Hey, did you finish the API refactor?/direct-message nova Please review the color scheme changes and report back./direct-message stetmann Read your latest bead and send me a status update.When the user invokes /direct-message <agent-name> <message>, follow these steps exactly:
/direct-messageIf no agent name is provided, ask the user who they want to message. If no message is provided, ask the user what they want to say.
Call the MCP tool:
list_agents({ status: "all" })
Check that <agent-name> matches an agent in the roster (case-insensitive). If not found:
Run:
tmux list-sessions -F "#{session_name}" 2>/dev/null | grep -i "adj-swarm-{agent-name}" || echo "NO_SESSION"
This determines if the agent has an active tmux session at adj-swarm-{agent-name}.
If a tmux session was found, inject the message as a submitted prompt:
tmux send-keys -t "adj-swarm-{agent-name}" -l "{message}"
tmux send-keys -t "adj-swarm-{agent-name}" Enter
Critical details:
-l flag is MANDATORY — it sends text literally, preventing tmux from interpreting spaces or special characters as key namesEnter is sent as a SEPARATE send-keys command, never embedded in the message textsend-keys fails, note the error but continue to Step 5Regardless of whether tmux delivery succeeded, always send a persistent MCP message:
send_message({ to: "{agent-name}", body: "{message}" })
This ensures:
If the message asks a question or requests information, append this instruction to BOTH the tmux and MCP message:
Please respond via Adjutant MCP: send_message({ to: "{your-agent-name}", body: "your response" })
This tells the receiving agent how to reply back through the proper channel.
Send a report to the user via MCP AND print to stdout:
send_message({ to: "user", body: "<delivery report>" })
Delivery report format:
## Direct Message Delivery Report
**To:** {agent-name}
**Message:** {first 100 chars of message}...
**Delivery:**
- tmux prompt: {delivered | no session | failed: reason}
- MCP message: {sent | failed: reason}
**Response requested:** {yes | no}
If the message requested a response, wait briefly (15-30 seconds) and check for a reply:
search_messages({ query: "{your-agent-name}", agentId: "{agent-name}", limit: 3 })
If a response arrives, relay it to the user via:
send_message({ to: "user", body: "{agent-name} responded: {response}" })
If no response after the initial wait, inform the user and move on — don't block indefinitely.
For multi-exchange conversations (like the Kerrigan/Raynor volley), the invoking agent should:
Include explicit instructions in each message for the recipient to respond back:
"Reply to me (to: '{your-name}') with your answer and end with a question for me."
After receiving a response, immediately send the next exchange without waiting for user prompting
Report each exchange to the user via MCP as it happens:
send_message({ to: "user", body: "Exchange N/M — {agent} said: {summary}. I replied with: {summary}." })
If the recipient doesn't respond within ~30 seconds, re-inject via tmux with a nudge:
tmux send-keys -t "adj-swarm-{name}" -l "{your-name} sent you a message. Read it: read_messages({ agentId: \"{your-name}\", limit: 3 }) and respond now."
tmux send-keys -t "adj-swarm-{name}" Enter
adj-swarm-{name} matches the Adjutant swarm spawner patternWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lupusdei/adjutant --plugin adjutant-agent8 skills in this plugin
/broadcast-promptBroadcast a message into every active agent's Claude Code tmux session as a submitted prompt. Also sends persistent MCP messages as backup. Use when you need to inject a standing order, instruction, or announcement into all running agents at once./discuss-proposalDiscuss and review an improvement proposal with the user. Analyzes strengths, weaknesses, feasibility, and cost estimate. Records the review as a persistent comment on the proposal, and optionally creates a revision if concrete improvements are identified. Use when the user says "discuss proposal", "review proposal", "what do you think about this proposal", or references a proposal ID for discussion and refinement rather than execution./epic-plannerCreate structured epic hierarchies for new features, major refactorings, and large tasks. Generates speckit-style artifacts (spec.md, plan.md, tasks.md, beads-import.md) in specs/ and creates real beads via `bd` CLI with wired dependencies. Use when the user says things like "Create a new epic for ...", "I want to do a major refactoring ...", "Time for a new plan", "Let's add a new feature", "New epic", or any request to plan and track a significant body of work./execute-proposalExecute an accepted proposal by fetching it from the backend and orchestrating epic creation via the epic-planner skill. Use when the user says "execute proposal", "implement proposal", "start working on proposal X", or wants to turn a proposal into an actionable epic hierarchy with beads./mcp-toolsMCP tools for communicating with the Adjutant dashboard and other agents. Use when agents need to send messages, report status, manage beads, or query system state. Auto-connects to the Adjutant MCP server./squad-executeSpawn a full squad of worktree-isolated Claude Code agents to execute a spec or epic. Includes staff engineers, QA sentinel, optional Product/UIUX reviewer, and optional code reviewer. The invoking agent stays in coordinator mode. Use when the user says "spin up a team", "squad execute", "execute this epic with a team", "spawn engineers for this", "staff up", "build a team for this", "run this with agents", "deploy a squad", "get engineers on this", "execute with a crew", or wants parallel multi-agent execution of planned work. Also matches "launch team", "start squad", "kick off execution", and any request involving multiple agents working on an epic or spec simultaneously.Other plugins' skills for the same job