/ccxp-skills:help-net [pre-trip | post-trip] (no args = live diagnostic)from ccxp-skills
Use when on macOS and network is degraded in a travel or cross-border context (GFW, carrier throttle, MTU black hole, DNS poisoning, VPN) — also pre/post-trip checklists; not for routine home/office Wi-Fi
Ships in ccxp-skills. 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; scripts run unread.
<skills-root>= this skill's "Base directory" minus its last component; substitute the literal path (skill-conventions§9).
Triage a traveler's "the internet is slow/broken" problem on macOS. Produce a report with primary classification, evidence cited from probe output, concrete fixes, and explicit rule-outs (what is NOT the problem). Default mode runs live diagnostics; pre-trip and post-trip surface the relevant checklist.
A company-internal site (e.g. a self-hosted GitLab/Git server) that only resolves/loads with a work VPN connected is often reachable at a private (RFC 1918) address via an OpenVPN-style tunnel. Symptom: the page hangs or times out (curl/nc never connect, or times out even though DNS resolves) — looks like a generic network problem but the fix is simply turn the VPN on and confirm the tunnel interface is actually routing that subnet (a second, unrelated VPN/tunnel taking the default route can shadow it — check route get <the private IP> lands on the VPN's tunnel interface, not another utun*). If DNS resolves but the private answer gets silently replaced by your home router (a DNS-rebind-protection false positive), that's a related but distinct symptom — same fix (VPN on), different root cause.
$ARGUMENTS is empty → live diagnostic (default — the most common case).$ARGUMENTS is pre-trip → walk the user through the pre-trip checklist.$ARGUMENTS is post-trip → help undo travel-specific tweaks.bash <skills-root>/help-net/scripts/probe.sh
~30 s, read-only, never hangs. Outputs KEY: VALUE under [INTERFACE], [DNS], [PING], [HTTP], [EXIT], [IPV6], [VPN], [META].
If [META] probe.ok: true is missing, interpret with whatever partial data came back and note gaps.
Walk the decision tree in order. First matching set wins. If signals conflict, report primary + secondary and say which fixes address which.
A. GFW active (real censorship)
exit.country: CN OR exit.org contains "China Telecom/Unicom/Mobile"dns.google_range_ok: false_POSSIBLE_POISONING • http.google_com.code: 0 with http.baidu_com.code: 200 • http.twitter_com.code: 0 with http.baidu_com.code: 200 • http.google_com.tls_s: 0B. Carrier tether throttle / hotspot cap ← most common "suddenly slow"
primary.is_tether: trueexit.country is home country (NOT CN — means roaming tunnel, GFW bypassed)http.cloudflare_trace.code: 200, http.gstatic_204.code: 204)http.google_com.size < 50000 AND http.google_com.total_s ≥ 10)ping.8_8_8_8.loss ≥ 10%C. iOS Low Data Mode on hotspot
primary.constrained: trueD. PMTU black hole
primary.mtu < 1400, OR*.tls_s > 0 (TLS completes, body doesn't)E. DNS poisoning / local resolver broken
dns.google_via_system: FAIL OR dns.google_range_ok: false_POSSIBLE_POISONINGdns.google_via_1_1_1_1 returns a Google IPF. VPN interference (stale software)
vpn.active_services > 0 OR any vpn.running.* entryG. Path loss (bad cellular pipe, no software fix)
ping.8_8_8_8.rtt_avg_ms > 200 AND loss > 10%exit.country is home countryH. Healthy
ping.8_8_8_8.loss: 0% AND http.google_com.code: 200 AND http.google_com.total_s < 3## Network diagnosis
**Primary classification**: <A–H name>
**Key evidence** (cite probe values):
- <key: value>
- <key: value>
**What's NOT the problem** (rule-outs):
- <e.g. "Not GFW: exit IP is AT&T Phoenix — traffic tunnels to US, GFW bypassed.">
**Recommended actions** (priority order):
1. <concrete command or setting change>
2. <...>
**Won't help** (save time and money):
- <e.g. "Buying more VPNs — throttle hits before traffic reaches VPN.">
The single highest-value output of this skill is the rule-out section. Always call out what isn't the problem — the top failure mode for teammates is spending money on VPNs or rebuilding macOS when the real fix is a $15 hotspot top-up.
/help-net pre-trip)Ask destination + trip length, then walk through this checklist with the user. Confirm each item before moving on.
TL;DR for China (as of April 2026): don't fight AT&T, use Nomad. Hard-won numbers below.
*611 saved as a contact — free from your line even while roamingLesson from 2026-04 trip: don't reflexively buy a VPN. If you're on Nomad (or any non-mainland-billed eSIM) you don't need one — traffic already exits outside GFW. $200 spent stacking VPN subscriptions did nothing; Nomad unlimited solved it.
.conf as a fallback in case the app breakschrome://flags/#enable-quic → Disabled → relaunchbrew install mosh — SSH replacement that handles loss gracefully/help-net skill/help-net post-trip)Help the user undo travel-specific tweaks. Print commands; user runs sudo themselves.
sudo ifconfig <iface> mtu 1500sudo networksetup -setv6automatic "<service>"sudo networksetup -setdnsservers "<service>" emptysudo launchctl bootout system /Library/LaunchDaemons/<vendor>.helper.plistsudo rm /Library/LaunchDaemons/<vendor>.helper.plistsudo rm /Library/PrivilegedHelperTools/<vendor>.helperchrome://flags → reset all)Run probe.sh again afterward to confirm clean state (vpn.running_total: 0, vpn.active_services: 0, MTU 1500, constrained: false).
Most common. Carrier detects tethered traffic via TTL/DPI and throttles it to a separate, smaller allowance. Hits abruptly — often at midnight (daily cycle reset) or after a GB threshold.
AT&T specifics (as of 2026-04):
Fix (triage-time): myAT&T app → check remaining hotspot GB → buy the top-up. Or *611. Disable macOS auto-updates, App Store updates, and Time Machine immediately.
Better fix (root cause): switch to a Nomad unlimited eSIM (or equivalent non-mainland-billed eSIM). No cap, no cliff, typically faster path. For a trip >2 days it's cheaper than Day Pass math anyway.
Don't: buy a VPN (throttle is applied before traffic leaves the carrier). Don't stack multiple $15 top-ups — AT&T doesn't let you.
You're actually on Chinese internet (local SIM, hotel Wi-Fi, unrouted corporate network). Characteristic: domain-specific failures. Baidu works, Google/Twitter/Wikipedia don't. DNS returns poisoned IPs; TLS RSTs on blocked SNIs.
Fix: VPN with HK/JP/SG exit. If VPN app blocked, switch protocol (WireGuard → OpenVPN → Obfuscated). Last resort: ssh -D to a home server and SOCKS-proxy the browser.
Don't: retry DNS endlessly, tweak MTU, or announce VPN use on monitored networks.
iOS Personal Hotspot in Low Data Mode marks the macOS interface as constrained, restricting background and throughput.
Fix: iPhone → Settings → Personal Hotspot → Maximize Compatibility ON. Replug USB.
Long-haul cellular paths often have a path MTU below the nominal 1500. TLS handshakes (small) succeed; bulk transfers (≥few segments) black-hole on a fragment drop.
Fix: sudo ifconfig <iface> mtu 1200. Confirm improvement, then tune back toward 1500.
GFW's DNS poisoning returns wrong A records for blocked domains. Local captive portals sometimes do similar. Symptom: system dig returns junk; dig @1.1.1.1 works.
Fix: sudo networksetup -setdnsservers "<service>" 1.1.1.1 8.8.8.8. For stronger protection, DoH via browser or cloudflared.
Even disconnected/trashed VPN apps can leave privileged helpers running that add routes, filter packets, or break DNS. "Trashing the app" only moves the .app bundle; the helper in /Library/PrivilegedHelperTools/ persists.
Fix: see Post-trip commands above.
Roaming traffic is tunneled back to the home carrier: China → AT&T Phoenix = ~330 ms RTT with 10–30 % loss. TCP's congestion control collapses on lossy long-haul paths. No macOS setting fixes this.
Fix: a VPN that exits closer to you (HK/JP/SG from China). Counterintuitive, but dropping RTT to ~50 ms lets TCP recover from loss much faster than the direct roaming tunnel. Use Mosh for SSH. Use Safari (more loss-tolerant than Chrome).
KEY: VALUE line.macOS-only error on other platforms. Don't fake cross-platform support.rm -rf). This is a diagnostic skill, not a rebuild script.What SKILL.md sets; muted values are Claude Code's defaults
57 skills in this plugin
/1password-env-setupUse when the user explicitly asks to bootstrap or refresh a repo's 1Password-backed .env — installs the refresh-env helper, generates a hash-checking .envrc, and materializes .env from .env.tpl via op inject/address-prUse when the user explicitly asks to address, verify, or merge a specific open PR (CI, Claude Code review, test plan, tiered merge)/agent-pairingUse when the user explicitly asks to toggle the ccxp-agent main-session agent on/off for this Claude Code profile or check its statusnpx claudepluginhub synx-data-labs/ccxp-skills --plugin ccxp-skills