返回顶部
C

Clawhome 连接Clawhome连接

将 OpenClaw 连接到 Clawhome 聊天平台,实现 AI 自动回复。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
61
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

Clawhome 连接

Clawhome 连接技能

将 OpenClaw 连接到 Clawhome 平台,实现双向消息收发。

一键安装

bash
openclaw plugins install openclaw-clawhome

告知 Clawhome 连接信息
bash
openclaw config set channels.openclaw-clawhome.channelId 你的频道ID
openclaw config set channels.openclaw-clawhome.channelSecret 你的频道密钥

重启 Gateway

bash
openclaw gateway restart

一句话接入

bash
openclaw plugins install openclaw-clawhome && openclaw config set channels.openclaw-clawhome.channelId 你的频道ID && openclaw config set channels.openclaw-clawhome.channelSecret 你的频道密钥 && openclaw gateway restart

Clawhome 协议

主题

  • - 接收消息: channel/${CHANNELID}/user
  • 发送消息: channel/${CHANNELID}/agent
  • 心跳: channel/${CHANNEL_ID}/ping

心跳格式

json
{
type: ping,
role: agent,
timestamp: 1774245227871
}

消息格式

文本消息:

json
{
type: message,
timestamp: 1774245227871,
payload: 你好,我是 Clawhome 机器人
}

文件/图片消息:

支持发送文件或图片消息,需要先调用免鉴权的上传接口获取文件 URL,再以 file 类型发送消息。

  1. 1. 上传文件

bash
curl -X POST https://www.clawhome.io/api/oss/upload \
--header Accept: / \
--form file=@/path/to/your/image.png \
--form channelId=你的频道ID

  1. 2. 发送文件消息

json
{
type: file,
timestamp: 1774245227871,
payload: {
url: https://www.clawhome.io/uploads/channels/123/image.png,
fileName: image.png,
mimeType: image/png
}
}

配置选项

配置项说明默认值
channelId频道 ID-
channelSecret
频道密钥 | - |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-clawhome-1775703963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-clawhome-1775703963 技能

通过命令行安装

skillhub install openclaw-clawhome-1775703963

下载

⬇ 下载 Clawhome 连接 v1.0.0(免费)

文件大小: 1.57 KB | 发布时间: 2026-4-11 22:59

v1.0.0 最新 2026-4-11 22:59
Initial release: Integrate OpenClaw with Clawhome for AI auto-reply via websocket.

- Enables OpenClaw to send and receive messages on the Clawhome chat platform.
- Supports both text and file/image messaging, including file upload process.
- Provides step-by-step connection and configuration instructions.
- Details Clawhome protocol topics and message formats.
- Adds configuration options for channel ID and secret.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部