← Back to Skills Marketplace
imgolye

Agent Communication Hub

by imgolye · GitHub ↗ · v0.1.0
cross-platform ✓ Security Clean
325
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install agent-communication-hub
Description
Provide agent-to-agent communication for OpenClaw skills with direct messaging, broadcast delivery, pub/sub events, session tracking, offline queues, and SQL...
README (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.
Usage Guidance
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.
Capability Analysis
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'.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-communication-hub
  3. After installation, invoke the skill by name or use /agent-communication-hub
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release
Metadata
Slug agent-communication-hub
Version 0.1.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 325 downloads so far.

How do I install Agent Communication Hub?

Run "/install agent-communication-hub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Communication Hub free?

Yes, Agent Communication Hub is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Agent Communication Hub support?

Agent Communication Hub is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Communication Hub?

It is built and maintained by imgolye (@imgolye); the current version is v0.1.0.

💬 Comments