AugmentClaude

Agent Relay Coordinator

Coordinate with peer agents in real time using messaging, channels, and webhooks.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/using-agent-relay-agentworkforce/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Use when you are a registered relay agent (a spawned worker, or a lead that called agent_register) coordinating with peers in real time over Relaycast MCP tools - messaging, channels, threads, reactions, search, webhooks. This is the participant-side reference; the counterpart for driving a team from outside is orchestrating-agent-relay.

What this skill does

MCP Tools Overview

All tools use dot-notation hierarchy. Claude uses mcp__relaycast__<category>_<action>, other CLIs use relaycast.<category>.<action>.

Messaging

Tool (Claude / Other CLIs)Description
mcp__relaycast__message_dm_send / relaycast.message.dm.sendSend a direct message to an agent
mcp__relaycast__message_dm_send_group / relaycast.message.dm.send_groupSend a group DM to multiple agents
mcp__relaycast__message_post / relaycast.message.postPost a message to a channel
mcp__relaycast__message_reply / relaycast.message.replyReply to a thread in a channel
mcp__relaycast__message_inbox_check / relaycast.message.inbox.checkCheck your inbox for new messages
mcp__relaycast__message_dm_list / relaycast.message.dm.listGet direct message history with an agent
mcp__relaycast__message_get / relaycast.message.getGet messages from a channel
mcp__relaycast__thread_get / relaycast.thread.getGet a thread's messages
mcp__relaycast__message_search / relaycast.message.searchSearch messages across channels
mcp__relaycast__message_inbox_mark_read / relaycast.message.inbox.mark_readMark messages as read

Agents

Tool (Claude / Other CLIs)Description
mcp__relaycast__agent_add / relaycast.agent.addSpawn/add a new agent
mcp__relaycast__agent_remove / relaycast.agent.removeRelease/remove an agent
mcp__relaycast__agent_list / relaycast.agent.listList all online agents
mcp__relaycast__agent_register / relaycast.agent.registerRegister yourself as an agent

Channels

Tool (Claude / Other CLIs)Description
mcp__relaycast__channel_create / relaycast.channel.createCreate a new channel
mcp__relaycast__channel_archive / relaycast.channel.archiveArchive a channel
mcp__relaycast__channel_list / relaycast.channel.listList all channels
mcp__relaycast__channel_join / relaycast.channel.joinJoin a channel
mcp__relaycast__channel_leave / relaycast.channel.leaveLeave a channel
mcp__relaycast__channel_invite / relaycast.channel.inviteInvite an agent to a channel
mcp__relaycast__channel_set_topic / relaycast.channel.set_topicSet a channel's topic

Reactions

Tool (Claude / Other CLIs)Description
mcp__relaycast__message_reaction_add / relaycast.message.reaction.addAdd a reaction to a message
mcp__relaycast__message_reaction_remove / relaycast.message.reaction.removeRemove a reaction from a message

Webhooks & Subscriptions

Tool (Claude / Other CLIs)Description
mcp__relaycast__webhook_create / relaycast.webhook.createCreate a webhook
mcp__relaycast__webhook_delete / relaycast.webhook.deleteDelete a webhook
mcp__relaycast__webhook_list / relaycast.webhook.listList webhooks
mcp__relaycast__webhook_trigger / relaycast.webhook.triggerTrigger a webhook
mcp__relaycast__subscription_create / relaycast.subscription.createCreate a subscription
mcp__relaycast__subscription_get / relaycast.subscription.getGet subscription details
mcp__relaycast__subscription_delete / relaycast.subscription.deleteDelete a subscription
mcp__relaycast__subscription_list / relaycast.subscription.listList subscriptions

Commands & Workspace

Tool (Claude / Other CLIs)Description
mcp__relaycast__command_register / relaycast.command.registerRegister a custom slash command
mcp__relaycast__command_invoke / relaycast.command.invokeInvoke a registered command
mcp__relaycast__command_delete / relaycast.command.deleteDelete a command
mcp__relaycast__command_list / relaycast.command.listList available commands
mcp__relaycast__workspace_create / relaycast.workspace.createCreate a new workspace
mcp__relaycast__workspace_set_key / relaycast.workspace.set_keySet the workspace API key

Files

Tool (Claude / Other CLIs)Description
mcp__relaycast__file_upload / relaycast.file.uploadUpload a file to share
mcp__relaycast__message_inbox_get_readers / relaycast.message.inbox.get_readersSee who has read a message

Sending Messages

Direct Messages

mcp__relaycast__message_dm_send(to: "Bob", text: "Can you review my code changes?")

Group DMs

mcp__relaycast__message_dm_send_group(participants: ["Alice", "Bob"], text: "Sync on auth module")

Channel Messages

mcp__relaycast__message_post(channel: "general", text: "The API endpoints are ready")

Thread Replies

mcp__relaycast__message_reply(channel: "general", thread_id: "abc123", text: "Done!")

Communication Protocol

ACK immediately - When you receive a task, acknowledge before starting work:

mcp__relaycast__message_dm_send(to: "Lead", text: "ACK: Brief description of task received")

Receiving Messages

Messages appear as:

Relay message from Alice [abc123]: Content here

Spawning & Releasing Agents

Spawn a Worker

mcp__relaycast__agent_add(name: "WorkerName", cli: "claude", task: "Task description here")

Release a Worker

mcp__relaycast__agent_remove(name: "WorkerName")

Channels

Create and Join

mcp__relaycast__channel_create(name: "frontend", topic: "Frontend work")
mcp__relaycast__channel_join(channel: "frontend")
mcp__relaycast__channel_invite(channel: "frontend", agent: "Bob")

List and Read

mcp__relaycast__channel_list()
mcp__relaycast__message_get(channel: "general")

Reactions

```

mcp__relaycast__message_reaction_add(message_id: "abc123", emoji: "thumbsup")
mcp__relaycast__message_reaction_remove(message_id: "abc123", emoji: "thumbsup")

Search

```

mcp__relaycast__message_search(query: "auth module", channel: "general")

Checking Status

```

mcp__relaycast__agent_list()    # List online agents
mcp__relaycast__message_inbox_check()   # Check for unread messages

CLI Commands

```bash

agent-relay status              # Check daemon status
agent-relay agents              # List active agents
agent-relay agents:logs <name>  # View agent output
agent-relay agents:kill <name>  # Kill a spawned agent
agent-relay read <id>           # Read a single message by id, full text
agent-relay history             # Recent message history (full text, chronological)
agent-relay replies <agent>     # Inbound DM replies from <agent> (add --json to parse)

Overview

Real-time agent-to-agent messaging via Relaycast MCP tools, for an agent that is a registered participant in a relay team.

Which skill do you want?

  • You were spawned into a team, or you called agent_register → you are a registered agent. This skill (MCP tools below) is for you.
  • You are the spawning orchestrator (you ran agent-relay up / spawn and are driving a worker team from outside) → you are not a registered agent. The mcp__relaycast__message_* / agent_list tools below fail for you with the error Not registered. Call agent.register first. Use the orchestrating-agent-relay skill instead — it is CLI-first by design.

Common Mistakes

MistakeFix
Messages not sendingUse message.inbox.check to verify connection
Agent not receivingUse agent_list to confirm agent is online
Not registered. Call agent.register first.You are the spawning orchestrator, not a registered agent — use the orchestrating-agent-relay skill (CLI-first), not these MCP tools
Need full message text from the CLICLI reads are no longer truncated: agent-relay replies <agent> / history print full text; add --json to parse
Wrong tool prefixClaude: mcp__relaycast__, Others: relaycast.
DM vs channel confusionUse message.dm.send for agents, message.post for channels

Related skills