tunnel-doctor

tunnel-doctor is a skill for Claude Code from daymade/claude-code-skills. It costs 112 tokens per session (26,487 once invoked), scanned B, original, MIT.

A troubleshooting guide for network paths involving Tailscale, proxies, VPNs, SSH, virtual machines, containers, and WSL, the Linux environment that runs inside Windows.

In plain words
What is it for?
It is for diagnosing routing, DNS, proxy bypass, TUN forwarding, SSH tunnelling, and proxy-chain performance problems on macOS and Windows/WSL.
Why use it?
It helps find which networking layer is causing a connection to fail, slow down, or stall instead of relying on guesswork.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Good fit It is for diagnosing routing, DNS, proxy bypass, TUN forwarding, SSH tunnelling, and proxy-chain performance problems on macOS and Windows/WSL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/tunnel-doctor
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add daymade/claude-code-skills --skill tunnel-doctor
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin tunnel-doctor — /plugin install tunnel-doctor after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tunnel-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/tunnel-doctor/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/tunnel-doctor)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/tunnel-doctor"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/tunnel-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tunnel-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/tunnel-doctor"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/tunnel-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 26,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 27 Nov 2026
  • Snyk fail 27 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.26487
Opus 5.5 $0.00045 $0.10595
Sonnet 5.5 $0.00022 $0.05297
Haiku 4.5 $0.00011 $0.02649

Measured 5d ago against content hash e1f8e5727050, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

tunnel-doctor scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/quick_diagnose.py, scripts/transfer_path.py, tests/test_quick_diagnose.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

**Why "restart the app" beats "flush DNS cache"**: `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` flushes cached results, but the resolver chain in `scutil --dns` is rebuilt from network configuration, n

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

e.g. Tailscale ping works but SSH fails, curl works but browser gets 503, Git/Docker fails behind
tunnel-doctor/SKILL.md · 1,474 lines

How it starts

The opening of the file, as written. The whole thing — 1,474 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tunnel Doctor

Diagnose and fix conflicts when Tailscale coexists with proxy/VPN tools on macOS, with specific guidance for SSH access to WSL instances.

Methodology base: the general diagnostic discipline this skill builds on — evidence over assumption, falsification over confirmation, layered isolation, counter-review — lives in the debugging-network-issues skill. This skill is the macOS Tailscale⨯proxy domain layer on top of it; reach for the base skill when the symptom is not a known Tailscale/proxy conflict.

Ownership boundary: this skill owns concrete local network-path operations: Tailscale, route/DNS/proxy interception, VM/WSL propagation, TUN forwarding planes, and proxy node/exit/chain capacity. Use debugging-network-issues as the general method when the boundary is still unknown or the symptom belongs to SSE/CDN/application protocol behavior. This keeps one concrete operator instead of forcing the user to choose between two overlapping proxy doctors.

Target and task scope

Before remote probes or changes, establish whether the target is a designated test machine, an explicitly requested colleague's working computer, or unknown. Use the owner's existing machine-purpose ledger and current task; do not log into a colleague's machine to classify it. Saved SSH access and previous successful tests do not grant ongoing use. Use designated test machines for routine testing; their unavailability does not authorize another person's computer.

Keep an explicitly requested one-off test on a colleague's computer within its stated result and necessary verification. Stop there on completion, cancellation, or a need for an unapproved environment change. Move later performance, migration, and regression tests to designated test machines. A test failure does not authorize disabling that person's proxy/VPN, quitting apps, changing routes, or installing a background task. Proceed with disruptive repair there only when the user has explicitly requested that repair and its interruption. Existing authorization for owner test-machine maintenance remains valid; do not ask again for its routine steps.

Read the full file on GitHub · 1,474 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed e1f8e5727050
  2. 6d ago Changed · +10 lines cac02e28cd5a
  3. 9d ago Changed · +32 lines 7b8476992b3c
  4. 11d ago Changed · +8 lines 1746b89237ce
  5. 14d ago Changed · +4 lines c9ca89753c61
  6. 15d ago Changed · +14 lines 989ff51113a1
  7. 16d ago Changed · +1 lines a200858e52bf
  8. 22d ago Changed · +1 lines 0656cb0e5d3a
  9. 25d ago Changed · +23 lines scan D → B 2283413dd128
  10. 1mo ago First seen · 1,381 lines · 112 tokens per session scan D e88921d00a4b

Subscribe to this mod's changes

tunnel-doctor is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 112 tokens to every session and 26,487 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

tunnel-doctor compared with skills from other repositories

tunnel-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tunnel-doctordaymade/claude-code-skillsSkill1.6ktodayMITB112Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex