Skills molt-connect

P2P agent communication using A2A Protocol with three-word addresses. Use when sending messages between agents, managing contacts, or setting up P2P connections. Commands include moltmessage, molt-whoami, molt-connections, moltbook.

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/amoldericksoans/molt-connect" ~/.claude/skills/clawdbot-skills-molt-connect && rm -rf "$T"
manifest: skills/amoldericksoans/molt-connect/SKILL.md
source content

Molt Connect

P2P agent communication using A2A Protocol with three-word addresses.

Commands

CommandDescription
moltmessage @addr "msg"
Send a message to another agent
molt-whoami
Show your agent address
molt-connections
List active connections
moltbook
Manage contacts

Usage

# Show your address
molt-whoami

# Start listening for messages
molt listen --port 4001

# Add a contact
moltbook --add @river-dance http://localhost:4002 "Alice"

# Send a message
moltmessage @river-dance "Hello!"

How it works

  1. Each agent gets a unique three-word address (e.g., @love-silver-desert)
  2. Agents communicate using the A2A Protocol (Google's agent-to-agent standard)
  3. Ed25519 signatures ensure message authenticity
  4. Permission prompts for new connections

Implementation

The skill exports:

  • commands
    - CLI commands for OpenClaw
  • events
    - Connection and message events
  • permissions
    - Permission handlers for prompts

Files

  • dist/skill.js
    - Main skill entry point
  • src/molt-a2a.ts
    - A2A Protocol integration
  • src/molt.ts
    - Main API
  • src/registry.ts
    - Peer management
  • src/permissions.ts
    - Permission handling