技能标识:mihomo-cli
Inspect and operate a local Mihomo/Clash.Meta/Clash Verge/ClashMac instance through its REST API. Use when the user asks to check proxy status, list nodes, read delay/latency history, switch proxy groups, inspect active connections, flush DNS/FakeIP cache, restart Mihomo, or discover where Mihomo is installed/running on the machine.
技能名称: mihomo-cli
详细描述:
使用捆绑脚本执行可重复的Mihomo操作,无需每次重新发现路径和API认证信息。
运行:
bash
scripts/mihomo-cli.sh status
该脚本通过检查以下路径自动检测常见的Mihomo安装:
它会提取:
bash
scripts/mihomo-cli.sh status
scripts/mihomo-cli.sh proxies
scripts/mihomo-cli.sh groups
scripts/mihomo-cli.sh test
scripts/mihomo-cli.sh test 🇭🇰 E0 香港核心
scripts/mihomo-cli.sh connections
scripts/mihomo-cli.sh flush dns
scripts/mihomo-cli.sh flush fakeip
scripts/mihomo-cli.sh restart
scripts/mihomo-cli.sh config
bash
scripts/mihomo-cli.sh groups
bash
scripts/mihomo-cli.sh switch GLOBAL 🇭🇰 E0 香港核心
请使用精确的分组和代理名称。
默认使用:
bash
scripts/mihomo-cli.sh proxies
这将显示Mihomo历史记录中最新记录的延迟。
如果用户希望对单个节点进行实时测试,请运行:
bash
scripts/mihomo-cli.sh test <代理名称>
谨慎对待0ms:它可能表示测量缺失/失败,而非真正完美的路由。
当需要原始端点详情、请求格式或调用辅助脚本未封装的端点时,请阅读references/api.md。
当自动检测失败时,使用:
bash
ps aux | grep -iE clash|mihomo|verge | grep -v grep
然后从进程命令行中检查配置路径。
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 mihomo-cli-1776068703 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 mihomo-cli-1776068703 技能
skillhub install mihomo-cli-1776068703
文件大小: 6.06 KB | 发布时间: 2026-4-15 13:25