Clash Verge Diagnostics
SkillDev toolsDiagnostics and profile management for Clash Verge and mihomo. Use when the user hits proxy failures, needs to configure AI tool routing, local Hub topology, multi-machine alignment, TUN bypass, cloning or switching subscriptions, or when config changes don't take effect after syncing. Use clash-rou
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Clash Verge Diagnostics skill
What this skill tells your AI
The instructions your AI receives, as published by majiayu000/spellbook in skills/clash-doctor/SKILL.md and read by ahel’s review.
Inspect Clash Verge or mihomo, manage profile-specific routing, and diagnose connectivity.
Routing
- Confirm the target profile, constraints, requested access path, and done-when signal.
- Load
references/full-guide.mdfor commands, templates, and diagnosis matrices. - Load
references/local-hub.mdbeforehub,align,roles,clone,setup-ai, orswitch, and whenever the user says a previous sync did not apply. - Keep the change limited to the requested target.
Safety
- Diagnose and align are read-only. Writes require a shown summary and explicit confirmation.
- Edit enhancement overlays or the confirmed local-hub YAML. Do not edit raw subscription dumps.
tun.route-exclude-addressis union-only.DIRECTis not a TUN bypass.- Never invent or print node IPs, credentials, subscription UIDs, or machine hostnames.
- After an overlay or hub-YAML write, quit and reopen Clash Verge.
PUT /configsdoes not re-merge overlays.
Modes
| Argument | Mode |
|---|---|
| empty or a hostname | diagnose |
profiles / list / ls | list local and remote profiles |
status | live kernel, TUN, and selected nodes |
hub / roles | local-hub topology |
align / sync-check | read-only multi-machine comparison |
switch-check / health | pre-switch health |
clone / setup-ai / switch | confirmed profile writes |
rustdesk / bypass | TUN exclusion for a relay IP |
Resolve the named target before setup-ai. Apply airport-style enhancement overlays only when that target is type: remote; edit the named hub YAML when it is type: local.
Verify
- Parse the target YAML after every write.
- Query mihomo by trying both Unix sockets and then the configured HTTP controller; fall back on request failure, not socket existence alone.
- For routes,
chains[-1]is the matched group andchains[0]is the dialed node. - Report files changed, commands run, evidence, and remaining risk.
References
references/full-guide.md— commands, templates, and diagnosis matrixreferences/local-hub.md— hub ownership, node roles, alignment, and landmines
Signals
- GitHub stars
- 278
- Forks
- 26
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
clash-doctor- Source
- github.com/majiayu000/spellbook