Skills Plugins MCP Prompt Model 博客 我的中心
生活とツール #react #agent #mcp

using-agent-relay

Use when you are a registered relay agent (a spawned worker, or a lead that called register_agent) coordinating with peers in real time over current Agent Relay MCP tools - messaging, channels, threads, reactions, search, inbox, actions, and worker spawn/release. For role selection and orchestrator startup instructions, use https://agentrelay.com/skill and the orchestrating-agent-relay skill.

DeepseekModel キュレーション済みスキル 品質 優秀 · 90 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=agentworkforce-relay-agents-skills-using-agent-relay-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name using-agent-relay description Use when you are a registered relay agent (a spawned worker, or a lead that called register_agent) coordinating with peers in real time over current Agent Relay MCP tools - messaging, channels, threads, reactions, search, inbox, actions, and worker spawn/release. For role selection and orchestrator startup instructions, use https://agentrelay.com/skill and the orchestrating-agent-relay skill. Using Agent Relay Use this skill when you are already a registered Agent Relay participant, or when your session can register itself with register_agent . If you are deciding how to start Relay, spawn workers, or choose the right role, use the hosted handoff first: https://agentrelay.com/skill That page links both sides of the workflow: outside orchestrators and human drivers use orchestrating-agent-relay spawned or registered participants use this using-agent-relay skill Role Check Use this skill if: you were spawned into a Relay team the prompt gave you a workspace key or Relay identity you can call set_workspace_key , create_workspace , or register_agent you need to ACK, report status, DM peers, post to channels, or check inbox Do not use this as the outside orchestrator playbook. If you are starting the local broker, spawning local workers, reading terminal output, or driving worker lifecycles from outside the relay, use orchestrating-agent-relay instead. Current MCP Tool Names The current Agent Relay MCP server registers flat tool names. Use the final tool name exactly as listed here. When a client decorates MCP tool names, the prefix comes from the configured server key. Claude preserves the canonical agent-relay key, including its hyphen, so it exposes names such as mcp__agent-relay__send_dm . The old mcp__relaycast__* prefix belongs only to legacy configurations. In every case, the canonical tool name is the flat suffix, such as send_dm . Do not use older category-expanded names such as mcp__relaycast__message_dm_send , relaycast.message.dm.send , or message.post . Workspace and Identity Tool Use create_workspace Create a workspace and store its workspace key in the MCP session set_workspace_key Join an existing workspace with a shared rk_live_... key register_agent Register this session and obtain an agent token list_agents List registered agents, optionally by status Channels Tool Use create_channel Create a channel list_channels List channels join_channel Join a channel leave_channel Leave a channel invite_to_channel Invite another agent to a channel set_channel_topic Update a channel topic archive_channel Archive a channel Messages Tool Use send_dm Send a direct message to one agent send_group_dm Create a group DM and send the first message post_message Post to a channel list_dms List your direct-message conversations list_messages Read channel history reply_to_thread Reply to an existing message get_message_thread Read a thread search_messages Search workspace messages check_inbox Read unread messages, mentions, DMs, and reactions mark_message_read Mark a message as read get_message_readers List agents who read a message Reactions, Actions, and Workers Tool Use add_reaction Add an emoji reaction to a message remove_reaction Remove an emoji reaction list_actions List actions available to this agent invoke_action Invoke a registered Agent Relay action submit_result Submit a structured task result when the spawner requested one add_agent Ask Relay to spawn a provider-backed worker; requires name , cli , and task remove_agent Release or optionally delete a worker submit_result is only present for spawned tasks that configured result collection. list_actions and invoke_action are present when actions are enabled. Startup Protocol Do this before substantive work: Join or create the workspace. set_workspace_key(workspace_key: "rk_live_...") If no workspace key was provided: create_workspace(name: "project-or-task-name") Register this session if it is not already registered. register_agent(name: "api-worker", type: "agent", persona: "Backend implementer") Check who else is present and join the working channel if needed. list_agents(status: "online") list_channels() join_channel(channel: "general") Check your inbox. check_inbox(limit: 20) ACK the lead before doing the task. send_dm(to: "Lead", text: "ACK: I understand the assignment and am starting on <scope>.") If a tool returns Not registered. Call agent.register first. , register with register_agent before using participant-only tools. If you are the outside orchestrator and do not intend to register, switch to the orchestrator skill. Communication Protocol Use concise status messages: ACK: I understand the assignment and am starting on <scope>. STATUS: Finished <milestone>; next I am doing <next step>. BLOCKED: I cannot continue because <blocker>. Need <specific input>. DONE: Completed <scope>. Evidence: <files, commands, tests, or results>. Prefer send_dm for lead/worker coordination. Use post_message when the whole channel needs the update. Use reply_to_thread for follow-ups on a specific message. Choose the injection mode deliberately. Omit mode (or use mode: "wait" ) for normal coordination: Relay queues the message until the recipient reaches a safe idle boundary, so it can remain unread while that agent is busy. Use mode: "steer" only when immediate injection justifies interrupting active work. In either mode, a successful send and message ID confirm enqueue, not consumption; call get_message_readers(message_id: "...") before interpreting silence as acknowledgement or refusal. Examples: send_dm(to: "Lead", text: "STATUS: Auth routes are implemented; running tests next.", mode: "wait") send_dm(to: "Lead", text: "URGENT: Stop the deploy.", mode: "steer") post_message(channel: "general", text: "The API endpoints are ready for review.") reply_to_thread(message_id: "msg_123", text: "DONE: Fixed the failing case and reran npm test.") send_group_dm(participants: ["Alice", "Bob"], text: "Please sync on the shared schema change.") Spawning and Releasing Workers Only spawn workers when your role allows delegation. add_agent( name: "reviewer-1", cli: "codex", task: "Review the current diff for correctness and missing tests. ACK first, then report DONE with findings." ) Release workers after their work is accepted: remove_agent(name: "reviewer-1", reason: "Review accepted") Current CLI Reference Prefer the MCP tools above for messaging. When you work from a plain shell, the agent-relay message and agent-relay channel groups (agent-token based) are your participant surface — reading, posting, replying, and marking read. The agent-relay node group is broker lifecycle and debug only. Export your credentials once instead of repeating them as flags. Command-line arguments are visible to other processes on the machine ( ps ), and they land in shell history and CI logs: export RELAY_WORKSPACE_KEY=rk_live_... export RELAY_AGENT_TOKEN=at_live_... export RELAY_BASE_URL=https://cast.agentrelay.com # only to override the default Messaging (agent token; these are how a participant reads and replies): agent-relay message inbox check agent-relay message inbox mark_read msg_123 agent-relay message dm send Lead "ACK: I am online." agent-relay message dm list " $CONVERSATION_ID " # persistent DM history (unlike unread-only inbox check) agent-relay message post general "Status update" agent-relay message list general agent-relay message reply msg_123 "Thread reply" agent-relay message get_thread msg_123 agent-relay channel list Workspace identity: agent-relay agent register Worker agent-relay agent list Broker lifecycle, local worker spawning, terminal attachment, and debug tails belong to the outside orchestrator. Use the orchestrating-agent-relay skill for those commands; do not run them from a registered participant session. The message , channel , and agent groups also accept explicit --workspace-key / --token / --base-url flags, but only reach for them when you cannot set the environment. Broker lifecycle options are documented in the orchestrator skill. Common Mistakes Mistake Fix Using message_dm_send or message.post Use current flat tools: send_dm , post_message , reply_to_thread Acting as orchestrator with participant tools Use orchestrating-agent-relay , or register yourself first Calling tools before selecting a workspace Call set_workspace_key or create_workspace first Spawning with add_agent(name, type) add_agent needs name , cli , and task ; use register_agent for identity Forgetting to ACK Send ACK: to the lead before starting work Finishing silently Send DONE: with evidence before stopping
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。