Overview
- Skill Key
- dfshmily/agent-communication
- Author
- dfshmily
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/dfshmily/agent-communication
- Latest Commit SHA
- 97357fc55a94c9daab10761b97c7d45192deda0e
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Agent Communication 技能。 若已安装,则直接安装 Agent Communication 技能。
# Agent Communication Skill
一个通用的 Agent 间沟通技能,基于 **WebSocket** 实现实时双向通信,解决多 Agent 团队协作中的沟通问题。
## 技术架构
### 🚀 WebSocket 实时通信
```
┌─────────────────────────────────────────────────────┐
│ WebSocket 消息代理架构 │
├─────────────────────────────────────────────────────┤
│ │
│ Agent A ◄────► WebSocket ◄────► Agent B │
│ Server │
│ Agent C ◄──────────────────────► Agent D │
│ │
│ ✅ 实时双向通信 │
│ ✅ 无需轮询 │
│ ✅ 延迟 <50ms │
│ ✅ 离线消息队列 │
└─────────────────────────────────────────────────────┘
```
## 核心功能
- 🚀 **WebSocket 实时通信** - 高性能双向通信
- 📨 **消息传递** - Agent 之间快速发送消息
- 📢 **广播消息** - 一次发送给多个 Agent
- 🗂️ **共享工作空间** - 文件驱动的协作
- 🟢 **状态同步** - Agent 在线状态检测
- 💾 **离线消息** - 离线 Agent 自动排队
## 安装
```bash
# 安装依赖
pip install websockets
# 通过 ClawHub 安装
openclaw skill install agent-communication
```
## 使用方法
### 1. 启动消息代理(WebSocket 服务器)
```bash
python3 scripts/broker.py
```
### 2. 发送消息
```bash
# WebSocket 模式(优先)
python3 scripts/send.py --from pm --to dev --message "开始开发"
# 文件模式(回退)
python3 scripts/send.py --from pm --to dev --message "开始开发" --file
```
### 3. Agent 客户端连接
```python
import asyncio
from websocket_client import AgentClient
async def main():
client = AgentClient("pm", "ws://localhost:8765")
# 连接并监听
async def handle_message(msg):
print(f"收到消息: {msg}")
await client.run(handle_message)
asyncio.run(main())
```
## 性能指标
| 指标 | 文件方案 | WebSocket 方案 |
|------|---------|------------...
# Agent Communication Skill <div align="center"> 一个通用的 **Agent间沟通技能**,基于 **WebSocket** 实现实时双向通信 [](https://clawhub.ai/skills/agent-communication) [](#websocket架构) [](#测试报告) </div> --- ## 🚀 核心技术:WebSocket 实时通信 ### WebSocket 架构 ``` ┌─────────────────────────────────────────────────────┐ │ WebSocket 消息代理架构 │ ├─────────────────────────────────────────────────────┤ │ │ │ Agent A ◄────► WebSocket ◄────► Agent B │ │ Server │ │ Agent C ◄──────────────────────► Agent D │ │ │ │ ✅ 实时双向通信 │ │ ✅ 无需轮询 │ │ ✅ 延迟 <1ms │ │ ✅ 离线消息队列 │ └─────────────────────────────────────────────────────┘ ``` --- ## 🎯 解决的问题 | 问题 | 解决方案 | |------|---------| | `sessions_send` 超时 | **WebSocket 实时通信** | | Agent 无法直接沟通 | 消息代理转发 | | 团队协作效率低 | 即时消息传递 | --- ## ✨ 核心功能 - 🚀 **WebSocket 实时通信** - 高性能双向通信(延迟 <1ms) - 📨 **消息传递** - Agent 之间快速发送消息 - 📢 **广播消息** - 一次发送给多个 Agent - 🗂️ **共享工作空间** - 文件驱动的协作 - 🟢 **状态同步** - Agent 在线状态检测 - 💾 **离线消息队列** - 离线 Agent 自动排队 --- ## 📦 安装 ```bash # 安装依赖 pip install websockets # 通过 ClawHub 安装 openclaw skill install agent-communication # 或手动安装 git clone https://github.com/DFshmily/agent-communication.git ``` --- ## 🚀 快速开始 ### 1. 启动 WebSocket 消息代理 ```bash python3 scripts/broker.py ``` 服务器将在 `ws://lo...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
carlulsoe
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.
carlzhao007
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。
cartoonitunes
BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.
camopel
Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.