nnemirovsky

Peerbus — Security skill for Claude Code

Security community

Agent-agnostic durable message bus for AI agents — WebSocket broker + thin MCP adapters, end-to-end HMAC, blake3 audit.

How to install Peerbus

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nnemirovsky/peerbus and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Peerbus does

Agent-agnostic durable message bus for AI agents — WebSocket broker + thin MCP adapters, end-to-end HMAC, blake3 audit.

Alternatives in Security

  • Security Ownership Map — Map people-to-file ownership, compute bus factor, and identify risks 14.6k ★
  • Mcp-scan (Invariant Labs) — MCP security scanner with proxy mode for real-time scanning without infrastructure changes 1.9k ★
  • Senior Engineering Partner — A stack-agnostic Claude Code skill: strict code reviewer, pair programmer, debugger, and mentor (Python/Bash/A 148 ★

README

:satellite: peerbus — Agent-Agnostic Durable Message Bus

[![Tests](https://github.com/nnemirovsky/peerbus/actions/workflows/test.yml/badge.svg)](https://github.com/nnemirovsky/peerbus/actions/workflows/test.yml) [![Lint](https://github.com/nnemirovsky/peerbus/actions/workflows/lint.yml/badge.svg)](https://github.com/nnemirovsky/peerbus/actions/workflows/lint.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/nnemirovsky/peerbus)](https://goreportcard.com/report/github.com/nnemirovsky/peerbus) [![Release](https://img.shields.io/github/v/release/nnemirovsky/peerbus)](https://github.com/nnemirovsky/peerbus/releases/latest)

One long-lived broker plus thin adapters that let heterogeneous AI agents — Claude Code, Hermes, OpenClaw, Codex CLI, a bespoke bot — send and broadcast durable, end-to-end-signed messages to each other across machines.

Why peerbus

AI agents increasingly run side by side and need to talk to each other. The existing tool for this is single-machine, filesystem-bound, and Claude-only.

**The problem:** [`non4me/cc2cc`](https://github.com/non4me/cc2cc) pioneered Claude-Code-to-Claude-Code messaging, but it conflates the bus with the session. It is single-machine (filesystem transport), Claude-Code-only, and — worst — it spawns a per-session `server.mjs` that orphans when the session ends and burns CPU in the background indefinitely. There is no durable cross-machine bus that any agent runtime can join.

**The solution:** peerbus splits the bus into two parts. One **long-lived, managed broker** holds a durable, at-least-once SQLite queue and a tamper-evident audit log; it outlives every session and is 100% agent-agnostic. Any number of **thin, ephemeral adapter** processes connect to it on behalf of an agent runtime. An adapter dies with the session that owns it; the broker never does. That split designs the cc2cc orphan bug out by construction.

Messages