sisyphus1212/v2ray_deploy/v2ray-deploy-local-client-guard
Claude Code and agent skill by sisyphus1212/v2ray_deploy
- community
Checking that the SKILL.md file is still in the repository.
Project-local deployment guard for v2ray client + v2ray_deploy local mode. Enforces explicit mode selection, outbound proxy listen check, and Telegram connectivity acceptance criteria.
Install
npx vskill@latest install sisyphus1212/v2ray_deploy/v2ray-deploy-local-client-guardSKILL.md
The same SKILL.md was published earlier as sisyphus1212/v2ray_deploy/v2ray-deploy-local-client-guard.
v2ray-deploy-local-client-guard
Goal
When deploying on a target host, ensure all of the following are true:
v2ray_deployruns in local mode:--local True.- Subscription service bind/port are explicit (
PROXY_MGT_BIND/PROXY_MGT_PORT). - Public proxy port is exposed on
0.0.0.0(default expected:18080). - Hard acceptance command succeeds:
curl -I --max-time 15 -x http://127.0.0.1:8080 https://api.telegram.org/
Mandatory Safety Rules
- Always state mode explicitly before service changes:
- local mode:
--local True - remote mode: no
--local True(high risk)
- Default to local mode only.
- If user requests
v2ray-bench-autoswitch.timerorv2ray-bench-apply, warn that
this may restart v2ray.service and cause short interruption; require confirmation.
Execution Checklist (Host-Scoped)
- Confirm target host exists and is reachable via Ansible.
- Before deploying bench/timers, ask target host bandwidth (especially uplink/downlink cap) and confirm speed-test profile.
- Default profile:
--bytes 2000000 --timeout 20 - If bandwidth is very low or shared with production traffic, reduce
--bytesfurther or limit--max-nodes.
- Precheck
v2rayinstallation:
- verify
/usr/local/bin/v2rayexists andsystemctl status v2rayis available. - if missing, stop here and explicitly ask user to install
v2rayfirst.
- Sync latest project code to target host.
- Ensure
/etc/proxy_mgt.envcontains:
PROXY_MGT_BIND=0.0.0.0(or user-specified)PROXY_MGT_PORT=5000(or user-specified)
- Restart and verify
v2ray-deploy-local.service. - Verify
/local-fast-ipfrom localhost and public IP. - Verify
v2rayinbound listeners:
- local http proxy:
127.0.0.1:8080 - public http proxy:
0.0.0.0:18080(or user-specified)
- Run hard acceptance command:
curl -I --max-time 15 -x http://127.0.0.1:8080 https://api.telegram.org/
- Report pass/fail with exact command evidence.
- If proxy ports are changed, sync shell proxy env in
/root/.bashrc:
- update
http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXYto the new HTTP port - update
all_proxy/ALL_PROXYto the new SOCKS port - if no permission to read/write
/root/.bashrc, stop immediately and notify user
- Verify v2ray-bench binaries include:
v2ray-bench-nodesv2ray-bench-applyv2ray-bench-autoswitchv2ray-bench-show
- If
v2ray-bench-showis missing but repository hassubprojects/v2ray-bench/bin/v2ray-bench-show,
install it explicitly to /usr/local/bin/v2ray-bench-show with executable permission.
Recommended Verification Commands
Troubleshooting Notes
- If local endpoint is OK but public endpoint fails, verify current host public IP
(avoid DNS/NAT/stale-IP confusion).
- If
:8080cannot be exposed on0.0.0.0, check port conflicts (common with Docker). - Keep
127.0.0.1:8080as the canonical health-check path even when public proxy uses
a different port (e.g. 18080).
- Current
scripts/install.shmay omitv2ray-bench-showin some revisions; treat
/usr/local/bin/v2ray-bench-show as a required post-install check.
- If
v2rayis not installed on target host, do not continue deployment validation;
notify user first, then continue only after installation is completed.
- If
/root/.bashrcupdate is required but permission is missing, do not bypass with
alternative files; stop and ask user to grant permission or handle manually.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/v2ray-deploy-local-client-guard/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sisyphus1212/v2ray_deploy/v2ray-deploy-local-client-guard)