ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

v2ray-proxy

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

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/felixqian4160/v2ray-proxy
Or

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

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-felixqian4160-v2ray-proxy": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.