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.
npx skills add chen3feng/agent-skills --skill wsl-networking-mode-dns-fallbackgit clone --depth 1 https://github.com/chen3feng/agent-skillsWrote 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.
[](https://agentmods.dev/skills/chen3feng/agent-skills/wsl-networking-mode-dns-fallback)<a href="https://agentmods.dev/skills/chen3feng/agent-skills/wsl-networking-mode-dns-fallback"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/wsl-networking-mode-dns-fallback/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.
<a href="https://agentmods.dev/skills/chen3feng/agent-skills/wsl-networking-mode-dns-fallback"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/wsl-networking-mode-dns-fallback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.02116 |
| Opus 5 | $0.00023 | $0.01058 |
| Sonnet 5 | $0.00009 | $0.00423 |
| Haiku 4.5 | $0.00005 | $0.00212 |
Grade A, and why
wsl-networking-mode-dns-fallback scanned grade A with 1 finding 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 10d ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
You're running something in a WSL2 distro from Windows (apt-get, curl, How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WSL networking fallback leaves the distro with no DNS
When to use
You're running something in a WSL2 distro from Windows (apt-get, curl, git clone, cmake fetching deps, a CI sweep script) and it fails at name resolution:
Temporary failure resolving 'archive.ubuntu.com'curl: (6) Could not resolve host: github.comapt-get updateprintsW: Failed to fetch ... Temporary failure resolvinggetent hosts <anything>returns nothing, exit code 2.
And you see one or both of these on WSL startup:
wsl: An internal error occurred. Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054fwsl: Failed to configure network (networkingMode Mirrored), falling back to networkingMode None.
This is not a transient DNS glitch. The distro is actually
networkless, and /etc/resolv.conf is either missing or stale.
Problem
Two independent misconfigurations combine into a total outage:
-
networkingMode = mirroredin%USERPROFILE%\.wslconfig. Mirrored mode depends on Hyper-V virtual-switch features that fail on some Windows builds / VPN / antivirus setups withConfigureNetworking/0x8007054f. WSL then "helpfully" falls back tonetworkingMode = None, which means no NAT, no vEthernet, nothing — the distro only hasloand cannot reach the host network, let alone the internet.ip addrinside the distro shows onlyloand sometimes a leftover10.255.255.254/32onlo(the old mirrored address).ping 8.8.8.8→Network is unreachable.
-
generateResolvConf = falsein/etc/wsl.conf. With that flag, WSL will not rewrite/etc/resolv.confon boot. Whatever state the file was last left in persists — and if it was a broken symlink (a common leftover from distros likesystemd-resolvedexperiments),cat /etc/resolv.confprintsNo such file or directory, and every lookup fails regardless of the underlying network.
Either one alone would break DNS. Together they look like "WSL is totally broken" and the error messages don't point at either config file.
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.
- 10d ago First seen · 197 lines · 47 tokens per session scan A 520aa1a0095e
wsl-networking-mode-dns-fallback is a skill published in the GitHub repository chen3feng/agent-skills (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,116 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
Triage Kubernetes Service DNS
Diagnose in-cluster DNS resolution failures and isolate root causes.
graphics-api-hooking
Analyze Direct3D/DXGI, OpenGL, and Vulkan rendering, presentation, composition, and capture evidence. Use to distinguish API samples, PresentMon event metrics, Tracy instrumentation, compatibility translation, frame images, and validation diagnostics; review swap chains, overlays, resource lifetime, and…
yt-dlp-music-downloads
Download YouTube playlists into the Navidrome music library.
skill-deployment
Use when deploying the shared agent skills via chezmoi, or fixing "not managed" errors.
wispterm-diagnostics
Use when a user wants to report, troubleshoot, or collect context for a WispTerm issue, including crashes, rendering/DPI glitches, high CPU, keyboard/input bugs, selection/copy/scrolling, SSH/SCP failures, SSH image preview failures, HTML preview/browser panel failures, SSH disconnects such as…
procmon
Capture and analyze Windows process / file / registry / network activity with OpenProcMon (procmon-cli). Use when investigating what a program does — files it writes, registry keys it touches, network it makes, its process tree and call stacks — or when analyzing a Procmon-compatible .PML capture. The model: a capture…