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 | $0.00026 | $0.00535 |
| Sonnet 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 8d 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.
- 8d 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 (2 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,069 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
gonavi-cli
Operate databases through the GoNavi headless CLI — the gonavi executable shipped in verified GitHub Release archives. Covers listing/adding/importing saved connections, running SQL queries against saved connections or ad-hoc connection files, exporting result sets to csv/json/md/html/xlsx, batch-executing SQL files…
root-cause
Find the mechanism behind a failure instead of patching its symptom - reproduce first, one variable per experiment with the prediction written before the run, exit by naming the mechanism and pinning it with a failing test. Use for a bug, an unexplained red test, or a failure that will not reproduce.
stress-test
Use when a design, plan, or decision needs adversarial scrutiny before proceeding. Interrogates every branch of the decision tree, providing recommended answers and forcing explicit agreement or pushback. Triggers on "grill me", "stress test this", "poke holes", "challenge this design", or when…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
x-bug2rag
A knowledge-capture tool that turns reusable bug explanations into a local RAG collection, meaning a searchable store of text that an agent can retrieve later. It records the trigger, incorrect implementation, correct implementation, and observable difference.
rubber-ducky
Use when you've planned a non-trivial change and are about to implement it, finished a complex or multi-file piece of work, just wrote tests, or are stuck on repeated failures — and any time the user says "rubber duck this", "rubber ducky", "get a second opinion", "sanity-check my plan", "poke holes in this", "what am…