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 atman-33/workhub --skill wsl-vscode-doctorgit clone --depth 1 https://github.com/atman-33/workhubWrote 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/atman-33/workhub/wsl-vscode-doctor)<a href="https://agentmods.dev/skills/atman-33/workhub/wsl-vscode-doctor"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/wsl-vscode-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.
<a href="https://agentmods.dev/skills/atman-33/workhub/wsl-vscode-doctor"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/wsl-vscode-doctor.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.00052 | $0.01069 |
| Opus 5.5 | $0.00021 | $0.00428 |
| Sonnet 5.5 | $0.00010 | $0.00214 |
| Haiku 4.5 | $0.00005 | $0.00107 |
Grade A, and why
wsl-vscode-doctor scanned grade A with 0 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Task
Diagnose why code . doesn't work (or opens the wrong window) in this WSL
shell, and patch ~/.zshrc so it works going forward.
Steps
-
Check current state. Run:
command -v code echo "WSL_DISTRO_NAME=$WSL_DISTRO_NAME" echo "$PATH" | tr ':' '\n' | grep -i "Microsoft VS Code"Why check both? The
codelauncher script shipped by the Windows VS Code install detects "am I in WSL" via$WSL_DISTRO_NAME. Without it,code .still runs, but it skips routing through the Remote-WSL extension and opens a disconnected Windows-side window instead.Completion criterion:
coderesolves onPATHANDWSL_DISTRO_NAMEis set. If both are true, report "already configured" and stop — no further steps needed. -
Locate the VS Code Windows install (don't hardcode a username):
VSCODE_BIN=$(ls -d /mnt/c/Users/*/AppData/Local/Programs/"Microsoft VS Code"/bin 2>/dev/null | head -1)Completion criterion:
$VSCODE_BINis a directory containing acodefile. If nothing is found, report that VS Code isn't installed on the Windows side and stop. -
Find a known-good
WSL_DISTRO_NAMEvalue. This session's own environment is the broken one, so borrow the value from another process on the same machine that already has it set correctly:for p in /proc/[0-9]*/environ; do v=$(tr '\0' '\n' < "$p" 2>/dev/null | grep '^WSL_DISTRO_NAME=') [ -n "$v" ] && echo "$v" && break doneCompletion criterion: got a
WSL_DISTRO_NAME=<value>from a sibling process, or — if none is found — readNAME=from/etc/os-releaseas a fallback and note in the final report that it's a best-effort guess the user should verify. -
Patch
~/.zshrc, idempotently. Grep for the marker# --- wsl-vscode-doctor:begin ---first. If it's already there, skip this step (don't duplicate). Otherwise append:# --- wsl-vscode-doctor:begin --- export PATH="$PATH:<VSCODE_BIN from step 2>" export WSL_DISTRO_NAME="${WSL_DISTRO_NAME:-<value from step 3>}" # --- wsl-vscode-doctor:end ---
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.
- 2mo ago First seen · 106 lines · 52 tokens per session scan A d586d70b3b36
wsl-vscode-doctor is a skill published in the GitHub repository atman-33/workhub (3 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 1,069 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
wsl-vscode-doctor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wsl-vscode-doctoratman-33/workhub | Skill | 3 | 3d ago | MIT | A | 52 | Claude Code |
| read-only-investigationSyngnat/GoNavi | Skill | 2.1k | yesterday | Apache-2.0 | A | 0 | Claude Code, Codex |
| diagnosewrg32786/aigent-os | Skill | 26 | 2d ago | MIT | A | 35 | Claude Code, Codex |
| first-10-moveswrg32786/aigent-os | Skill | 26 | 2d ago | MIT | A | 36 | Claude Code, Codex |
| stuckwrg32786/aigent-os | Skill | 26 | 2d ago | MIT | A | 35 | Claude Code, Codex |
| learn-from-failurewrg32786/aigent-os | Skill | 26 | 2d ago | MIT | A | 25 | Claude Code, Codex |
| solution-huntwrg32786/aigent-os | Skill | 26 | 2d ago | MIT | A | 24 | Claude Code, Codex |