Reliably inspect, create, edit, validate, and transfer files in a Windows-hosted WSL workspace. Use when a task names a WSL path, a `\\wsl.localhost` path, a Windows/WSL project location, or when remote file writes, UNC paths, mounted workspaces, and WSL shell execution may disagree.
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Use this skill to establish one authoritative native WSL workspace before modifying a Windows-hosted WSL project. Do not assume that a Windows path, UNC path, agent-mounted path, and Linux path are interchangeable.
\\wsl.localhost\Ubuntu-26.04\home\idols\project as the native path /home/idols/project in distribution Ubuntu-26.04.C:\. Do not invoke WSL while the current Windows directory is a \\wsl.localhost\… path.scripts/verify_wsl_workspace.sh through wsl.exe -d <distro> -- bash … with --probe-write. Stop if it reports /mnt, drvfs, a nonexistent directory, or a write/read/delete failure.\\wsl.localhost\… and any agent mount only for inspection or explicitly verified transport. Never write through them and assume WSL will see the change.scripts/install_verified_url.sh inside native WSL to download, verify, and atomically install it. For a short change, use a single noninteractive WSL command from C:\, then verify the target in the same WSL shell.Read references/remote-execution.md before selecting a route. Use the following sequence conceptually:
Windows shell at C:\
→ wsl.exe -d <distro> -- bash verify_wsl_workspace.sh <native-path> --probe-write
→ deterministic atomic write from a local source
→ WSL-native hash/read verification
→ project operations in the verified native workspace\\wsl.localhost\… working directory to launch a command that calls wsl.exe.| Resource | Use |
|---|---|
scripts/verify_wsl_workspace.sh | Use first. It checks location/filesystem and runs an optional atomic write probe. |
scripts/install_verified_url.sh | Use after uploading a generated artifact; it verifies SHA-256 and atomically installs it into native WSL. |
references/remote-execution.md | Read for safe/unsafe route guidance and recovery. |
pvnkmnk/AgenticSelfHostSkills
ff4471e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.