/SKILL.md
--- name: wireguard-mesh version: 1.0.0 description: WireGuard 全网状 VPN + AI 集群调度器。用于多节点 WireGuard 组网、内网穿透、渲染农场式 DAG 任务调度。触发词:WireGuard、VPN 组网、全网状、mesh networking、节点互通、内网穿透、集群调度、异步推理、并行任务 --- # WireGuard Mesh Skill 多节点 WireGuard 全网状 VPN + AI 集群调度器。 ## Capabilities - **WireGuard Mesh** — 全网状 VPN,节点直连 - **Scheduler** — 渲染农场式 DAG 调度器,webhook 下发 + 回调收割 ## Network Topology 混合拓扑(Hybrid Mesh): - 默认:全网状(Full Mesh),所有节点直连 - 可选:混合模式(Hub-Spoke + Partial Mesh),减少无效隧道维护开销 - 中心节点:作为 Hub,连接所有边缘节点 - 边缘节
npx skillsauth add 2233admin/claw-mesh claw-meshInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
多节点 WireGuard 全网状 VPN + AI 集群调度器。
混合拓扑(Hybrid Mesh):
| 拓扑 | 适用场景 | 优点 | 缺点 | |------|---------|------|------| | 全网状(默认) | 节点少(<10)、低延迟要求 | 无中心瓶颈、直连快 | 隧道数 O(n²)、维护开销大 | | 混合拓扑 | 节点多(>10)、跨区域 | 隧道数 O(n)、维护开销小 | 依赖 Hub、跨区域需中转 |
10.10.0.0/24UDP 5182025swg01420(默认),大文件传输自动设 8960`# RHEL/OpenCloudOS/CentOS
yum install -y wireguard-tools || dnf install -y wireguard-tools
# Debian/Ubuntu
apt install -y wireguard
# 加载内核模块
modprobe wireguard
wg genkey | tee /etc/wireguard/private.key | wg pubkey > /etc/wireguard/public.key
chmod 600 /etc/wireguard/private.key
/etc/wireguard/wg0.conf[Interface]
PrivateKey = <本机私钥>
Address = 10.10.0.X/24
ListenPort = 51820
# 对每个 peer 重复以下段
[Peer]
PublicKey = <对端公钥>
AllowedIPs = 10.10.0.Y/32
Endpoint = <对端公网IP>:51820
PersistentKeepalive = 25
systemctl enable wg-quick@wg0
systemctl start wg-quick@wg0
wg show wg0 # 查看接口状态
ping 10.10.0.Y # 测试连通性
按节点角色顺序分配:
.1 = 主控/调度节点.2 = 计算节点 A.3 = 计算节点 B.4+ = 扩展节点云服务商安全组需放开 UDP 51820(所有节点互通)。
WireGuard 作为主通道,SSH 隧道保留为备用:
curl http://10.10.0.X:18789 (WireGuard)curl http://localhost:18790 (SSH 隧道)ss -tlnp | grep 18793 可直接看隧道状态# 检查接口是否启动
ip a show wg0
# 检查握手状态(latest handshake 应 < 2 分钟)
wg show wg0
# 检查 UDP 端口
netstat -ulnp | grep 51820
# 重启接口
systemctl restart wg-quick@wg0
wg syncconf wg0 <(wg-quick strip wg0) 热加载/etc/wireguard/private.keyAllowedIPs 用 /32 精确匹配,避免路由冲突PersistentKeepalive = 25 保持 NAT 映射存活reference/architecture.md - 架构设计(待添加)reference/troubleshooting.md - 踩坑记录(待添加)development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.