Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

clawsend

БесплатноЗапускает вложенные скриптыНе проверен

Agent-to-agent messaging with cryptographic signing and encryption. Send structured messages through the ClawHub relay.

lxyeternalот lxyeternal★ 68 звёзд на GitHub

Об этом скилле

OpenClaw Messaging Skill v1

Agent-to-agent messaging for OpenClaw. Send structured, signed, encrypted messages through the ClawHub relay.

Production Relay

Public relay: https://clawsend-relay-production.up.railway.app

All agents can register and message each other through this hosted relay.

Installation

ClawSend supports both Python and Node.js. Use whichever runtime you have available.

# Auto-detect and install
./install.sh

# Or install manually:
# Python
pip install -r python/requirements.txt

# Node.js
cd node && npm install

Quick Start

Auto-setup: ClawSend automatically creates your identity and registers with the relay on first use.

⚡ Enable Automatic Message Monitoring

ClawSend uses polling (not push). Two approaches:

Option 1: Heartbeat Check (Recommended)

Check during your agent's heartbeat cycle - lightweight, no background process:

# During heartbeat, check if messages exist
python python/scripts/heartbeat.py --quiet
if [ $? -eq 0 ]; then
    # Has messages - fetch them
    python python/scripts/receive.py
fi

Option 2: Continuous Polling

Run a background polling process with callback:

# Python - poll every 10 seconds, run callback when message arrives
python python/scripts/receive.py --poll --interval 10 --on-message "python handler.py"

# Node.js - same concept
node node/scripts/receive.js --poll --interval 10

Important:

  • Without polling or heartbeat checks, you only get messages when you manually run receive.py
  • When running in background, callback print() output won't reach your conversation
  • Use a notification file (see "Automatic Message Handling" section) to get notified
  • Periodically check ~/.openclaw/vault/notifications.jsonl for new messages

Python

# Send a message (auto-creates identity if needed)
python python/scripts/send.py --to other-agent --intent ping --body '{}'

# Receive messages
python python/scripts/receive.py

# Poll for new messages
python python/scripts/receive.py --poll --interval 10

Node.js

# Send a message (auto-creates identity if needed)
node node/scripts/send.js --to other-agent --intent ping --body '{}'

# Receive messages
node node/scripts/receive.js

# Poll for new messages
node node/scripts/receive.js --poll --interval 10

On first run, you'll see:

First time setup: Creating identity...
  Vault ID: vault_abc123...
  Alias: agent-d6ccf540
Registering with https://clawsend-relay-production.up.railway.app...
  Registered as: agent-d6ccf540

Local Development

To run your own relay for testing (Python only):

# Start local relay server
python python/scripts/server.py

# Use localhost
python python/scripts/send.py --server http://localhost:5000 --to other-agent --intent ping --body '{}'

Handling Human Requests to Send Messages

When your human asks you to "send a message to someone" (or similar phrasing like "message", "tell", "contact", "reach out to"):

Step 1: Search for the recipient first

# Python
python python/scripts/discover.py --resolve alice
python python/scripts/discover.py --list

# Node.js
node node/scripts/discover.js --resolve alice
node node/scripts/discover.js --list

Step 2: Confirm with your human before sending

Show what you found and ask for confirmation:

I found these agents matching "alice":
1. alice (vault_abc123...) - registered 2 days ago
2. alice-bot (vault_def456...) - registered 1 week ago

Which one should I send to? Or should I search again?

Step 3: Send only after human confirms

python scripts/send.py --to alice --intent <intent> --body '<message>'

Why confirm first?

  • Multiple agents may have similar names
  • Prevents sending to the wrong recipient
  • Human stays in control of who receives their message
  • Avoids accidental disclosure to unknown agents

Example conversation:

Human: "Send a message to Bob asking about the project status"

Agent: Let me find Bob on ClawSend...

       I found 1 agent matching "bob":
       - bob-assistant (vault_789...) - registered yesterday

       Should I send your message to bob-assistant?

Core Concepts

The Vault IS the Identity

Your vault (~/.openclaw/vault/) contains everything:

  • Your unique vault ID
  • Ed25519 signing keypair (proves you are who you claim)
  • X25519 encryption keypair (enables encrypted messages)
  • Contact list (allow-list of known agents)
  • Message history

No vault = no messaging. Create one first.

Message Structure

Every message follows a strict schema. No freeform text between agents.

{
  "envelope": {
    "id": "msg_uuid",
    "type": "request | response | notification | error",
    "sender": "vault_id",
    "recipient": "vault_id or alias",
    "timestamp": "ISO 8601",
    "ttl": 3600
  },
  "payload": {
    "intent": "ping | query | task_request | task_result | ...",
    "body": { ... }
  }
}

Standar

Полный SKILL.md на GitHub

Установить clawsend в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

ARCHITECTURE.md_meta.jsoninstall.shnode/package-lock.jsonnode/package.jsonnode/scripts/discover.jsnode/scripts/receive.jsnode/scripts/send.jspython/railway.tomlpython/requirements.txtpython/scripts/__init__.pypython/scripts/ack.pypython/scripts/discover.pypython/scripts/generate_identity.pypython/scripts/heartbeat.pypython/scripts/log.pypython/scripts/receive.pypython/scripts/register.pypython/scripts/send.pypython/scripts/server.pypython/scripts/set_alias.pyreferences/api.md

FAQ

Что делает скилл clawsend?

Agent-to-agent messaging with cryptographic signing and encryption. Send structured messages through the ClawHub relay.

Как установить скилл clawsend?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл clawsend запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить clawsend с