Skip to content
Back to skills

Openclaw Messenger

ASecurity

Send and receive messages between OpenClaw instances. Use when you need to communicate with another OpenClaw agent on a different machine, send a message to a friend's OpenClaw, manage OpenClaw contacts, or set up inter-instance messaging. Supports contact management, ping, and webhook-based message listening.

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
businessbashnodesecurity

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 15 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-messenger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Messenger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Messenger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-messenger/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-messenger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-messenger
description: Send and receive messages between OpenClaw instances. Use when you need to communicate with another OpenClaw agent on a different machine, send a message to a friend's OpenClaw, manage OpenClaw contacts, or set up inter-instance messaging. Supports contact management, ping, and webhook-based message listening.
---

# OpenClaw Messenger

Send messages to other OpenClaw instances and manage contacts.

## Quick Start

```bash
# 연락처 추가
node scripts/messenger.js contacts add --name "친구봇" --url "ws://192.168.1.50:18789" --token "abc123" --desc "친구의 OpenClaw"

# 메시지 보내기
node scripts/messenger.js send --to "친구봇" --message "안녕! 나는 Tames야" --from "Tames"

# 직접 URL로 보내기
node scripts/messenger.js send --url "ws://host:port" --token "token" --message "Hello!"

# 핑 테스트
node scripts/messenger.js ping --to "친구봇"

# 연락처 목록
node scripts/messenger.js contacts list
```

## Commands

- `send` — 메시지 전송 (`--to` 연락처 또는 `--url`/`--token` 직접 지정)
- `contacts list` — 연락처 목록
- `contacts add` — 연락처 추가 (`--name`, `--url`, `--token`, `--desc`)
- `contacts remove` — 연락처 삭제 (`--name`)
- `ping` — 연결 테스트 (`--to` 또는 `--url`)
- `listen` — 메시지 수신 서버 시작 (`--port`, 기본 19900)

## How It Works

1. 상대 OpenClaw의 Gateway WebSocket URL과 토큰이 필요
2. WebSocket으로 연결하여 시스템 이벤트로 메시지 전송
3. 상대방의 세션에 메시지가 시스템 이벤트로 주입됨

## Security

- 토큰은 `contacts.json`에 로컬 저장 (외부 노출 금지)
- 상대방이 토큰을 공유해야 메시지 전송 가능
- Gateway가 loopback 바인딩이면 외부 접근 불가 → Tailscale 등 필요

## Relay Mode (카톡형 — 추천!)

중계서버를 통해 IP/토큰 교환 없이 ID만으로 메시지 전송:

```bash
# 릴레이 서버 설정 (공개 서버)
node scripts/relay-client.js setup --relay https://circuit-website-revealed-detail.trycloudflare.com

# 등록
node scripts/relay-client.js register --id my-id --name "내 이름" --secret 비밀키

# 메시지 보내기
node scripts/relay-client.js send --to 상대ID --message "안녕!"

# 받은 메시지 확인
node scripts/relay-client.js poll

# 실시간 수신
node scripts/relay-client.js listen

# 사용자 목록
node scripts/relay-client.js users
```

## Requirements

- `ws` npm package (`npm install ws` in skill directory)

Files in this skill

  • SKILL.md2.6 KB
  • check-page.js965 B
  • github-login.js3.2 KB
  • google-login.js3.6 KB
  • google-login2.js3.2 KB
  • package-lock.json912 B
  • package.json315 B
  • publish-final.js8.9 KB
  • publish-helper.js6.2 KB
  • publish2.js1.9 KB
  • publish3.js1.7 KB
  • relay-config-backup.json115 B
  • relay-config.json115 B
  • scripts/messenger.js10.6 KB
  • scripts/relay-client.js6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.