v2ray-proxy

V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理。使用场景:OpenClaw需要访问外网时自动开启代理、不需要时关闭。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "v2ray-proxy" with this command: npx skills add felixqian4160/v2ray-proxy

V2Ray 代理管理

管理 V2Ray 代理的自动开关,根据网络状况自动配置系统代理。

功能

  • 🚀 启动/停止 V2Ray
  • 🌐 自动配置/清除系统代理
  • 🔄 自动模式(根据网络状况自动开关)
  • 📊 状态查看和连接测试

配置

V2Ray 位置: /media/felix/d/v2rayN-linux-64/ 代理端口: 10808

使用方式

# 完整开启代理
bash <skill>/scripts/v2ray-proxy.sh on

# 完整关闭代理
bash <skill>/scripts/v2ray-proxy.sh off

# 自动模式(根据网络状况自动开关)
bash <skill>/scripts/v2ray-proxy.sh auto

# 查看状态
bash <skill>/scripts/v2ray-proxy.sh status

# 测试代理
bash <skill>/scripts/v2ray-proxy.sh test

命令说明

命令说明
start仅启动 V2Ray
stop仅停止 V2Ray
on启动 + 设置系统代理
off清除代理 + 停止
auto自动模式
status查看状态
test测试连接

自动代理工作流

  1. 当 OpenClaw 需要访问外网(如搜索、API调用)
  2. 执行 autoon 开启代理
  3. 访问完成后执行 off 关闭代理

开机自启

V2Ray 可以设置开机自启,但代理开关由本脚本控制:

# 添加到开机启动(可选)
# 编辑 /etc/rc.local 或使用 systemd

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Pg Buy

Use when buying API access through ProxyGate — depositing USDC, browsing available APIs, making proxy requests, streaming responses, or rating sellers. Make...

Registry SourceRecently Updated
3040Profile unavailable
General

Structural Pattern Selector

Choose the right structural design pattern (Adapter, Bridge, Composite, Decorator, Facade, Flyweight, or Proxy) for a structural design problem. Use when you...

Registry SourceRecently Updated
1040Profile unavailable
General

TryCloudflare Proxy Verify

Expose a local file, local folder, screenshot, or local HTTP service through a temporary trycloudflare.com tunnel and verify the public URL before sharing it...

Registry SourceRecently Updated
780Profile unavailable
General

国顺VPN节点获取

国顺VPN节点获取技能 - 江苏国顺智能科技有限公司专用。自动搜索、测试并整理可用的V2Ray/Clash免费节点订阅链接,验证可用性,输出可导入的节点配置。功能包括:(1)搜索最新免费节点订阅 (2)验证节点可用性 (3)输出各客户端导入教程。使用场景:员工需要VPN时触发,自动获取可用节点并指导导入。

Registry SourceRecently Updated
1380Profile unavailable