Files
Team 881fbf6dbb fix: xui inbound client must have enable:true, fix WS nginx headers
- lessons-learned: add two critical issues from first real deployment
  1. client enable:false causes auto-removal by x-ui scheduler
  2. CF proxy strips Connection header, nginx must hardcode WS headers
- xray-inbound-config.md: fix API path, add enable:true to client,
  hardcode Upgrade/Connection headers in nginx WS location
2026-04-25 20:20:03 +08:00
..

xui-deploy

Automates installing and configuring 3x-ui (Xray panel) on a remote VPS over SSH.

Architecture

Architecture

Workflow

Workflow

When to Use

Activate this skill when the user wants to:

  • Deploy or install x-ui / 3x-ui on a VPS
  • Set up an Xray proxy panel
  • Update an existing x-ui installation
  • Configure panel port, credentials, or base path

Trigger phrases: deploy x-ui, install x-ui, setup xui, install 3x-ui, xray panel, 部署x-ui, 安装x-ui, 搭建xui, xray面板

How It Works

  1. Collects VPS host, SSH credentials, and panel settings from the user
  2. Tests SSH connectivity and checks OS compatibility
  3. Runs the official 3x-ui one-line installer (handles fresh install and updates)
  4. Configures panel port, username, password, and web base path via x-ui CLI
  5. Restarts the service and verifies it is running
  6. Opens the panel port in the system firewall (ufw or firewalld)
  7. Reports the panel URL and credentials

File Structure

xui-deploy/
├── SKILL.md          # Instructions for the agent
├── evals/
│   └── evals.json    # 4 test cases
└── assets/
    ├── architecture.puml
    ├── xui-deploy-architecture.svg
    ├── workflow.puml
    └── xui-deploy-workflow.svg

Evals

python scripts/run_evals.py xui-deploy