cloud-local-bridge

实现云端 OpenClaw 与本地 OpenClaw 之间的双向通信桥接。支持自然语言配对、命令执行、文件同步。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cloud-local-bridge" with this command: npx skills add 84191879/cloud-local-bridge

Cloud-Local Bridge

让云端和本地 OpenClaw 实例无缝协同,支持自然语言配对文件互通命令远程执行

核心特性

自然语言配对 - 不用记指令,像聊天一样说"我想连接云端" ✅ 跨通道配对 - QQ/微信/Telegram/邮件都能完成配对 ✅ 2步完成 - 像添加微信好友一样简单

⚡ 自然语言配对

直接发送自然语言

你发送机器人回应
配对收到配对码
我想连接云端收到配对码
添加设备收到配对码
配对 847291配对成功
查看配对显示已连接设备
帮助配对显示帮助

支持的自然语言

发起配对:

  • 配对我要配对想配对
  • 连接连接云端连接本地
  • 添加设备添加云端添加好友
  • 关联设备互相关联
  • pairconnect

确认配对:

  • 配对 123456

查看状态:

  • 查看配对配对状态
  • 我的设备设备列表

取消:

  • 取消配对删除设备

📱 配对流程

用户 A(本地)                    用户 B(云端)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. 发送「我想连接云端」          (等待)
   ↓
2. 收到配对码: 847291
   ↓
3. 发送配给 B                  (接收配对码)
   ↓                          4. B 发送「配对 847291」
                                   ↓
5. ✅ 配对成功!                ✅ 配对成功!

🚀 快速启动

cd /root/.openclaw/workspace/skills/cloud-local-bridge/scripts

# 启动 Bridge 服务
python3 bridge_server.py --port 8080 --token "xxx"

🔧 组件说明

文件说明
qq_handler.py自然语言配对处理器
bridge_server.pyBridge 服务端
bridge_client.pyBridge 客户端
sync_files.py文件同步

💡 使用场景

场景1:QQ 配对

你:我想连接云端
机器人:📱 发起配对成功!配对码:847291

(你把配对码发给云端用户)

云端用户:配对 847291
机器人:🎉 配对成功!已连接本地电脑

场景2:跨平台配对

本地(QQ):配对 → 收到 582391 → 通过 QQ 发送给云端
云端(Telegram):发送配对请求到 API → 配对成功

📁 文件结构

cloud-local-bridge/
├── SKILL.md
├── scripts/
│   ├── qq_handler.py        # 🆕 自然语言处理器
│   ├── bridge_server.py     # 服务端
│   ├── bridge_client.py    # 客户端
│   └── sync_files.py       # 文件同步
└── references/
    └── EXAMPLES.md

⚠️ 注意事项

  • 配对码 10 分钟后过期
  • 配对状态保存在 ~/.openclaw/bridge_pairing_state.json
  • 确保网络互通

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Digicert

DigiCert integration. Manage Certificates, Orders, Users, Organizations. Use when the user wants to interact with DigiCert data.

Registry SourceRecently Updated
General

Dialpad

Dialpad integration. Manage Users, Groups, Departments, Offices. Use when the user wants to interact with Dialpad data.

Registry SourceRecently Updated
General

Darwinbox

Darwinbox integration. Manage Organizations, Goals, Roles, Projects, Pipelines, Leads and more. Use when the user wants to interact with Darwinbox data.

Registry SourceRecently Updated
General

Creatio

Creatio integration. Manage Leads, Organizations, Users. Use when the user wants to interact with Creatio data.

Registry SourceRecently Updated