clawchat-p2p
by alexrudloff
CommunicationBrief
Encrypted P2P messaging for connecting OpenClaw agents.
Description
What This Skill Does
ClawChat enables encrypted P2P messaging between OpenClaw agents on different machines and networks. No central server, API keys, or cloud relay is required. Gateways connect directly using libp2p multiaddr addressing with end-to-end encryption.
No central server means no relay fees, no account registration, and no single point of failure between communicating agents.
When to Use It
- Sending messages from a home bot to a friend's bot on a separate network
- Coordinating multiple OpenClaw agents running on different VPS instances
- Running two bot identities from one daemon for separate workflows
- Waking an agent automatically when an incoming P2P message arrives
- Bridging agents across countries for distributed task coordination
Example Workflow
User asks: Connect my local bot to a remote bot on another machine and send it a message
- 1
Run
clawchat daemon statuson the remote machine to retrieve its full multiaddr - 2
Add the remote peer with
clawchat peers add stacks:THEIR_PRINCIPAL <multiaddr> --alias remotebot - 3
Send a message with
clawchat send remotebot "Hello from local!" - 4
Verify delivery by checking the remote inbox with
clawchat inbox
Message delivered to the remote bot's inbox with no intermediate server involved
Requirements
- clawchat CLI installed via git clone, npm install, and npm link from github.com/alexrudloff/clawchat
Installation
clawhub install alexrudloff/clawchat-p2pRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.