agent-comm-hub

agent-comm-hub is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 152 tokens per session (4,646 once invoked), scanned A, a copy of agent-comm-hub, MIT.

A communication and task-management service for multiple AI agents. It lets independent agents exchange messages, assign work, share memories, and share strategies through a central hub.

In plain words
What is it for?
Use it to register agents, send messages, assign and track tasks, deliver live event notifications, and share knowledge between agents.
Why use it?
It gives separate agents a common place to coordinate instead of requiring each pair of agents to communicate directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to register agents, send messages, assign and track tasks, deliver live event notifications, and share knowledge between agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/agent-comm-hub
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,139 stars · on GitHub · myclaw.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeoYeAI/openclaw-master-skills --skill agent-comm-hub
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-comm-hub

README.md
[![agentmods](https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-comm-hub/github.svg)](https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-comm-hub)
Your own site
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-comm-hub"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-comm-hub/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-comm-hub

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/agent-comm-hub"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/agent-comm-hub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00152 $0.04646
Opus 5 $0.00076 $0.02323
Sonnet 5 $0.00030 $0.00929
Haiku 4.5 $0.00015 $0.00465

Measured 8d ago against content hash db09bf56f458, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

agent-comm-hub scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 45 executable files (client-sdk/agent-client.d.ts, client-sdk/agent-client.js, client-sdk/agent-client.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to agent-comm-hub — 43 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agent-comm-hub/SKILL.md · 377 lines

How it starts

The opening of the file, as written. The whole thing — 377 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Communication Hub

多智能体实时通信与任务调度基础设施 — v2.4.2

让两个或多个独立 AI 智能体之间实现实时双向通信任务自动调度记忆共享策略进化。基于 MCP 协议 + SSE 推送,消息零丢失,延迟 < 50ms。

架构概览

┌──────────────┐         ┌──────────────────────────────┐         ┌──────────────┐
│   Agent A    │  SSE    │   Agent Communication Hub    │  SSE    │   Agent B    │
│  (Hermes)    │◄───────►│  (stdio / HTTP:3100)       │◄───────►│ (WorkBuddy)  │
│              │  MCP    │                              │  MCP    │              │
└──────────────┘◄───────►│  SQLite WAL + 30 表          │◄───────►└──────────────┘
                          │  53 MCP 工具 + 4 级权限      │
                          │  进化引擎 + 策略闭环          │
                          └──────────────┬──────────────┘
                                         │
                                    SQLite (WAL)

三层协议

协议 用途 延迟
MCP 工具层 stdio / HTTP POST + JSON-RPC 结构化操作(发消息、分配任务、查状态) <50ms
SSE 推送层 Server-Sent Events 实时事件通知(新消息、新任务、策略审批) <50ms
REST API 层 HTTP GET/PATCH 轻量查询(运维监控、自动化脚本) <50ms

核心能力

53 个 MCP 工具(v2.4.2)

Identity 身份 (6)
工具 功能
register_agent 注册新 Agent,获取 agent_id 和 API token(public,无需认证)
heartbeat Agent 心跳上报,维持在线状态,每 3 次连续心跳 trust_score +1
query_agents 查询 Agent 列表,支持状态/角色筛选
revoke_token 吊销指定 Agent 的 API token(admin)
set_trust_score 调整 Agent 信任分数(admin)
get_online_agents 获取当前在线 Agent 列表
Message 消息 (5)
工具 功能
send_message Agent 间点对点消息,支持 Markdown,自动去重(sha256)
broadcast_message 群发消息给多个 Agent
acknowledge_message 确认已读消息,防止重复出现
search_messages 全文搜索消息历史
batch_acknowledge_messages 批量确认消息(1-500 条/次),用于清理消息积压
File 文件 (3)
工具 功能
upload_file 上传文件附件(Base64,10MB 限制),关联到消息
download_file 下载附件,返回 Base64 编码内容
list_attachments 列出附件,支持按消息/Agent 筛选
Task 任务 (3)
工具 功能
assign_task 创建并分配任务,支持上下文传递
update_task_status 更新任务状态(inbox→assigned→in_progress→completed/failed)
get_task_status 查询任务详情,含依赖、Pipeline、Handoff 信息

Read the full file on GitHub · 377 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 377 lines · 152 tokens per session scan A db09bf56f458

Subscribe to this mod's changes

agent-comm-hub is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,139 stars, last pushed 1mo ago), licensed MIT. It adds 152 tokens to every session and 4,646 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to agent-comm-hub, differing in 43 lines, and is treated as a copy.