lov-clash-tun-doctor

Solid

Diagnose and repair application connectivity failures caused by Clash Verge Rev TUN routing, rule precedence, stale runtime state, proxy timeouts, or unusable IPv6 paths. Trigger for symptoms such as WeChat images failing to send, Moments images loading slowly, an app hanging after TUN is enabled, or requests unexpectedly matching DIRECT/proxy rules. Also trigger when the user mentions "Clash TUN 排障", "微信图片发不出去", "朋友圈图片加载慢", "修复微信 TUN 网络", or "diagnose Clash TUN app connectivity".

AI & Automation 64 stars 16 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clash TUN Doctor Evidence-first diagnosis and reversible repair for application networking failures behind Clash Verge Rev TUN mode. ## When to Use - An application works without TUN but fails, stalls, or loses media with TUN. - WeChat text works while image uploads or Moments images fail. - A rule change makes the symptom worse or the app remains stuck on Loading. - The subscription says `ipv6: false`, but runtime traffic still uses IPv6. - Clash logs contain `no route to host`, `context deadline exceeded`, or an unexpected rule/strategy for the affected process. Do not use this skill for generic subscription acquisition, node purchasing, or bypassing organizational network policy. ## Workflow (MANDATORY) ### Step 0: Resolve the skill and Clash data directories Resolve `SKILL_DIR` from the installed skill context. For manual execution: ```bash export SKILL_DIR="/path/to/lov-clash-tun-doctor" ``` The CLI resolves the Clash Verge Rev data directory in this order: 1. `--data-dir` 2. `SKILL_CLASH_TUN_DOCTOR_DATA_DIR` 3. macOS Clash Verge Rev default under `~/Library/Application Support/` Never hard-code a user's home directory. ### Step 1: Diagnose before proposing a rule Run the read-only command first: ```bash python3 "$SKILL_DIR/scripts/clash_tun_doctor.py" diagnose --app wechat ``` Report concrete evidence from all available layers: - App-level `config.yaml` overrides. - Generated `clash-verge.yaml` top-level and DNS IPv6 values. - Runtime `/configs`, `/r...

Details

Author
lovstudio
Repository
lovstudio/skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

skill-doctor

Diagnose hygiene problems across an installed skill set — routing token cost, vague or missing trigger descriptions, overlapping triggers between skills, and duplicates installed in multiple places. Use when the user asks to tidy, audit, trim, or debug their skills, when skills fire at the wrong time or not at all, or when too many skills are installed.

0 Updated 1 months ago
joshphoenix1
AI & Automation Listed

skilldoctor

Diagnose the Claude Code skills installed on this machine — why one never triggers, and whether Claude can see it at all. Use when the user says a skill isn't firing, isn't triggering, or is being ignored; asks to check, audit, or debug their skills; mentions the skill description budget, truncated skills, or duplicate skills; or asks whether a skill they installed is safe to trust. Runs a deterministic CLI over every installed skill at once, so it catches whole-system problems no single-file check can see.

2 Updated 2 weeks ago
gulmezeren2-byte
AI & Automation Listed

skill-doctor

Use the `skill-doctor` CLI to analyze, audit, and diagnose AI-agent skills (duplicates, conflicts, security risks, context/token cost) on the current machine or project. Trigger when the user asks to review or audit their agent skills, find duplicate or conflicting skills, check skill safety, estimate context-token cost, diagnose agent misbehavior, or compare two skills. Prefers structured CLI JSON over reading raw SKILL.md files.

6 Updated yesterday
evilstar2016