/tunpilot:testing-nodesfrom tunpilot
Runs IP reputation checks (risk scores, streaming unlock, blacklists) and network performance tests (BGP, latency, speed, routing) on proxy nodes via SSH. Generates structured health reports with recommendations.
Ships in tunpilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dual-dimension diagnostics via direct SSH: IPQuality for IP reputation (risk scores, streaming unlock, blacklists) and NetQuality for network performance (BGP, latency, speed, routing). Zero API keys required.
Prerequisites:
ssh_user or ssh_alias configured and SSH key access from the local machine.tunpilot-diag wrapper installed on the node (auto-installed in Phase 2.0 if missing).Auxiliary files (read when referenced below):
Ask the user which node(s) to test. Use list_nodes to show available nodes if needed.
Accept:
all → all enabled nodes that have ssh_user or ssh_aliasFor each target node, fetch ssh_alias, ssh_user, host, ssh_port via list_nodes.
Resolve SSH target (used as <ssh_target> below):
ssh_alias set → ssh <ssh_alias>ssh -p <ssh_port> <ssh_user>@<host>ssh <ssh_target> "tunpilot-diag --version"
If missing, read ../_shared/DIAG_SETUP.md and run both steps on this node.
tunpilot-diag subcommands:
tunpilot-diag / tunpilot-diag all — IPQuality + NetQuality (~5-7 min)tunpilot-diag ip — IP reputation only (~2-3 min)tunpilot-diag net — network performance only (~3-5 min)Full suite:
ssh <ssh_target> "tunpilot-diag"
Output is two JSON lines on stdout:
{"type":"ipquality","data":{...}}{"type":"netquality","data":{...}}If a check fails the line contains "error" instead of "data".
run_in_background; tell the user it runs ~5-7 min. The runtime notifies on completion.run_in_background Bash calls (independent SSH sessions).tunpilot-diag cannot be installed)Run the raw scripts with ANSI filtering and extract JSON:
ssh <ssh_target> "export TERM=dumb; bash <(curl -sL IP.Check.Place) -j -4" 2>&1 \
| sed 's/\x1b\[[0-9;]*m//g' > /tmp/ipquality-<node>.txt
python3 -c "
import json, sys
content = open('/tmp/ipquality-<node>.txt').read()
depth, start = 0, -1
for i, c in enumerate(content):
if c == '{' and start == -1: start, depth = i, 1
elif start >= 0:
depth += (c == '{') - (c == '}')
if depth == 0:
data = json.loads(content[start:i+1])
if 'Head' in data or 'Info' in data:
print(json.dumps(data)); break
start = -1
"
Repeat for NetQuality with Net.Check.Place and -j -4 -y flags.
Read REPORT_TEMPLATE.md for the full table layout. Use REFERENCE.md for score ratings, classification consensus analysis, and pattern matching.
Analyse each node using the IP Quality Patterns and Network Quality Patterns in REFERENCE.md. Provide specific, actionable recommendations referencing actual data from the report — avoid generic advice.
For multi-node comparisons, follow the Multi-Node Recommendation guidelines in REFERENCE.md.
| Symptom | Cause | Fix |
|---|---|---|
| "Invalid input, script exited" | IPQuality dependencies missing | apt-get install -y -qq jq curl bc netcat-openbsd dnsutils iproute2 |
| "No JSON found in output" | Script produced no JSON (captive portal, ANSI leak, etc.) | Run raw: ssh <ssh_target> "bash <(curl -sL IP.Check.Place) -j -4" |
IPQS: null in scores | IPQS API unreachable | Not a problem — other 5 providers still give useful data |
| NetQuality timeout (>10 min) | Full mode too slow for this server | tunpilot-diag ip for quick IP-only check, or tunpilot-diag net without speedtest |
| iperf3 not installed | Missing dependency | apt-get install -y -qq iperf3 mtr |
| "speedtest not found" persists | -y auto-install failed | curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash && apt-get install -y speedtest |
For generic SSH / systemd failures, see ../_shared/SSH_TROUBLESHOOTING.md.
| Command | Use When |
|---|---|
tunpilot node list | See registered nodes with ssh_alias/ssh_user config |
tunpilot health [<id>] | Quick health check before running diagnostics |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
proxy-testing, ip-reputation, network-diagnostics, node-health
4 skills in this plugin
/deploying-hy2-nodesDeploys UDP/QUIC Hysteria2 proxy nodes with Brutal or BBR congestion control, inline ACME (or self-signed EC P-256), HTTP masquerade, QUIC receive/send window tuning based on server memory, systemd hardening with CAP_NET_ADMIN, and HTTP auth callback registration in TunPilot. Use when deploying a new Hysteria2 node, choosing Brutal vs BBR, tuning QUIC windows, setting up masquerade, or switching between ACME and self-signed TLS. Not for Xray/Trojan — see deploying-xray-nodes./deploying-xray-nodesDeploys TCP Trojan proxy nodes on Xray-core with certbot Let's Encrypt or self-signed EC P-256 + SHA-256 certificate fingerprint pinning, TCP Fast Open kernel tuning with BBR, nginx-compatible fallback site, gRPC user sync (not HTTP auth callback), and systemd hardening with strict filesystem isolation. Use when deploying a Trojan node on Xray, pinning a self-signed cert fingerprint, configuring TCP Fast Open, or setting up the Xray gRPC stats API. Not for Hysteria2 — see deploying-hy2-nodes./getting-startedDeploys TunPilot server via SSH, wires up the local `tunpilot` CLI or web admin, and verifies end-to-end connectivity. Use when installing TunPilot, deploying the server, configuring remote access, updating an existing installation, or setting up TunPilot for the first time.npx claudepluginhub buywatermelon/tunpilot --plugin tunpilotOther plugins' skills for the same job