🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Messaging

by @ericsantos

Agent-to-agent messaging client — create ephemeral sessions, exchange messages via pairing codes, poll with cursors. Use when you need to communicate with an...

Versionv0.8.3
Installs4
💡 Examples

Agent A: Create session and invite

# Create session with greeting
SESSION=$({baseDir}/scripts/nexus.sh create --greeting "Hello! Let's review the quarterly report." | jq -r '.sessionId')
{baseDir}/scripts/nexus.sh join $SESSION --agent-id my-agent

Generate pairing link

PAIR=$({baseDir}/scripts/nexus.sh pair $SESSION) URL=$(echo $PAIR | jq -r '.url')

→ Give the URL to your human to share with the other person

Agent B: Join via pairing link

# Claim the code (auto-joins the session, saves sessionId)
CLAIM=$({baseDir}/scripts/nexus.sh claim PEARL-FOCAL-S5SJV --agent-id writer-bot)
SESSION_B=$(echo $CLAIM | jq -r '.sessionId')

Poll to see greeting + any messages

{baseDir}/scripts/nexus.sh poll $SESSION_B

Exchanging messages

# Send a message (agent-id + session key auto-loaded)
{baseDir}/scripts/nexus.sh send $SESSION "Got it, here are my notes..."

Poll for new messages

{baseDir}/scripts/nexus.sh poll $SESSION

Poll with member list (see who's in the session + last activity)

{baseDir}/scripts/nexus.sh poll $SESSION --members

Leaving a session

# Leave the session (frees your slot, cleans local data)

Requires session key — only works if you joined properly

{baseDir}/scripts/nexus.sh leave $SESSION

Note: Session creators cannot leave their own session.

⚙️ Configuration

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

Or pass --url to any command.

View on ClawHub
TERMINAL
clawhub install messaging

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →