用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/glawson6/jaiclaw --skill node-connect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | node-connect |
| description | Diagnose node connection and pairing failures for Android, iOS, and macOS companion apps. |
| version | 1.0.0 |
Goal: find the one real route from node -> gateway, verify the gateway is advertising that route, then fix pairing/auth.
Decide which case you are in before proposing fixes:
Do not mix them.
localhost or LAN IPs.If the setup is unclear or the failure report is vague, ask short clarifying questions before diagnosing.
Ask for:
Do not guess from can't connect.
Check the gateway configuration:
# Check gateway mode and bind settings
gateway config get gateway.mode
gateway config get gateway.bind
gateway config get gateway.tailscale.mode
gateway config get gateway.remote.url
gateway config get gateway.auth.mode
gateway config get gateway.auth.allowTailscale
# Check QR/setup code payload
gateway qr --json
# Check device and node status
gateway devices list
gateway nodes status
If Tailscale is part of the story:
tailscale status --json
If QR output says Gateway is only bound to loopback:
gateway.bind=langateway.tailscale.mode=serve or use gateway.bind=tailnetgateway.remote.urlIf gateway.bind=tailnet set, but no tailnet IP was found:
If the app says pairing required:
gateway devices list
gateway devices approve --latest
If the app says bootstrap token invalid or expired:
If the app says unauthorized:
gateway.auth.allowTailscale must match the intended flow127.0.0.1, localhost, or loopback-only config: wrong.urlSource; config is not what you think.Reply with one concrete diagnosis and one route.
If there is not enough signal yet, ask for setup + exact app text instead of guessing.
Good:
The gateway is still loopback-only, so a node on another network can never reach it. Enable Tailscale Serve, restart the gateway, run qr again, rescan, then approve the pending device pairing.Bad:
Maybe LAN, maybe Tailscale, maybe port forwarding, maybe public URL.