From agent-relay
Run a fan-out relay pattern for independent subtasks. Use when the same kind of work can be split across files, components, services, or targets with minimal coordination.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-relay:relay-fanout [task][task]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a relay fan-out for this task:
Run a relay fan-out for this task:
$ARGUMENTS
Workers are spawned using Claude Code's built-in Agent tool, not the relay MCP tools. The relay is only used for communication between agents.
subagent_type: "relay-worker" when spawning workers. Only relay-worker subagents get the Relaycast MCP server, inbox-polling hooks, and the worker protocol. Regular subagent types (e.g. researcher, general-purpose) cannot communicate via relay.run_in_background: true) so they execute concurrently.SubagentStart hook automatically injects relay bootstrap instructions into every spawned worker.relay-worker agent definition only.send_dm, check_inbox) to monitor worker progress.relay-lead. On every relay tool call you make as the coordinator, include as: "relay-lead" so your messages, inbox checks, and reactions stay attributed to the lead.register with a coordinator name like relay-lead. If it fails with "Workspace key not configured", call create_workspace to generate one, then call set_workspace_key with the returned key, then register. Save the workspace key — you will pass it to every worker.https://agentrelay.com/observer?key=<the actual key>. Do not print a placeholder — print the real URL the user can click. This is mandatory.Agent(
subagent_type: "relay-worker",
run_in_background: true,
prompt: "You are relay-worker-N. Your lead is relay-lead.
Workspace key: <the actual key>.
CRITICAL: On every relay tool call, include as: \"relay-worker-N\". Without as, your messages can be attributed to another agent.
Your unit: [specific target/scope].
Files: [list of files/directories].
Deliver: [concrete output]."
)
as: "<worker-name>" on every relay tool callcheck_inbox(as: "relay-lead"). Missing ACK means the worker is not ready.as: "relay-lead" for coordinator messages.npx claudepluginhub agentworkforce/skills --plugin claude-relay-pluginCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.