← 返回 Skills 市场
A2a Server
作者
yuyonghao-123
· GitHub ↗
· v0.1.1
· MIT-0
210
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install yuyonghao-a2a-server
功能描述
基于 WebSocket 的多智能体 P2P 通信服务器,支持低延迟消息转发、RPC 调用、发布/订阅、能力发现及离线消息队列。
安全使用建议
This skill appears to implement the described WebSocket A2A server and client (source files are included), but before installing or running it you should: 1) Review src/server.js and src/client.js for how connections are authenticated and whether any unauthenticated commands are accepted — the README says trust-chain and message signing are TODO. 2) Do not expose the server to the public Internet without adding authentication, TLS/wss, and message-signing, and run it inside an isolated network or sandbox for testing. 3) Inspect package.json / package-lock.json to see which npm dependencies are pulled in and scan them for known vulnerabilities. 4) Prefer an upstream repository or published homepage (none is provided) so you can track updates and maintainers; ask the publisher for the canonical GitHub URL. 5) Run the test suite locally and audit logs/telemetry to ensure no unexpected external endpoints are contacted. Overall the package is coherent with its stated purpose but contains explicit TODOs for security features — treat it as prototype code, not production-ready infrastructure.
功能分析
Type: OpenClaw Skill
Name: yuyonghao-a2a-server
Version: 0.1.1
The skill bundle implements a functional WebSocket-based Agent-to-Agent (A2A) communication system, including a server (src/server.js) and a client (src/client.js). It supports standard P2P messaging patterns such as RPC calls, Publish/Subscribe, and capability discovery. The documentation (SKILL.md and README.md) is comprehensive and accurately describes the code's logic. While the implementation currently lacks authentication and message signing, these are explicitly documented as pending features in the implementation notes. No evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力评估
Purpose & Capability
Name/description (A2A WebSocket P2P server) match the included files (src/server.js, src/client.js, index.js) and examples. The code and docs provide RPC, pub/sub, discovery and offline queue features that align with the stated purpose.
Instruction Scope
SKILL.md instructs cloning and running npm install / npm start and demonstrates connecting clients; it does not instruct reading unrelated system files or exfiltrating secrets. Important security note: the README explicitly marks 'trust chain authorization' and 'message signing' as '待实现' (TODO), which implies the server currently lacks authentication/cryptographic protections — the docs show no guidance for securing or authenticating agents, so running an instance may accept unauthenticated peers.
Install Mechanism
No special install spec in the registry; SKILL.md suggests cloning repository and running 'npm install', which is a normal developer install path. All included files are present in the package manifest; there are no opaque external download URLs or extract-from-URL steps in the registry metadata.
Credentials
The skill declares no required environment variables or credentials. SKILL.md lists optional runtime vars (A2A_PORT, A2A_HOST, A2A_VERBOSE). That matches the expected needs for a local WebSocket server. However, absence of required credentials corresponds to missing authentication features in the implementation (documented as TODO).
Persistence & Privilege
Flags show always:false and normal autonomous invocation settings. The skill does not request persistent platform-wide privileges, nor does it declare config paths or attempt to modify other skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yuyonghao-a2a-server - 安装完成后,直接呼叫该 Skill 的名称或使用
/yuyonghao-a2a-server触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Updated dependencies in `package.json` for improved stability and compatibility.
- No changes to functionality or API.
v0.1.0
Enhanced A2A server with 23 tests passing
元数据
常见问题
A2a Server 是什么?
基于 WebSocket 的多智能体 P2P 通信服务器,支持低延迟消息转发、RPC 调用、发布/订阅、能力发现及离线消息队列。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。
如何安装 A2a Server?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuyonghao-a2a-server」即可一键安装,无需额外配置。
A2a Server 是免费的吗?
是的,A2a Server 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
A2a Server 支持哪些平台?
A2a Server 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 A2a Server?
由 yuyonghao-123(@yuyonghao-123)开发并维护,当前版本 v0.1.1。
推荐 Skills