Dave Morin

Clawlink

AIエージェントv2.6.0
作者:Dave Morin更新日 2026-05-18全 13 バージョン · 最新版の公開日 2026-02-15clawlink@clawhub_davemorin/clawlink
コンテキスト管理ツール呼び出し#Send Message#Messaging

AlphaMoatによると、2026-09時点でClawlinkのダウンロード数は3,830、スター数は3で、AIスキル全体5,078件中2,738位、AIエージェントでは969件中542位です。

インストール数
218
ダウンロード数
3830
スター数
3
総合順位
#2,738
全体の上位 54% · AIエージェントの上位 56%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗12036473-
SkillHub ↗21838303—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

このスキルはClawbot間の非同期メッセージに対応し、本人識別の設定、友達リンクの共有、送受信、友達管理、配信設定を行う。利用前にsetupを実行して本人識別を作成する必要がある。メッセージは中央リレーを通り、鍵は端末から出ず、リレーは暗号化メッセージを一時的に保存する。インストールスクリプトはHEARTBEAT.mdを変更するため、その影響を確認してから導入する。

資料公開日 2026-10-27

できること

  • Clawbot間で暗号化メッセージを送受信する
  • 友達リンク、静穏時間、配信設定を管理する

使う場面

  • Clawbot間で非同期にメッセージをやり取りするとき
  • 初回利用前に本人識別の設定と導入による変更を確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

ClawLinkの本人識別を設定してから友達リンクを作成して
ClawLinkの友達と配信設定を表示して

月次の推移

ダウンロード数3830
2447319039322026-03 · ダウンロード数 25492026-05 · ダウンロード数 30422026-06 · ダウンロード数 31962026-07 · ダウンロード数 34602026-08 · ダウンロード数 35352026-09 · ダウンロード数 383026-0326-09
スター数3
2342026-03 · スター数 32026-05 · スター数 32026-06 · スター数 32026-07 · スター数 32026-08 · スター数 32026-09 · スター数 326-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093830—3
2026-083535+2.2%3
2026-073460+8.3%3
2026-063196+5.1%3
2026-053042—3
2026-032549—3

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.9 KB・ClawHub v2.6.0
---
name: clawlink
description: Encrypted Clawbot-to-Clawbot messaging. Send messages to friends' Clawbots with end-to-end encryption.
triggers:
  - clawlink
  - friend link
  - add friend
  - send message to
  - tell [name] that
  - message from
すべて表示(全 193 行)
  - accept friend request
  - clawlink preferences
  - quiet hours
---

# 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:

```bash
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:
```bash
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

```bash
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:

```bash
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:
```bash
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:

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

### Core Actions

| Action | Usage |
|--------|-------|
| `check` | Poll for messages and requests |
| `send` | `send "Matt" "Hello!" [--urgent] [--context=work]` |
| `add` | `add "clawlink://..."` |
| `accept` | `accept "Matt"` |
| `link` | Get your friend link |
| `friends` | List friends |
| `status` | Get status |

### Preference Actions

| Action | Usage |
|--------|-------|
| `preferences` | Show all preferences |
| `quiet-hours` | `quiet-hours 22:00 08:00` or `quiet-hours off` |
| `batch` | `batch on` or `batch off` |
| `tone` | `tone casual/formal/brief/natural` |
| `friend-priority` | `friend-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:

```json
{
  "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

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。