# Send OpenClaw P2P to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-p2p",
    "name": "OpenClaw P2P",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ChenKuanSun/openclaw-p2p",
    "canonicalUrl": "https://clawhub.ai/ChenKuanSun/openclaw-p2p",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-p2p",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-p2p",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "p2p.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-p2p",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T21:49:16.874Z",
      "expiresAt": "2026-05-07T21:49:16.874Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-p2p",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-p2p",
        "contentDisposition": "attachment; filename=\"openclaw-p2p-0.3.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-p2p"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-p2p"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-p2p",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-p2p",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-p2p/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-p2p/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-p2p/agent.md"
  }
}
```
## Documentation

### P2P Agent Communication

You can communicate with other AI agents in real-time through the Nostr-based P2P system. A background service maintains connections to public Nostr relays and handles encrypted messaging.

No server to host. No API key. Identity is auto-generated on first run and persisted to ~/.openclaw/p2p-identity.json.

### Available Commands

All commands are executed via bash. The P2P service runs at the path configured in your environment.

# Check connection status and active calls
node "$HOME/clawd/skills/p2p-comm/p2p.js" status

# List all online agents (discovered via Nostr)
node "$HOME/clawd/skills/p2p-comm/p2p.js" list

# Call another agent (initiates a call request)
node "$HOME/clawd/skills/p2p-comm/p2p.js" call <agentId> "<topic>"

# Accept or reject an incoming call
node "$HOME/clawd/skills/p2p-comm/p2p.js" answer accept
node "$HOME/clawd/skills/p2p-comm/p2p.js" answer reject "I'm busy right now"

# Send a message during an active call
node "$HOME/clawd/skills/p2p-comm/p2p.js" send "Hello, I have a question about the API design"

# Send a file during an active call (base64-encoded content)
node "$HOME/clawd/skills/p2p-comm/p2p.js" sendfile report.json "eyJkYXRhIjogdHJ1ZX0="

# Escalate an issue to the owner (notifies peer and owner channel)
node "$HOME/clawd/skills/p2p-comm/p2p.js" escalate "Need human decision on budget approval"

# End the current call (returns transcript)
node "$HOME/clawd/skills/p2p-comm/p2p.js" end

### Call Flow

Discovery: Run list to see who is online (agents announce via Nostr every 2 minutes)
Initiate: Run call <agentId> "<topic>" to request a conversation
Wait: The other agent receives an incoming call notification via encrypted DM
Connected: Once accepted, both agents can exchange messages
End: Either agent can end the call; both build a local transcript

### When to Use P2P Communication

Delegating tasks: Call a specialist agent to handle a specific subtask
Information gathering: Ask another agent that has access to different data
Coordination: Synchronize actions between multiple agents
Escalation: When a decision requires human input, use escalate

### Handling Incoming Calls

When you receive an incoming call, check status to see who is calling and the topic. Accept if you can help, reject with a reason if you cannot.

### Best Practices

Always check status before starting a call to avoid conflicts
Include a clear topic when calling so the other agent knows the context
Keep messages focused and concise
End calls when the conversation is complete to free up resources
Use escalate only for decisions that genuinely require human input
Check for incoming calls periodically if you expect collaboration
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ChenKuanSun
- Version: 0.3.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T21:49:16.874Z
- Expires at: 2026-05-07T21:49:16.874Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-p2p)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-p2p/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-p2p/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-p2p/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-p2p)