返回顶部
c

clash-verge

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, VPN, nodes, or network proxy management.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
107
下载量
0
收藏
概述
安装方式
版本历史

clash-verge

# 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 ```bash # 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 <group> # List nodes in a group clash-verge.py select <group> <node> # Switch node # Delay testing clash-verge.py delay <node> # Test single node clash-verge.py delay-group <group> # 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 <domain> [--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-group` tests nodes sequentially — may take a while for large groups

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clash-verge-skill-1776116600 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clash-verge-skill-1776116600 技能

通过命令行安装

skillhub install clash-verge-skill-1776116600

下载 Zip 包

⬇ 下载 clash-verge v1.0.0

文件大小: 6.17 KB | 发布时间: 2026-4-14 13:47

v1.0.0 最新 2026-4-14 13:47
- Initial release of Clash Verge Skill for controlling Clash Verge Rev (mihomo core) via its external API.
- Includes CLI tool to check status, manage proxy modes, switch nodes, test delays, and handle connections and DNS.
- Supports Unix socket and HTTP API connections with environment variable and CLI flag overrides.
- No external dependencies; fully Python stdlib-based.
- Handles proxy group and node names with special characters.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部