vpn-security-check
Infrastructure security audit for VPN server. Use when user asks 'check security', 'is my VPN safe', 'audit security', 'security…
Guided VPN deployment wizard. Use when user says 'deploy VPN', 'deploy my VPN', 'set up VPN', 'install VPN'. Also use when opening the project for the first time and user wants to get started.
$ npx -y skills add Sergei-thinker/vpn-setup --skill vpn-deploy --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/vpn-deployContext preview
The summary Claude sees to decide when to auto-load this skill.
Guided VPN deployment wizard. Use when user says 'deploy VPN', 'deploy my VPN', 'set up VPN', 'install VPN'. Also use when opening the project for the first time and user wants to get started.
name: vpn-deploy description: "Guided VPN deployment wizard. Use when user says 'deploy VPN', 'deploy my VPN', 'set up VPN', 'install VPN'. Also use when opening the project for the first time and user wants to get started."
Управляемый деплой VPN-инфраструктуры для начинающих пользователей. Каждый шаг проверяется перед переходом к следующему.
Use when the user wants to deploy a VPN:
NO STEP WITHOUT VERIFICATION OF THE PREVIOUS STEP
Do not proceed to deployment if connectivity check failed. Do not claim success without running status check.
Execute these phases IN ORDER. Do not skip phases.
**Goal:** Ensure `.env` file exists and is correctly filled.
1. Check if `.env` file exists in project root 2. If NO:
3. If YES:
**Verification:** `.env` exists AND `VPN_HOST` contains a real IP address.
**Goal:** Ensure Python 3 and paramiko are available.
1. Run `python --version` or `python3 --version` 2. If Python not found: tell user to install Python 3 3. Run `python -c "import paramiko; print(paramiko.__version__)"` 4. If paramiko not found: run `pip install paramiko scp`
**Verification:** Both Python 3 and paramiko import successfully.
**Goal:** Verify SSH access to VPS.
1. Run `python ssh_exec.py status` 2. Interpret output:
**Verification:** `ssh_exec.py status` returns xray status or server info without errors.
**Special case — fresh VPS (xray not installed yet):** If SSH connects but xray is not found, that's EXPECTED for first-time deployment. Proceed to Phase 4.
**Goal:** Deploy VPN infrastructure on the VPS.
1. Inform user: "Starting deployment. This takes 15-20 minutes. The script will install 3X-UI panel, create VLESS Reality connections, configure firewall and monitoring." 2. Run `python ssh_exec.py deploy quick-rebuild.sh` 3. Monitor output for:
4. If deployment fails:
**Verification:** Script completes without errors AND outputs at least one VLESS URI.
**Goal:** Confirm VPN is actually running.
1. Run `python ssh_exec.py status` 2. Verify:
3. If xray is not running: `python ssh_exec.py restart`, then check again
**Verification:** `ssh_exec.py status` shows xray running with active inbounds.
**Goal:** Give user everything needed to connect.
Based on user's platform, provide:
**Windows (v2rayN — recommended):** 1. Present all VLESS URIs from deployment output 2. Point to `client-configs/v2rayn-setup.md` for detailed setup 3. Key points:
**iOS (Shadowrocket — recommended):** 1. Present VLESS URIs 2. Point to `docs/04-client-setup.md` iOS section 3. Key: copy URI -> open Shadowrocket -> auto-imports
**Android (v2rayNG):** 1. Present VLESS URIs 2. Point to `docs/04-client-setup.md` Android section
**Verification (user does this manually):**
English: Multi-layer VPN system (VLESS Reality + Russian relay VPS + WebRTC) for bypassing Russian internet censorship (ТСПУ/DPI). Designed to be deployed automatically via Claude Code. See below for Russian documentation.
Infrastructure security audit for VPN server. Use when user asks 'check security', 'is my VPN safe', 'audit security', 'security…
VPN troubleshooting decision tree. Use when user reports VPN problems: 'VPN not working', 'can't connect', 'stopped working', 'no…
Post-deployment verification checklist for VPN. Use AUTOMATICALLY after any deployment action (deploy, rebuild, restart) and…