← 返回 Skills 市场
imgolye

Agent Communication Hub

作者 imgolye · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
325
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-communication-hub
功能描述
Provide agent-to-agent communication for OpenClaw skills with direct messaging, broadcast delivery, pub/sub events, session tracking, offline queues, and SQL...
使用说明 (SKILL.md)

Agent Communication Hub

Use this skill when multiple agents need a shared communication layer with durable delivery and session awareness.

What It Provides

  • Point-to-point, private, and broadcast messaging
  • Event publish/subscribe with subscription filters
  • Agent registration, presence tracking, and session history
  • Offline message queueing, persistence, and acknowledgements
  • SQLite-backed audit history for messages and events

Project Layout

  • src/CommunicationHub.ts: Main entry point that coordinates messaging, storage, queueing, and acknowledgements
  • src/EventBus.ts: Event publish/subscribe, replay, and filter evaluation
  • src/SessionManager.ts: Agent lifecycle, presence, and session history
  • tests/: Vitest coverage for messaging, sessions, queueing, and events
  • examples/: Minimal runnable example

Workflow

  1. Create a CommunicationHub with a SQLite database path.
  2. Register agents through SessionManager.
  3. Connect or disconnect agents to update presence state.
  4. Send direct, private, or broadcast messages through CommunicationHub.
  5. Subscribe agents to event types through EventBus.
  6. Publish events and replay history when needed.
  7. Acknowledge delivered messages to complete queue processing.

Notes

  • Broadcast delivery fans out to all registered agents except the sender.
  • Offline direct messages remain queued until the recipient connects or explicitly drains the queue.
  • Event filters use exact key/value matching against event payload fields.
  • Message and event payloads are stored as JSON for flexible schemas.
安全使用建议
This skill appears internally consistent and implements the described messaging hub. Before installing or running it: (1) be prepared to run npm install/build (better-sqlite3 is a native dependency that may compile), (2) supply a safe dbPath (do not point it at system-critical files or directories), (3) review the included source if you have security concerns (there are no network calls or env-var access), and (4) run the tests/examples in an isolated environment if you want to validate behavior before using it in production. Autonomous invocation is allowed by default on the platform (disable if you do not want the agent to call the skill without explicit user prompts), but that is a platform-level behavior and not specific to this skill.
功能分析
Type: OpenClaw Skill Name: agent-communication-hub Version: 0.1.0 The agent-communication-hub skill provides a legitimate local messaging and event synchronization layer for agents using SQLite. The implementation uses parameterized queries in 'src/db.ts' and 'src/CommunicationHub.ts' to safely handle data, and there is no evidence of network exfiltration, unauthorized file access, or malicious prompt injection instructions in 'SKILL.md'.
能力评估
Purpose & Capability
The name and description match the code and SKILL.md: the package implements messaging, pub/sub, session tracking, offline queues, and SQLite-backed persistence. All required functionality (message queueing, event subscriptions, session management) is implemented in the included sources.
Instruction Scope
Runtime instructions in SKILL.md stay within scope (create hub, register/connect agents, send/subscribe/publish, drain queues). The instructions do not ask the agent to read unrelated files, environment variables, or send data to external network endpoints. The code also contains no network calls or references to external endpoints.
Install Mechanism
The registry metadata lists no install spec (instruction-only), but the package includes TypeScript sources and a package.json with a native dependency (better-sqlite3). Building/running this skill in practice requires npm/yarn and a native build step for better-sqlite3; there is no untrusted URL download or obfuscated installer. This is expected for a local TypeScript library but worth noting because installing npm dependencies and compiling native modules has operational implications.
Credentials
The skill requires no environment variables or credentials, which is appropriate. One proportionality note: the hub persists to a SQLite file path provided by the caller (dbPath). That capability is necessary for durable storage but means a caller-provided path determines where files are written—avoid passing sensitive system paths or locations with privileged data.
Persistence & Privilege
The skill does not request persistent platform privileges (always is false) and does not modify other skills or global agent settings. Its persistence is limited to its own SQLite DB and normal file system access when a dbPath is supplied.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-communication-hub
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-communication-hub 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug agent-communication-hub
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Agent Communication Hub 是什么?

Provide agent-to-agent communication for OpenClaw skills with direct messaging, broadcast delivery, pub/sub events, session tracking, offline queues, and SQL... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 325 次。

如何安装 Agent Communication Hub?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-communication-hub」即可一键安装,无需额外配置。

Agent Communication Hub 是免费的吗?

是的,Agent Communication Hub 完全免费(开源免费),可自由下载、安装和使用。

Agent Communication Hub 支持哪些平台?

Agent Communication Hub 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Communication Hub?

由 imgolye(@imgolye)开发并维护,当前版本 v0.1.0。

💬 留言讨论