Clash Verge Skill
/install clash-verge-skill
Clash Verge Skill
Control Clash Verge Rev (mihomo core) via its external controller API.
CLI Tool
python3 {baseDir}/scripts/clash-verge.py
Connection
Prefers Unix socket at /tmp/verge/verge-mihomo.sock (default for Clash Verge Rev on macOS).
Falls back to HTTP API at http://127.0.0.1:9097.
API Token is #OpenClaw
Override via env vars: CLASH_SOCK, CLASH_API, CLASH_SECRET
Or CLI flags: --sock, --api, --secret
Commands
# Overall status
clash-verge.py status
# Proxy mode (rule/global/direct)
clash-verge.py mode # Get current mode
clash-verge.py mode rule # Set mode
# Proxy groups & nodes
clash-verge.py groups # List all proxy groups
clash-verge.py nodes \x3Cgroup> # List nodes in a group
clash-verge.py select \x3Cgroup> \x3Cnode> # Switch node
# Delay testing
clash-verge.py delay \x3Cnode> # Test single node
clash-verge.py delay-group \x3Cgroup> # Test all nodes in group
# Connections
clash-verge.py conns [--limit N] # List active connections
clash-verge.py conns-close [--id ID] # Close one or all connections
# Rules
clash-verge.py rules [--limit N]
# DNS
clash-verge.py dns \x3Cdomain> [--type A|AAAA|CNAME]
clash-verge.py flush-dns
# Maintenance
clash-verge.py restart # Restart mihomo core
clash-verge.py upgrade-geo # Update GeoIP/GeoSite databases
Notes
- No external dependencies (Python stdlib only)
- Unix socket is preferred over HTTP (more reliable, no auth needed)
- Group/node names with special characters (emoji, CJK) are supported
delay-grouptests nodes sequentially — may take a while for large groups
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clash-verge-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/clash-verge-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clash Verge Skill 是什么?
Control Clash Verge Rev via mihomo API. Query proxy status, switch nodes, test delays, manage connections, DNS, and more. Use when user mentions Clash, proxy... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。
如何安装 Clash Verge Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clash-verge-skill」即可一键安装,无需额外配置。
Clash Verge Skill 是免费的吗?
是的,Clash Verge Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Clash Verge Skill 支持哪些平台?
Clash Verge Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clash Verge Skill?
由 brianping7(@brianping7)开发并维护,当前版本 v1.0.0。