skills/maintain-clash-mihomo-config/SKILL.md
Maintain and update this Clash/Mihomo configuration repo (mihomo.yaml, mihomo.js, rules/*.list, *Merged.list, force_ttl_rules.txt). Use when editing proxy groups, rule providers, DNS/TTL rules, or regenerating merged lists in this project.
npx skillsauth add mmm1h/clashconfig maintain-clash-mihomo-configInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Keep the Mihomo/Clash config, custom rules, and generated lists consistent in this repo, following the project guardrails.
mihomo.yaml: primary Mihomo/Clash config (providers, DNS, proxy groups, rule providers, rules)mihomo.js: JS config generator; keep group and rule names identical to mihomo.yamlrules/*.list: custom rule lists in Clash classical text format*Merged.list: generated/merged rule lists with source headersforce_ttl_rules.txt: generated PaoPaoDNS rulesscripts/update_dns.py: regenerate force_ttl_rules.txt (requires network and requests)scripts/update_dns_rules.sh: server-side updater for PaoPaoDNSrules/.mihomo.yaml or mihomo.js.DOMAIN, DOMAIN-SUFFIX, DOMAIN-KEYWORD, IP-CIDR, IP-CIDR6 with optional ,no-resolve.mihomo.yaml and mihomo.js.__MEIYING_URL__ and __YUNDONG_URL__ intact unless updating subscription URLs.python scripts/update_dns.py to refresh force_ttl_rules.txt.requests package to be available.mihomo.yaml.mihomo.js.tools
Refresh PaoPaoDNS force TTL rules by running scripts/update_dns.py and updating force_ttl_rules.txt, or adjusting scripts/update_dns_rules.sh for server-side updates. Use when DNS rule sources or outputs need updates in this repo.
development
Regenerate aggregated *Merged.list files from their source headers in this repo. Use when refreshing upstream sources or rebuilding merged rule lists.
tools
Maintain helper scripts under scripts/ for this repo (update_direct_from_cn.py, update_dns.py, update_dns_rules.sh, update_zashboard.sh). Use when creating, modifying, or documenting these scripts, or when wiring their outputs into repo files or cron tasks.
data-ai
Maintain custom Clash rule lists in rules/*.list for this repo. Use when adding or removing domain/IP rules, adjusting list contents, or wiring rule lists into mihomo.yaml/mihomo.js.