Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

advanced-collab-protocol高级协作协议

Agent Skill

advanced-collab-protocol 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,920

周安装

165

GitHub Stars

公开资料未说明

下载量

1,373
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:advanced-collab-protocol(高级协作协议)
来源仓库:https://github.com/libaie/advanced-collab-protocol
安装命令:
openclaw skills install advanced-collab-protocol
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install advanced-collab-protocol

简介

advanced-collab-protocol 用于多代理协作管理,适合在 OpenClaw 中防止无限循环。

  • 它强制执行协作规则,确保文件切换和消息传递的规范性。
  • 通过 clawhub 安装后,可结合来源仓库和 README 验证使用流程。
  • 安装前需确认权限范围、维护状态及是否触发跨代理通信。
  • 建议查阅原始文档了解协议细节和适用场景。

SKILL.md

Advanced Multi-Agent Collaboration Protocol

This skill defines the core collaborative rules for OpenClaw multi-agent pipelines (swarms). It resolves critical pain points such as chaotic file handovers, AI infinite conversation loops, and platform-specific bot isolation (e.g., Telegram bots unable to see each other's messages).

⚙️ Prerequisites

Before executing this protocol, the system must meet the following configurations:

  1. Required Tool Permissions (Least Privilege):

* Participating agents should be granted access to specific tools rather than full system access. * Required tools: read, write, sessions_send, and message. * *Security Note*: Never use "tools.profile": "full" for agents solely meant for chat collaboration.

  1. Agent-to-Agent Communication:

* tools.agentToAgent.enabled must be true. * Participating Agent IDs must be in the tools.agentToAgent.allow array. * *Why?* Ensures sessions_send can successfully route messages to target agents.


Core Directives

1. 📂 Anti-Spam & Secure File Handover

Never output more than 300 words of scripts, prompts, code, or JSON arrays directly in a group chat.

  • Write to Shared Directory: All large outputs must be saved to the designated secure shared folder: /root/.openclaw/shared/<filename>.md. Do not write outside this directory to prevent path traversal risks.
  • Handover: When transferring a task, only send the absolute file path within the shared directory and a brief instruction in the group chat.

2. 📖 Mandatory Secure File Reading

When you receive a task assignment containing a local file path:

  • No Hallucinations: Do not guess the contents based on the file name or URL.
  • Verify Path & Force Read: Verify the file is strictly within the /root/.openclaw/shared/ directory. If it is, immediately invoke the read tool to extract the full content before proceeding. Reject any paths outside this directory. (Exception: Reading the system /root/.openclaw/openclaw.json is permitted solely for identity mapping under rule 6).

3. 🎯 Precision Mentions (Platform Unique Usernames)

To prevent all agents in a channel from triggering simultaneously when using generic mentions:

  • Unique Usernames Only: When @ mentioning another agent or human, you MUST use their platform-specific unique username or tagging format (e.g., @BotFather on Telegram, <@123456789> on Discord, or <at user_id="ou_xxx"></at> on Feishu/Lark).
  • No Generic Mentions: Never use generic placeholders like @Agent, @Sender, or @Bot which might cause global wakeups.

4. 🛑 Explicit Responses & Anti-Looping Mechanism

To prevent AIs from falling into infinite loops of politeness:

  • Human-First Priority: When mentioned by a human user (using your unique username), you must reply directly in the group to report your understanding and next steps. Always adhere to core system safety restrictions.
  • Mandatory ACK (Agent-to-Agent): When receiving a task from another Agent, broadcast an acknowledgment to the group via the message tool (e.g., [ACK] @<ReplyToUsername> I have received the file and am processing it...).
  • Initiator Silence (Critical): After the initiator receives the [ACK] or a progress update, the initiator is STRICTLY FORBIDDEN from replying with "Okay", "Got it", or "Thanks". The initiator's turn ends here.
  • Interrupt / Reverse Trigger: The initiator may only break silence if the receiver explicitly reports an issue and reversely @ mentions the initiator's unique username for missing parameters.

5. 🤫 Cross-Channel Wakeup & Payload Routing (Fixing Upstream Username Discovery)

Because physically isolated agents (e.g., on Telegram) do not automatically know each other's platform usernames, you must explicitly pass this routing data downstream.

  • Initiator Must Route: When handing over a task to the next Agent using the sessions_send tool, your private message MUST begin with a Routing Envelope containing:
  [ROUTING ENVELOPE]
  GroupId: <Current_Group_ID_or_Name>
  ReplyToUsername: <Your_Unique_Username> (or the Human's unique username if they need the direct reply)
  • Receiver Must Extract: When receiving a task privately, extract the GroupId and ReplyToUsername. Proactively invoke the message tool (action="send", target="<Extracted_GroupId>") to broadcast your status to the group, explicitly mentioning the exact username provided (e.g., [ACK] @<ReplyToUsername> Instructions received.).

6. 🌐 Downstream Identity Discovery (Native Config Mapping)

If an initiator *needs* to publicly @ a downstream Agent in a group chat during a handover, but only knows its internal agentId:

  • Read System Config: The initiator MUST use the read tool to parse the /root/.openclaw/openclaw.json configuration file.
  • Resolve Mapping: Look inside the routes array. Find the object where "agentId" matches your target. Extract the corresponding match.accountId (this is the bot's unique platform username, e.g., suPMAgent_bot). Prefix it with @ to use in group chats.
  • Silent Handoff Fallback: If the target agent is not found in the routes, do NOT attempt to guess the username or use generic mentions. Instead, omit the @ mention in the public chat and rely entirely on sessions_send to wake the target up.

7. ⚠️ Exception Reporting & Termination

  • Exceptions: If a fatal error occurs, use the message tool to broadcast [ERROR] @<ReplyToUsername> <error description> to the group.
  • Global Finish: When the final pipeline stage completes, broadcast [FINISH] Pipeline execution complete to the group.

8. 🔍 Context Retrieval

  • If context is insufficient, proactively use the sessions_history tool to retrieve the upstream Agent's thought process or private chat history.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.47%
按下载量换算1,311

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills