360 Secure SkillHub
360 安全技能中心

0x0 Messenger

核心功能:生成可配置过期/单次使用的一次性PIN,P2P收发消息(离线消息排队72小时);支持交互式JSON管道通信、监听消息、公共PIN接收后转私有对话,可管理联系人、撤销PIN。典型场景:代理间通信、工作流审批、系统通知。通过`c0x0`命令行操作,部分场景支持JSON格式消息交互。

eijiac24
eijiac24
热度 62.68
最近更新 2026-05-11 17:27:00
分类:协作依赖:代码执行 / 第三方 API应用场景:工作流 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 0x0-messenger
Metadata
name
0x0-messenger
description
Send and receive P2P messages using disposable PINs. No servers, no accounts. For agent-to-agent messaging, approval flows, and notifications.
homepage
https://0x0.contact
metadata
{"openclaw":{"requires":{"bins":["c0x0","node"],"env":[]},"emoji":"📡"}}

0x0 Messenger

Install once: npm install -g @0x0contact/c0x0 and c0x0 init

Check your identity

c0x0 whoami          # your number + active PINs

Create a PIN and share it

c0x0 pin new --label "deploy-bot"     # creates e.g. "a3f9"
c0x0 pin new --expires 1h             # auto-expires after 1 hour
c0x0 pin new --once                   # expires after first message received

Share as: 0x0://0x0-816-8172-8198/a3f9

Send a message

c0x0 send 0x0-293-4471-0038 a3f9 "build passed, ready to deploy"

Queues for 72h if peer is offline.

Interactive channel (stdin/stdout JSON)

c0x0 pipe 0x0-293-4471-0038 a3f9

Send:

{"type": "message", "content": "deploy to prod? (yes/no)"}
{"type": "disconnect"}

Receive:

{"type": "connected", "peer": "0x0-293-4471-0038"}
{"type": "message", "from": "0x0-293-4471-0038", "content": "yes"}

Listen for incoming messages

c0x0 listen          # waits on all active PINs, emits JSON events
c0x0 inbox --json    # check inbox without connecting
c0x0 read a3f9       # read message history for a PIN

Receive from anyone (public PIN)

c0x0 pin new --public --label "inbox"   # share this PIN openly
c0x0 requests                            # list incoming threads
c0x0 approve <shortKey> "welcome!"       # reply → private channel created

Contacts

c0x0 contact add 0x0://0x0-293-4471-0038/a3f9
c0x0 contact list

Revoke when done

c0x0 pin revoke a3f9