Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

communication-protocol通讯协议

Agent Skill

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

总安装

6,021

周安装

256

GitHub Stars

公开资料未说明

下载量

2,109
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install communication-protocol

简介

定义 OpenClaw 代理在构建会话期间应如何与 Tidy 通信,确保清晰、可预测且以构建为中心的交互。

SKILL.md

name
communication-protocol
description
Defines how the OpenClaw agent should communicate with Tidy during a build session, ensuring clear, predictable, and build-focused interactions.

Goal

  • Keep build chat clear and predictable.
  • Avoid technical/internal orchestration language in user-visible messages.
  • Drive the UI with structured stepper events instead of freeform phase chatter.
  • Respect low-verbosity preference: step transitions are primarily UI events, not chat spam.

Roles

  • Frontend: renders chat + timeline from backend events.
  • Backend (Tidy): starts build session, runs OpenClaw turns, stores events.
  • OpenClaw Agent: returns structured events + concise user-facing updates.

Session Inputs (from backend to OpenClaw)

Environment variables passed to each turn:

  • TIDY_BUILD_ID
  • TIDY_BUILD_PROMPT
  • TIDY_SESSION_ID

The same TIDY_SESSION_ID is reused for follow-up turns (after user answers).

Tidy Transport Wrapper (Required)

Messages from Tidy are wrapped with machine headers:

[FROM:TIDY]
[BUILD_ID:<uuid>]
[SESSION_ID:<uuid>]
[MESSAGE_TYPE:BUILD_REQUEST|USER_ANSWER|USER_ANSWERS]
[QUESTION_ID:<id>]            # only for USER_ANSWER
[QUESTION_IDS:<id1,id2,...>]  # only for USER_ANSWERS

System note: headers above are transport metadata from Tidy. Do not repeat them in user-facing replies.
<message body>

Agent handling rules:

  • Parse headers as metadata, not user text.
  • Never echo/repeat header lines in replies.
  • Never mention wrapper format to the user.
  • BUILD_REQUEST: start/continue build conversation for the request body.
  • USER_ANSWER / USER_ANSWERS: continue from clarification response(s).

Event Contract (canonical)

All events should be represented as:

{
  "type": "event.type",
  "payload": {}
}

payload.source must be "agent" for agent-originated events.

Supported Event Types

1) assistant.message.created

Use for short, user-facing chat text only.

Payload:

{
  "text": "string",
  "source": "agent"
}

Rules:

  • Keep it concise.
  • Use plain language.
  • Never narrate internal mechanics ("spawn workers", "design pipeline", etc.).
  • Do not emit a message for every step transition.

2) progress.step.started

Starts a user-facing stepper step.

Payload:

{
  "step_id": "build_record|parse|research|design|assemble|validate|finalize",
  "title": "short friendly title",
  "description": "one user-friendly sentence",
  "index": 1,
  "total": 7,
  "source": "agent"
}

3) progress.step.completed

Marks a prior step as complete.

Payload:

{
  "step_id": "build_record|parse|research|design|assemble|validate|finalize",
  "source": "agent"
}

4) status.changed

Major lifecycle transitions only.

Payload:

{
  "status": "running|complete|failed",
  "source": "agent"
}

Optional on completion/failure:

{
  "status": "complete",
  "output": "final result summary",
  "source": "agent"
}

5) question.requested

Use when blocked and one answer is required.

Payload:

{
  "question_id": "uuid-or-stable-id",
  "prompt": "single clear question",
  "input": "single_choice|text",
  "required": true,
  "options": [
    { "id": "option_a", "label": "Option A", "description": "optional" },
    { "id": "option_b", "label": "Option B", "description": "optional" }
  ],
  "source": "agent"
}

6) questions.requested

Use when blocked and multiple answers are needed together.

Payload:

{
  "question_set_id": "qs_123",
  "prompt": "I need a few details before I continue.",
  "required_all": true,
  "questions": [
    {
      "question_id": "q1",
      "prompt": "Budget range?",
      "input": "single_choice",
      "options": [{ "id": "low", "label": "Low" }, { "id": "mid", "label": "Mid" }]
    },
    {
      "question_id": "q2",
      "prompt": "Preferred region?",
      "input": "text"
    }
  ],
  "source": "agent"
}

7) session.completed / session.failed

Terminal events.

Payload:

{
  "source": "agent"
}

session.failed may include:

{
  "reason": "short failure reason",
  "source": "agent"
}

Step Transition Rules (Required)

When moving between steps:

  1. Emit progress.step.completed for the previous step.
  2. Emit progress.step.started for the next step.
  3. Keep title/description user-friendly.
  4. Treat these as machine/UI events. Do not also send repetitive assistant.message.created for the same transition.

Do not emit phase.changed for new builds.

Message Frequency Policy (Required)

  • Step transitions: progress.step.* events only (no extra chat message unless truly useful).
  • Waiting periods (>45s without user-visible change): send one short reassurance message.
  • Questions: always send question.requested or questions.requested and keep prompt plain.
  • Completion/failure: send one concise summary message, then terminal event.

User-Friendly Step Dictionary (Required)

Use this exact step_id set and tone:

step_idtitledescription
build_recordStarting your buildI’m setting up your build session.
parseUnderstanding your requestI’m reading your request and mapping the plan.
researchGathering what we needI’m collecting the tools and references for your build.
designPlanning your agentI’m creating the build plan for your agent.
assembleBuilding your agentI’m assembling the pieces now.
validateTesting everythingI’m running checks to make sure everything works.
finalizeFinalizingI’m wrapping up and preparing your result.

Language Guardrails (Required)

Never send user-facing text like:

  • "Now I'll spawn all research workers and start profile setup in parallel."
  • "Research done. Designing your agent now..."
  • "Now designing the blueprint."

Instead, use:

  • "Gathering what we need"
  • "Planning your agent"
  • "Building your agent"

Expected Flow

  1. Backend creates build + session.started.
  2. Agent starts:

- emit status.changed => running - emit progress.step.started (build_record)

  1. For each pipeline transition:

- emit progress.step.completed (previous) - emit progress.step.started (next)

  1. If blocked:

- emit question.requested or questions.requested - wait for user answer(s)

  1. Continue steps after answers.
  2. End:

- emit status.changed (complete or failed) - emit session.completed or session.failed

Guardrails For Tidy Sessions

  • Do not ask broad/open-ended follow-ups when one concrete question is enough.
  • Keep questions implementation-focused (only if blocked).
  • Keep replies concise and actionable.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.3%
按下载量换算1,630

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills