wsl-bash-windows SKILL.md skillA
wsl-bash-windows from black-yt/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add black-yt/skills/wsl-bash-windows@git:20260615.f9474caPins git:20260615.f9474ca in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- black-yt/skills
- Path
wsl-bash-windows/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260615.f9474ca, committed Jun 15, 2026
- First version recorded
- Jun 12, 2026
- Size
- 12,935 bytes
- Repository stars
- 16
- License
- none declared
当在 Windows + WSL 项目中运行 shell 命令、排查 bash/沙箱启动失败、处理 /mnt/c 或 /mnt/d 路径、读取用户贴来的 Windows 图片/临时截图路径、执行 curl/git/npm/python 等 Linux 命令、排查 GitHub/Hugging Face push、DNS、代理或 token 环境差异、避免误切到 PowerShell/cmd/Windows Node/browser fetch 时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# WSL Bash on Windows ## 文件导航 | 序号 | 文件内容概览 | 关键词 | 触发时机 | 文件路径 | | --- | --- | --- | --- | --- | | 1 | 记录 WSL bash 中执行 GitHub 与 Hugging Face push 的安全流程,覆盖非交互/交互 shell token 差异、一次性 HTTP Basic header、DNS 解析失败、坏代理、沙箱网络、`.git/index.lock` 提权、LFS/Xet 边界和 push 后状态验证。 | WSL push、GitHub、Hugging Face、HF、git push、DNS、getent hosts、proxy、HTTP_PROXY、bash -ic、token env、http.extraheader、credential.helper、LFS、Xet、index.lock、Read-only file system、ahead 1 | 在 WSL 项目中 push GitHub 或 Hugging Face 前必须读取;排查 `Could not resolve host`、代理端口不可达、`You are not authorized to push to this repo` 前必须读取;发现 token 只在交互 shell 中存在、普通 shell 网络失败、`.git/index.lock` 写入失败、HF LFS/Xet 或大文件边界不清时必须读取 | [references/push-dns.md](references/push-dns.md) | ## 核心判断 - 看到 `cwd` 或项目路径是 `/mnt/c/...`、`/mnt/d/...`,默认这是 WSL 项目。 - 在 WSL 项目里优先使用 WSL 的 `bash` 和 Linux 命令链,不要绕到 PowerShell、cmd、Windows 侧 `node.exe`、浏览器 `fetch`。 - 如果普通执行失败,先判断是不是沙箱启动失败,而不是误判为“系统没有 bash”。 - Codex 桌面端可能出现“UI 显示 WSL workspace,但实际执行器在 Windows 侧直接找 `/bin/bash`”的混合坏状态;这时不能继续改文件。 - 有些失败只是普通沙箱权限不足或没有提权,不代表 WSL bash 坏了;例如写 `.git/index.lock`、访问受限路径、联网命令或安装依赖时失败,应优先申请提权/原生 WSL 执行。 - 典型沙箱失败包括: ```text Unable to spawn ... codex-linux-sandbox because it doesn't exist ``` …
Read the whole file at its exact version.
How to install
mdr add black-yt/skills/wsl-bash-windows@sha256:4141caf6c44bc7a9The line at the top of this page pins the label git:20260615.f9474ca, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_alrjokvie5ilmk6v)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jun 12, 2026 and Jun 15, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260615.f9474ca latest | 2026-06-15 | f9474ca | 12,935 B | A | view · diff |
| git:20260613.a6839cb | 2026-06-13 | a6839cb | 12,035 B | A | view · diff |
| git:20260612.b240881 | 2026-06-12 | b240881 | 10,726 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12935 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
black-yt/skills · 16 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_alrjokvie5ilmk6v GET https://markdownregistry.com/api/v1/resolve?ref=black-yt/skills/wsl-bash-windows GET https://markdownregistry.com/api/v1/blob/4141caf6c44bc7a9507f87283661e95c66541954817fb7b1efa36b65c333935f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.