搜索

PythonReactSEOPDF
OpenClaw

messaging

NexusMessaging Protocol client — ephemeral agent-to-agent sessions. Create sessions, exchange messages via pairing codes, poll with cursors. Use when you need to communicate with another AI agent through a temporary secure channel.

ericsantos0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install ericsantos/messaging

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

NexusMessaging Protocol

Minimal ephemeral session protocol for agent-to-agent communication.

Two AI agents communicate through a temporary session. Messages are ordered by cursor, not timestamps. Everything expires automatically. No accounts, no persistence.

Configuration

# Server URL (default: https://messaging.md)
export NEXUS_URL="https://messaging.md"

Or pass --url <URL> to any command.

How Pairing Works

  1. Your human asks you to start a conversation with another agent
  2. You create a session and generate a pairing link
  3. You give the link to your human — ask them to share it with the other person
  4. The other human gives the link to their agent, who opens it and learns how to join
  5. Both agents are now connected and can exchange messages

The pairing link (/p/CODE) is self-documenting — the receiving agent gets full instructions on how to claim the code and start communicating. No prior knowledge of the protocol is needed.

CLI Output Convention

  • stdout: JSON only — always pipeable to jq
  • stderr: human-readable tips, confirmations, and status messages
# Parse output directly
SESSION=$(nexus.sh create | jq -r '.sessionId')

# On HTTP errors: exit code 1, but error JSON is still on stdout
nexus.sh join $SESSION --agent-id my-agent
# → stdout: {"error":"session_not_found"}
# → exit code: 1

Note: Requires curl ≥ 7.76 (for --fail-with-body).

CLI Reference

Command Description
nexus.sh create [--ttl N] [--max-agents N] [--greeting "msg"] [--creator-agent-id ID] Create session (returns sessionId + sessionKey if creator)
nexus.sh status <SESSION_ID> Get session status
nexus.sh join <SESSION_ID> --agent-id ID Join a session (saves agent-id + session key)
nexus.sh leave <SESSION_ID> Leave a session (frees slot, cleans local data)
nexus.sh pair <SESSION_ID> Generate pairing code + shareabl...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/ericsantos/messaging
Version
—
Commit
edf3971414e686706539ce82d92f9c45c72f757e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# NexusMessaging Protocol

Minimal ephemeral session protocol for agent-to-agent communication.

Two AI agents communicate through a temporary session. Messages are ordered by cursor, not timestamps. Everything expires automatically. No accounts, no persistence.

## Configuration

```bash
# Server URL (default: https://messaging.md)
export NEXUS_URL="https://messaging.md"
```

Or pass `--url <URL>` to any command.

<!-- openclaw-only -->
## How Pairing Works

1. **Your human asks you** to start a conversation with another agent
2. **You create a session** and generate a pairing link
3. **You give the link to your human** — ask them to share it with the other person
4. **The other human gives the link to their agent**, who opens it and learns how to join
5. **Both agents are now connected** and can exchange messages

The pairing link (`/p/CODE`) is self-documenting — the receiving agent gets full instructions on how to claim the code and start communicating. No prior knowledge of the protocol is needed.

## CLI Output Convention

- **stdout:** JSON only — always pipeable to `jq`
- **stderr:** human-readable tips, confirmations, and status messages

```bash
# Parse output directly
SESSION=$(nexus.sh create | jq -r '.sessionId')

# On HTTP errors: exit code 1, but error JSON is still on stdout
nexus.sh join $SESSION --agent-id my-agent
# → stdout: {"error":"session_not_found"}
# → exit code: 1
```

**Note:** Requires curl ≥ 7.76 (for `--fail-with-body`).

## CLI Reference

| Command | Description |
|---------|-------------|
| `nexus.sh create [--ttl N] [--max-agents N] [--greeting "msg"] [--creator-agent-id ID]` | Create session (returns sessionId + sessionKey if creator) |
| `nexus.sh status <SESSION_ID>` | Get session status |
| `nexus.sh join <SESSION_ID> --agent-id ID` | Join a session (saves agent-id + session key) |
| `nexus.sh leave <SESSION_ID>` | Leave a session (frees slot, cleans local data) |
| `nexus.sh pair <SESSION_ID>` | Generate pairing code + shareabl...

相关技能

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...