Skip to main content
ClaudeWave
Skill240 repo starsupdated 10d ago

clash-doctor

Clash-doctor diagnoses Clash Verge/Mihomo proxy configuration issues and manages routing rules for AI tools like Claude, Codex, Cursor, and Warp. Use it when troubleshooting network connectivity problems, setting up proxy routing configurations, switching between subscription profiles, viewing or cloning Clash settings, and performing connectivity verification through profile inspection and API probing.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/majiayu000/spellbook /tmp/clash-doctor && cp -r /tmp/clash-doctor/skills/clash-doctor ~/.claude/skills/clash-doctor
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Clash Verge Diagnostics

Use this skill for Clash Verge / Mihomo profile inspection, AI-tool route setup, active profile switching, and connectivity diagnosis.

## Routing

- Start here to confirm scope, safety boundaries, and the minimum workflow.
- Load `references/full-guide.md` before executing detailed commands, applying templates, or relying on examples from this skill.
- Keep the work limited to the user-requested target; do not add adjacent improvements unless the user asks.

## Quick Workflow

1. Confirm the target, available context, constraints, and done-when signal.
2. Read the relevant section of `references/full-guide.md` for task-specific details.
3. Execute the smallest reversible action that satisfies the request.
4. Verify with profile JSON/YAML parsing, Mihomo API or local connectivity probes, and a clear rollback path for any profile write.
5. Report changed files, commands run, evidence collected, and any remaining risk.

## References

- `references/full-guide.md` - complete command patterns, examples, checklists, and edge cases.