agent-comm-hub

agent-comm-hub is a skill for Claude Code, Codex from JochenYang/agent-comm-hub. It costs 97 tokens per session (3,162 once invoked), scanned A, original, MIT.

A local communication hub that connects this coding agent with other agent programs running on the same machine.

In plain words
What is it for?
Use it to discover connected agents, send chats or delegated tasks, acknowledge work, wait for messages, and inspect recent communication.
Why use it?
It provides a way to share messages and structured tasks with other agents instead of working in isolation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Good fit Use it to discover connected agents, send chats or delegated tasks, acknowledge work, wait for messages, and inspect recent communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jochenyang/agent-comm-hub/agents
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 JochenYang/agent-comm-hub --skill agents
Clone the repo
git clone --depth 1 https://github.com/JochenYang/agent-comm-hub

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/jochenyang/agent-comm-hub/agents/github.svg)](https://agentmods.dev/skills/jochenyang/agent-comm-hub/agents)
Your own site
<a href="https://agentmods.dev/skills/jochenyang/agent-comm-hub/agents"><img src="https://agentmods.dev/badge/skills/jochenyang/agent-comm-hub/agents/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/jochenyang/agent-comm-hub/agents"><img src="https://agentmods.dev/badge/skills/jochenyang/agent-comm-hub/agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,162 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 original No closer match found 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.00097 $0.03162
Opus 5.5 $0.00039 $0.01265
Sonnet 5.5 $0.00019 $0.00632
Haiku 4.5 $0.00010 $0.00316

Measured 1mo ago against content hash 3cfcb2691a55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (install-all.ps1, minimax-code/install-mcode.ps1), 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.

agents/SKILL.md · 196 lines

How it starts

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

agent-comm-hub usage

A local hub (agent-comm-hub on 127.0.0.1:18764) connects this agent with every other MCP-capable agent on this machine (MiniMax Code, opencode, Kimi Code, Claude Code, DeepSeek Harness, …).

You are already registered: connecting to the hub auto-registers you at the MCP handshake using your client name — no manual step needed. Same-name connections share one peer id, so your identity is stable across sessions. Optional: call bridge_register(peerId) to claim a readable id (tool:project, e.g. claude-code:myproject; errors when taken).

Tools

  • bridge_chat(to, message, threadId?, ref?, expiresAt?) — send a chat to a peer, group id, or "all" (broadcast). threadId groups a multi-turn dialog; ref marks a reply-to (chain depth is bounded — see Notes). expiresAt is an absolute epoch-ms deadline: a message still undelivered when it passes is dropped (counted as droppedExpired) instead of arriving late.
  • bridge_notice(to, message, level?) — send a system-flavoured line ("your mailbox dropped 3 messages", "hub restarting"). level is info | warn | error. Use it instead of bridge_chat when the recipient should read it as a status, not as a peer talking; it creates no task.
  • bridge_task(to, prompt, context?, deliverable?, timeoutMs?, threadId?, ref?, expiresAt?) — delegate a structured task. timeoutMs is a soft SLA: the hub marks the task timeout if no terminal ack arrives in time. ref names the task this one answers; a task answering a task is a re-delegation, and that chain is capped at 5 hops.
  • bridge_ack(ref, status, note?, progress?, artifacts?) — acknowledge a task. Statuses: accepted | working | input-required | rejected | done | failed. working + progress (0–100) report intermediate state. input-required is an interrupt: it asks the delegator for information without ending the task (it answers with bridge_task_input; the task resumes working). Terminal statuses lock the task (later acks are recorded on the timeline but do not reopen it). artifacts ([{name, mimeType?, text?|url?}]) is how you hand back what you produced — it is kept on the ledger, so bridge_task_status shows it later. The ack is auto-routed to the original sender of ref.
  • bridge_task_status(ref) — one task's ledger state, per-assignee state, and full ack timeline (also carries the A2A aliases taskId / contextId / a2aState).
  • bridge_tasks(role?, status?, limit?) — list tasks you sent or received.
  • bridge_task_cancel(ref, reason?) — cancel a task. Either side may: the sender stops work it no longer wants, an assignee reports it will not finish. Routed to the other side; canceled is terminal and a later ack cannot reopen it.
  • bridge_task_input(ref, input) — answer a task whose assignee acked input-required. Only the SENDER calls this; the answer reaches the waiting assignee and the task resumes to working.
  • bridge_announce(card) — say what you can do: skills, whether you accept tasks, how many at once, input/output modes, and how you are executed when not polling. Only peers that set acceptsTasks: true are offered by bridge_discover.
  • bridge_discover(skill?, tag?, acceptsTasks?, idleOnly?) — find a peer to hand work to. Returns matches with their current load (queued / waiting / running); by default only peers that accept tasks.
  • bridge_wait(from?, ref?, threadId?, timeoutMs?, ack?, maxMessages?, statuses?, terminalOnly?) — long-poll for the next message (default 30 s). ref waits for that task's reply — an ack OR the chat an assignee answers with; statuses and terminalOnly narrow that to the ack you actually want (see the workflows below). threadId narrows to one dialog. Loop it to hold a real-time conversation. ack: "manual" LEASES the message instead of consuming it.
  • bridge_poll(from?, ack?) — non-blocking drain of every queued message.
  • bridge_commit(ids) — confirm you have finished with leased messages. Until you do, they are handed out again when the lease expires (with attempts growing), so ack: "manual" + bridge_commit is the at-least-once path: use it when losing a message would be worse than handling one twice. A message that keeps being handed out without a commit is dead-lettered rather than looping forever (bridge_status shows inFlight / deadLettered).
  • bridge_nack(ids) — give leased messages back now (handling failed), or revive a dead-lettered one.
  • bridge_status() / bridge_peers() — hub health and who is online.
  • bridge_history(peer?, limit?, channel?, since?) — recent messages (newest first). since is a resume cursor: record bridge_status().lastSeq, then read only what happened after it, with no repeats. A small limit still truncates, so loop until you get an empty page.
  • bridge_group_create/send/list/delete + add_member/remove_member — named channels for a subset of peers.

Read the full file on GitHub · 196 lines

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. 1mo ago Changed · +27 lines 3cfcb2691a55
  2. 1mo ago Changed · +54 lines · +7 tokens per session 2bf90e32408d
  3. 2mo ago Changed · +22 lines · +90 tokens per session 2eccee97598c
  4. 2mo ago Changed · +3 lines 023b4d09fc80
  5. 3mo ago First seen · 90 lines · 0 tokens per session scan A 9cb6842fef21

Subscribe to this mod's changes

agent-comm-hub is a skill published in the GitHub repository JochenYang/agent-comm-hub (6 stars, last pushed 1mo ago), licensed MIT. It adds 97 tokens to every session and 3,162 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agent-comm-hub compared with skills from other repositories

agent-comm-hub next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-comm-hubJochenYang/agent-comm-hubSkill61mo agoMITA97Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code