用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cvsz/zc --skill node-connect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Repository-specific development patterns and conventions for the zc codebase.
Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
基于 SOC 职业分类
正在显示 SKILL.md
| name | node-connect |
| description | Diagnose zAICoder Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures. |
Goal: find the one real route from node -> gateway, verify zAICoder 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:
zaicoder devices list shows a pending pairing requestDo not guess from can't connect.
Prefer zaicoder qr --json. It uses the same setup-code payload Android scans.
zaicoder config get gateway.mode
zaicoder config get gateway.bind
zaicoder config get gateway.tailscale.mode
zaicoder config get gateway.remote.url
zaicoder config get gateway.auth.mode
zaicoder config get gateway.auth.allowTailscale
zaicoder config get plugins.entries.device-pair.config.publicUrl
zaicoder qr --json
zaicoder devices list
zaicoder nodes status
If this zAICoder instance is pointed at a remote gateway, also run:
zaicoder qr --remote --json
If Tailscale is part of the story:
tailscale status --json
zaicoder qr --json success means:
gatewayUrl: this is the actual endpoint the app should use.urlSource: this tells you which config path won.Common good sources:
gateway.bind=lan: same Wi-Fi / LAN onlygateway.bind=tailnet: direct tailnet accessgateway.tailscale.mode=serve or gateway.tailscale.mode=funnel: Tailscale routeplugins.entries.device-pair.config.publicUrl: explicit public/reverse-proxy routegateway.remote.url: remote gateway routeIf zaicoder qr --json says Gateway is only bound to loopback:
gateway.bind=auto is not enough if the effective QR route is still loopbackgateway.bind=langateway.tailscale.mode=serve or use gateway.bind=tailnetplugins.entries.device-pair.config.publicUrl or gateway.remote.urlIf gateway.bind=tailnet set, but no tailnet IP was found:
If qr --remote requires gateway.remote.url:
If the app says pairing required:
zaicoder devices list
zaicoder devices approve --latest # preview only; copy the requestId from output
zaicoder devices approve <requestId>
If the app says bootstrap token invalid or exzaicoderred:
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.zaicoder devices list shows pending requests: stop changing network config and approve first.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 zaicoder qr again, rescan, then approve the pending device pairing.Bad:
Maybe LAN, maybe Tailscale, maybe port forwarding, maybe public URL.