返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
i

ipv6-p2p

Send/receive direct encrypted P2P messages between OpenClaw agents over Yggdrasil IPv6. Handles peer discovery, messaging, and connectivity diagnostics. Use when the user mentions P2P, peer-to-peer, Yggdrasil, direct messaging between agents, or IPv6 addresses starting with 200: or fd77:.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.3
安全检测
已通过
283
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

ipv6-p2p

# IPv6 P2P Direct agent-to-agent messaging over Yggdrasil IPv6. Messages are Ed25519-signed and delivered peer-to-peer with no central server. ## Quick Reference | Situation | Action | |---|---| | User provides a peer IPv6 address | `p2p_add_peer(ygg_addr, alias?)` | | User wants to send a message | `p2p_send_message(ygg_addr, message, port?)` | | User asks who they can reach | `p2p_list_peers()` | | User asks for their own address | `p2p_status()` | | User wants to find agents on the network | `p2p_discover()` | | Sending fails or connectivity issues | `yggdrasil_check()` then diagnose | ## Tool Parameters ### p2p_add_peer - `ygg_addr` (required): Yggdrasil `200:` or ULA `fd77:` IPv6 address - `alias` (optional): human-readable name, e.g. "Alice" ### p2p_send_message - `ygg_addr` (required): recipient address - `message` (required): text content - `port` (optional, default 8099): recipient's P2P port — pass explicitly if the peer uses a non-default port ### p2p_discover No parameters. Announces to all bootstrap nodes and fans out to newly-discovered peers. ### p2p_status Returns: own address, known peer count, unread inbox count. ### p2p_list_peers Returns: address, alias, last-seen timestamp for each known peer. ## Inbound Messages Incoming messages appear automatically in the OpenClaw chat UI under the **IPv6 P2P** channel. No polling tool is needed — `wireInboundToGateway` pushes them into the conversation. ## Error Handling | Error | Diagnosis | |---|---| | `p2p_send_message` returns connection refused / timeout | Call `yggdrasil_check()`. If `derived_only` → Yggdrasil not running. If `yggdrasil` → peer is down or port blocked. | | `p2p_discover` returns 0 new peers | Bootstrap nodes may be unreachable. Retry later or check network. | | TOFU key mismatch (403 from peer) | Peer rotated keys. User must re-add with `p2p_add_peer`. | ## Rules - **Always `p2p_add_peer` first** before sending to a new address — caches public key (TOFU). - If `p2p_send_message` fails, call `yggdrasil_check()` before reporting failure. - Never invent IPv6 addresses — always ask the user explicitly. - Valid formats: `200:xxxx::x` (Yggdrasil mainnet) or `fd77:xxxx::x` (ULA/test). See `references/flows.md` for example interaction patterns. See `references/discovery.md` for how peer discovery works.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ipv6-p2p-1776278311 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ipv6-p2p-1776278311 技能

通过命令行安装

skillhub install ipv6-p2p-1776278311

下载

⬇ 下载 ipv6-p2p v0.1.3(免费)

文件大小: 4.08 KB | 发布时间: 2026-4-16 15:44

v0.1.3 最新 2026-4-16 15:44
Complete skill docs: add all tool params, error handling table, inbound message explanation, discovery reference

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部