Stats
Actions
Tags
From agent-relay
Run a sequential relay pipeline where each stage feeds the next. Use when worker N plus 1 depends on worker N's output or decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-relay:relay-pipeline [task][task]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a relay pipeline for this task:
Run a relay pipeline 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.SubagentStart hook automatically injects relay bootstrap instructions into every spawned worker.relay-worker agent definition only.send_dm, check_inbox) to receive handoff artifacts from each stage.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",
prompt: "You are relay-stage-1. Your lead is relay-lead.
Workspace key: <the actual key>.
CRITICAL: On every relay tool call, include as: \"relay-stage-1\". Without as, your messages can be attributed to another agent.
Your task: [stage 1 scope].
Files: [relevant files].
When done, send your lead a DONE message with: [handoff artifact description]."
)
check_inbox(as: "relay-lead"). Do not start downstream work on assumptions.Agent(
subagent_type: "relay-worker",
prompt: "You are relay-stage-2. Your lead is relay-lead.
Workspace key: <the actual key>.
CRITICAL: On every relay tool call, include as: \"relay-stage-2\". Without as, your messages can be attributed to another agent.
Previous stage completed: [DONE summary from stage 1].
Your task: [stage 2 scope using stage 1 output].
Files: [relevant files]."
)
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.