← ClaudeAtlas

xray-xhttp-relay-deploylisted

Install and remotely operate the user's xray-xhttp-relay one-click VLESS+XHTTP+REALITY relay script (superchaospc/xray-xhttp-relay, xray_deploy.sh) on a VPS over SSH. Use whenever the user wants to deploy or manage an XHTTP-transport VLESS/REALITY relay or 中转 — phrases like "装个 xhttp 中转", "xhttp reality 节点", "部署 xhttp 落地/直连", "给 vps 加几个 xhttp 直连/住宅节点", "xhttp 订阅/链接". Covers add/delete/rename nodes (residential SOCKS5 or VPS direct, single or batch), status/traffic/diagnostics, change port, update/restart Xray, monitoring/email alerts, and uninstall. This script transports VLESS over **XHTTP + REALITY** (requires Xray core ≥ 24.10.31), NOT TCP+XTLS-Vision — for the Vision variant use the `xray-relay-deploy` skill instead. Drives the script's interactive 16-item menu non-interactively via SSH; it does NOT reimplement the relay logic.
superchaospc/xray-xhttp-relay-deploy · ★ 0 · DevOps & Infrastructure · score 72
Install: claude install-skill superchaospc/xray-xhttp-relay-deploy
# xray-xhttp-relay Deploy & Operate Install and operate the user's own relay script `xray_deploy.sh` (repo `superchaospc/xray-xhttp-relay`, which the user maintains) on a remote VPS over SSH. It is a derivative of `xray-relay` v2.2.20 with every VLESS inbound moved from TCP+XTLS-Vision to **XHTTP+REALITY**; the menu, node management, and operating flow are otherwise identical. The script is a single interactive bash menu with 16 functions. This skill installs it and drives any function **non-interactively** by feeding stdin over SSH. This is the user's own infrastructure and their own script — operating it on their VPS is authorized. Treat node deletion, port changes, and uninstall as the only sensitive parts (see Destructive operations). **Which skill for which script:** this one is the **XHTTP** variant (`xray-xhttp-relay`). The TCP+XTLS-Vision variant (`xray-relay`) is driven by the separate `xray-relay-deploy` skill. They are different repos and not interchangeable on a live server — XHTTP clients need `type=xhttp` and won't connect to a Vision inbound. If the user is ambiguous about which transport they want, ask. ## How the script behaves (the mechanism that makes this work) `xray_deploy.sh` loops a main menu forever, reading every answer through a `prompt_read` helper. The key fact: **when stdin hits EOF, `prompt_read` prints `输入流已结束,操作取消` and exits 0 cleanly.** So you can pipe a fixed sequence of answers; once they run out, the script exits on its own. There is n