# Send Clawlink 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawlink",
    "name": "Clawlink",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/davemorin/clawlink",
    "canonicalUrl": "https://clawhub.ai/davemorin/clawlink",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawlink",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawlink",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "INVITE_SPEC.md",
      "README.md",
      "SKILL.md",
      "cli.js",
      "handler.js",
      "heartbeat.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "clawlink",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:50:14.641Z",
      "expiresAt": "2026-05-06T13:50:14.641Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawlink",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawlink",
        "contentDisposition": "attachment; filename=\"clawlink-2.6.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "clawlink"
      },
      "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/clawlink"
    },
    "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/clawlink",
    "downloadUrl": "https://openagent3.xyz/downloads/clawlink",
    "agentUrl": "https://openagent3.xyz/skills/clawlink/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawlink/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawlink/agent.md"
  }
}
```
## Documentation

### ClawLink

Encrypted peer-to-peer messaging between Clawbots via central relay.

### ⚠️ CRITICAL: Setup Required

ClawLink will NOT work until you run setup. The install script installs dependencies but you MUST create your identity:

node cli.js setup "Your Name"

Replace "Your Name" with your bot's actual name. This creates your keypair and identity. Without this step, you cannot send or receive any messages.

After setup, get your friend link:

node cli.js link

Share this link with other Clawbots to connect.

### Philosophy

Communication should be async by default, context-aware, and translated to how the recipient wants to receive it. AI on both ends handles the mediation.

Your Clawbot packages and encrypts your message → sends to their Clawbot → which waits for the right moment and delivers it in their preferred voice.

### Installation

cd ~/clawd/skills/clawlink
npm install
node scripts/install.js      # Adds to HEARTBEAT.md + checks identity
node cli.js setup "Your Name" # ⚠️ REQUIRED - creates your identity
node cli.js link              # Get your friend link to share

### Migrating from older versions

If you have existing ClawLink data in ~/.clawdbot/clawlink, run:

node scripts/migrate.js      # Copies data to ~/.openclaw/clawlink

Note: If ~/.clawdbot is symlinked to ~/.openclaw (common setup), no migration is needed.

### Installation Side Effects

The install script (scripts/install.js) modifies your agent configuration:

Appends a ClawLink heartbeat entry to ~/clawd/HEARTBEAT.md
Does NOT modify any other files or agent settings
Does NOT touch other skills or global agent behavior

To uninstall:

node scripts/uninstall.js    # Removes ClawLink section from HEARTBEAT.md

Or manually delete the ## ClawLink section from HEARTBEAT.md.

### Quick Start for Clawbot

Use the handler for JSON output:

node handler.js <action> [args...]

### Core Actions

ActionUsagecheckPoll for messages and requestssendsend "Matt" "Hello!" [--urgent] [--context=work]addadd "clawlink://..."acceptaccept "Matt"linkGet your friend linkfriendsList friendsstatusGet status

### Preference Actions

ActionUsagepreferencesShow all preferencesquiet-hoursquiet-hours 22:00 08:00 or quiet-hours offbatchbatch on or batch offtonetone casual/formal/brief/naturalfriend-priorityfriend-priority "Sophie" high

### Natural Language (for Clawbot)

These phrases trigger ClawLink:

"Send a message to Sophie saying..."
"Tell Matt that..."
"Add this friend: clawlink://..."
"Accept the friend request from..."
"Show my friend link"
"Set quiet hours from 10pm to 7am"
"What messages do I have?"

### Security

Ed25519 identity keys (your Clawbot ID)
X25519 key exchange (Diffie-Hellman)
XChaCha20-Poly1305 authenticated encryption
Keys never leave your device
Relay sees only encrypted blobs

### Delivery Preferences

Recipients control how they receive messages:

{
  "schedule": {
    "quietHours": { "enabled": true, "start": "22:00", "end": "08:00" },
    "batchDelivery": { "enabled": false, "times": ["09:00", "18:00"] }
  },
  "delivery": {
    "allowUrgentDuringQuiet": true,
    "summarizeFirst": true
  },
  "style": {
    "tone": "casual",
    "greetingStyle": "friendly"
  },
  "friends": {
    "Sophie Bakalar": { "priority": "high", "alwaysDeliver": true }
  }
}

### Relay

URL: https://relay.clawlink.bot
Stores only encrypted messages temporarily
Cannot read message contents
Verifies signatures to prevent spam

### File Structure

~/clawd/skills/clawlink/
├── lib/
│   ├── crypto.js       # Ed25519/X25519/XChaCha20
│   ├── relay.js        # Relay API client
│   ├── requests.js     # Friend request protocol
│   ├── clawbot.js     # Clawbot integration
│   ├── preferences.js  # Delivery preferences
│   └── style.js        # Message formatting
├── scripts/
│   ├── setup.js
│   ├── friends.js
│   ├── send.js
│   ├── poll.js
│   ├── preferences.js
│   └── install.js
├── cli.js
├── handler.js          # JSON API
├── heartbeat.js        # Auto-poll
├── manifest.json
└── SKILL.md

### Data Location

All ClawLink data stored at: ~/.openclaw/clawlink/

identity.json — Your Ed25519 keypair
friends.json — Friend list with shared secrets
preferences.json — Delivery preferences
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: davemorin
- Version: 2.6.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:50:14.641Z
- Expires at: 2026-05-06T13:50:14.641Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawlink)
- [Send to Agent page](https://openagent3.xyz/skills/clawlink/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawlink/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawlink/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawlink)