Install
openclaw skills install mihomo-subscription-route-publisherUpdate Mihomo site routing rules from natural-language requests, rebuild the published subscription, and verify the live output. 根据自然语言路由请求更新 Mihomo 规则、重建已发布订阅并验证线上结果。
openclaw skills install mihomo-subscription-route-publisherUse this skill when the user says a site, domain, or Mihomo rule should use a specific route target and expects the published subscription to update. 当用户说某个网站、域名或 Mihomo 规则应该走某个目标出口,并希望已发布订阅同步更新时,使用这个 skill。
{baseDir}/README.md{baseDir}/WORKFLOW.md{baseDir}/FAQ.md{baseDir}/CHANGELOG.mdTreat /home/grey/mihomo-fullstack-deploy as the canonical source, rules.xiannai.me as the distribution layer, and live validation as mandatory before declaring success.
把 /home/grey/mihomo-fullstack-deploy 当作规范源,把 rules.xiannai.me 当作分发层,并把线上验证当作必选步骤。
/sync
发布 worker 并触发 /sync?ts=
用 ?ts= 校验线上已发布产物直连
Canonical source:
/home/grey/mihomo-fullstack-deploy/worker/src/inline-rules.js故障转移
Canonical source:
/home/grey/mihomo-fullstack-deploy/rules/user_ruleset/user_proxy_rules.txt定向出口
Canonical source:
/home/grey/mihomo-fullstack-deploy/etc/mihomo/config.yaml/home/grey/mihomo-fullstack-deploy/etc/mihomo/config.windows.yamlNode-name aliases:
onlygays1 -> 故障转移racknerd-reality -> 定向出口DIRECT -> 直连故障转移 rules changed, do not restart local Mihomo unnecessarily定向出口 rules changed, validate the Linux config and published Linux/Windows configs中文解释:
故障转移 规则时,不要无意义重启本机 Mihomo。定向出口 时,要同时校验 Linux 配置和已发布的 Linux/Windows 配置。sed -n '1,120p' /home/grey/mihomo-fullstack-deploy/rules/user_ruleset/user_proxy_rules.txt
sed -n '1,80p' /home/grey/mihomo-fullstack-deploy/worker/src/inline-rules.js
cd /home/grey/mihomo-fullstack-deploy/worker && node --check src/index.js
HOME=/etc/mihomo XDG_CONFIG_HOME=/etc/mihomo/.config /usr/local/bin/mihomo -t -f /home/grey/mihomo-fullstack-deploy/etc/mihomo/config.yaml
curl -fsSL "https://rules.xiannai.me/sync?ts=$(date +%s)"
curl -fsSL "https://rules.xiannai.me/configs/linux.yaml?ts=$(date +%s)"
Always return: 始终返回:
rules.xiannai.me as canonical; the repo stays canonical定向出口 unless the relevant configs were updated in the same change