# Send Clawdio to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawdiocomms",
    "name": "Clawdio",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/JamesEBall/clawdiocomms",
    "canonicalUrl": "https://clawhub.ai/JamesEBall/clawdiocomms",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawdiocomms",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdiocomms",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "package.json",
      "scripts/start.js",
      "src/__tests__/basic.test.ts",
      "src/cli.ts",
      "src/crypto.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "clawdiocomms",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:52:12.094Z",
      "expiresAt": "2026-05-06T13:52:12.094Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdiocomms",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdiocomms",
        "contentDisposition": "attachment; filename=\"clawdiocomms-2.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "clawdiocomms"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clawdiocomms"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawdiocomms",
    "downloadUrl": "https://openagent3.xyz/downloads/clawdiocomms",
    "agentUrl": "https://openagent3.xyz/skills/clawdiocomms/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdiocomms/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdiocomms/agent.md"
  }
}
```
## Documentation

### Clawdio

Secure peer-to-peer communication for AI agents using Telegram as transport. Create a "Clawdio Hub" group, add your bot, and you're ready to connect with other agents securely. Agents perform Noise XX handshake over Telegram, then communicate via encrypted channels.

### When to Use

Secure agent-to-agent communication via Telegram
Task delegation between agents on different machines
Distributed AI workflows requiring encrypted P2P messaging
Cross-platform agent coordination without port forwarding

### Why Telegram

✅ Always online — No port forwarding, NAT, or server setup
✅ Reliable delivery — Messages queue when peers offline
✅ Universal access — Works from anywhere with internet
✅ Battle-tested — Handles billions of messages daily
✅ OpenClaw integration — Simple message tool for send/receive
✅ Offline resilience — Messages delivered when peer comes back online

### First Time Setup (Your Agent)

Install Clawdio: clawhub install clawdiocomms
Create a Telegram group called "Clawdio Hub"
Add your OpenClaw bot to the group
Send your agent the group ID (or agent auto-detects it)
Your agent generates your identity and you're ready

### Connecting to a Peer

Share your public key with your friend
Your friend does the same setup on their end
Your friend shares their public key + their Clawdio Hub group ID with you
Your agent creates a topic/thread in your Clawdio Hub for this peer (e.g. "James <> Alex")
Connection request sent — friend's agent asks for consent
Friend approves
Noise XX handshake happens over Telegram messages in the dedicated topics
You're connected — encrypted comms flowing

### Human Verification (Optional but Recommended)

Meet in person
Both run: compare 6-word verification codes
If they match, mark as human-verified

### Technical Setup

cd projects/clawdio && npm install && npx tsc

### Quick Start

const { Clawdio } = require('./projects/clawdio/dist/index.js');

// Create two nodes
const alice = await Clawdio.create({ autoAccept: true });
const bob = await Clawdio.create({ autoAccept: true });

// Wire transport (agents decide HOW to send)
alice.onSend((peerId, msg) => bob.receive(alice.publicKey, msg));
bob.onSend((peerId, msg) => alice.receive(bob.publicKey, msg));

// Connect (Noise XX handshake)
const aliceId = await bob.connect(alice.publicKey);

// Send messages
await bob.send(aliceId, { task: "What's the weather?" });
alice.onMessage((msg, from) => console.log(msg.task));

### Using with Telegram (via OpenClaw)

const node = await Clawdio.create({ owner: 'James' });

// Send via Telegram
node.onSend((peerId, base64Message) => {
  // Use OpenClaw's message tool to send to peer's Telegram
  sendTelegramMessage(peerId, base64Message);
});

// When receiving a Telegram message from peer:
node.receive(peerId, base64EncodedMessage);

### Connection Consent

Unknown inbound peers require explicit consent:

node.on('connectionRequest', (req) => {
  console.log(\`Peer: ${req.id}, Fingerprint: ${req.fingerprint}\`);
  node.acceptPeer(req.id);  // or node.rejectPeer(req.id)
});

### Human Verification

const code = node.getVerificationCode(peerId); // "torch lemon onyx prism jade index"
// Compare codes in person, then:
node.verifyPeer(peerId);

### Persistent Identity

const node = await Clawdio.create({ identityPath: '.clawdio-identity.json' });

### API Reference

MethodDescriptionClawdio.create(opts)Create and initialize a nodenode.onSend(handler)Register send handler (transport layer)node.receive(from, b64)Feed incoming message from transportnode.connect(peerId)Initiate Noise XX handshakenode.send(peerId, msg)Send encrypted messagenode.onMessage(handler)Listen for decrypted messagesnode.acceptPeer(id)Accept pending connectionnode.rejectPeer(id)Reject pending connectionnode.getVerificationCode(id)Get 6-word verification codenode.verifyPeer(id)Mark peer as human-verifiednode.getPeerTrust(id)Get trust levelnode.getFingerprint(id)Emoji fingerprintnode.getPeerStatus(id)alive/stale/downnode.stop()Shutdown

### Security Properties

Forward secrecy (ephemeral X25519 keys)
Mutual authentication (Noise XX)
Replay protection (monotonic counters)
XChaCha20-Poly1305 AEAD encryption
Connection consent for inbound peers
Human verification via 6-word codes

### Dependencies

Single production dependency: libsodium-wrappers.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JamesEBall
- Version: 2.2.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T13:52:12.094Z
- Expires at: 2026-05-06T13:52:12.094Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawdiocomms)
- [Send to Agent page](https://openagent3.xyz/skills/clawdiocomms/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawdiocomms/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawdiocomms/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawdiocomms)