Search

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 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install ericsantos/messaging

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 information

Source
github
Repository
openclaw/skills
Path
skills/ericsantos/messaging
Version
—
Commit
edf3971414e686706539ce82d92f9c45c72f757e
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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...

Related skills

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. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...