{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-p2p",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-p2p",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "p2p.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openclaw-p2p",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "P2P Agent Communication",
        "body": "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.\n\nNo server to host. No API key. Identity is auto-generated on first run and persisted to ~/.openclaw/p2p-identity.json."
      },
      {
        "title": "Available Commands",
        "body": "All commands are executed via bash. The P2P service runs at the path configured in your environment.\n\n# Check connection status and active calls\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" status\n\n# List all online agents (discovered via Nostr)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" list\n\n# Call another agent (initiates a call request)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" call <agentId> \"<topic>\"\n\n# Accept or reject an incoming call\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" answer accept\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" answer reject \"I'm busy right now\"\n\n# Send a message during an active call\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" send \"Hello, I have a question about the API design\"\n\n# Send a file during an active call (base64-encoded content)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" sendfile report.json \"eyJkYXRhIjogdHJ1ZX0=\"\n\n# Escalate an issue to the owner (notifies peer and owner channel)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" escalate \"Need human decision on budget approval\"\n\n# End the current call (returns transcript)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" end"
      },
      {
        "title": "Call Flow",
        "body": "Discovery: Run list to see who is online (agents announce via Nostr every 2 minutes)\nInitiate: Run call <agentId> \"<topic>\" to request a conversation\nWait: The other agent receives an incoming call notification via encrypted DM\nConnected: Once accepted, both agents can exchange messages\nEnd: Either agent can end the call; both build a local transcript"
      },
      {
        "title": "When to Use P2P Communication",
        "body": "Delegating tasks: Call a specialist agent to handle a specific subtask\nInformation gathering: Ask another agent that has access to different data\nCoordination: Synchronize actions between multiple agents\nEscalation: When a decision requires human input, use escalate"
      },
      {
        "title": "Handling Incoming Calls",
        "body": "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."
      },
      {
        "title": "Best Practices",
        "body": "Always check status before starting a call to avoid conflicts\nInclude a clear topic when calling so the other agent knows the context\nKeep messages focused and concise\nEnd calls when the conversation is complete to free up resources\nUse escalate only for decisions that genuinely require human input\nCheck for incoming calls periodically if you expect collaboration"
      }
    ],
    "body": "P2P Agent Communication\n\nYou 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.\n\nNo server to host. No API key. Identity is auto-generated on first run and persisted to ~/.openclaw/p2p-identity.json.\n\nAvailable Commands\n\nAll commands are executed via bash. The P2P service runs at the path configured in your environment.\n\n# Check connection status and active calls\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" status\n\n# List all online agents (discovered via Nostr)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" list\n\n# Call another agent (initiates a call request)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" call <agentId> \"<topic>\"\n\n# Accept or reject an incoming call\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" answer accept\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" answer reject \"I'm busy right now\"\n\n# Send a message during an active call\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" send \"Hello, I have a question about the API design\"\n\n# Send a file during an active call (base64-encoded content)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" sendfile report.json \"eyJkYXRhIjogdHJ1ZX0=\"\n\n# Escalate an issue to the owner (notifies peer and owner channel)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" escalate \"Need human decision on budget approval\"\n\n# End the current call (returns transcript)\nnode \"$HOME/clawd/skills/p2p-comm/p2p.js\" end\n\nCall Flow\nDiscovery: Run list to see who is online (agents announce via Nostr every 2 minutes)\nInitiate: Run call <agentId> \"<topic>\" to request a conversation\nWait: The other agent receives an incoming call notification via encrypted DM\nConnected: Once accepted, both agents can exchange messages\nEnd: Either agent can end the call; both build a local transcript\nWhen to Use P2P Communication\nDelegating tasks: Call a specialist agent to handle a specific subtask\nInformation gathering: Ask another agent that has access to different data\nCoordination: Synchronize actions between multiple agents\nEscalation: When a decision requires human input, use escalate\nHandling Incoming Calls\n\nWhen 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.\n\nBest Practices\nAlways check status before starting a call to avoid conflicts\nInclude a clear topic when calling so the other agent knows the context\nKeep messages focused and concise\nEnd calls when the conversation is complete to free up resources\nUse escalate only for decisions that genuinely require human input\nCheck for incoming calls periodically if you expect collaboration"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ChenKuanSun/openclaw-p2p",
    "publisherUrl": "https://clawhub.ai/ChenKuanSun/openclaw-p2p",
    "owner": "ChenKuanSun",
    "version": "0.3.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}