wsl-env

Solid

Reach and act on Windows-side services, processes, launchers, and logs when the agent runs inside WSL. Use whenever a service seems unreachable from WSL (a localhost curl fails), when you need to start/stop or inspect a Windows-side process or .ps1 launcher, read Windows logs, hibernate the machine, or when the repo ships both a .sh and a .ps1 entry point. Self-detecting: if this is not WSL or the target is not Windows-side, it is a no-op. Applies inside subagents too. Never conclude "unreachable" or "can't test this" from WSL without first trying both the Windows LAN-IP and powershell.exe.

AI & Automation 13 stars 3 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
38
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# wsl-env - WSL to Windows-side helper When the agent runs inside WSL, the thing it needs to reach or drive often lives on the Windows side. WSL frequently cannot reach Windows `localhost` ports directly, so a naive `curl localhost:PORT` failing is NOT evidence that a service is down. This skill defines how to detect that situation and how to act across the WSL/Windows boundary correctly. ## Self-detect first (no-op when irrelevant) Before doing anything WSL-specific, check whether it applies: - Is this actually WSL? Check for the WSL kernel signature, e.g. `grep -qi microsoft /proc/version` (or check `/proc/sys/kernel/osrelease`). If not WSL, this skill is a no-op - use normal local access. - Is the target Windows-side? A service bound by a Windows process, a Windows `.ps1` launcher, a Windows path, or a machine-level action (hibernate). If the target is a native Linux service inside the WSL distro, this skill is a no-op - reach it the normal Linux way. Only when both are true do the rules below apply. ## Reaching a service: try BOTH methods before giving up A service reachability failure from WSL has two distinct fixes depending on how the service is bound. Never conclude "unreachable" without trying both. 1. Service bound to `0.0.0.0` (all interfaces): reachable from WSL via the Windows LAN-IP, NOT via `localhost`/`127.0.0.1`. Point the request at the host's real LAN address plus the port. 2. True localhost-only service (bound to `127.0.0.1` on Wind...

Details

Author
Marcel-Bich
Repository
Marcel-Bich/marcel-bich-claude-marketplace
Created
6 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

wsl-vscode-doctor

Diagnose and fix `code .` failing to launch, or opening a disconnected Windows-side VS Code instead of a WSL-connected (Remote-WSL) window, in a herdr-spawned WSL shell.

1 Updated today
atman-33
AI & Automation Listed

agent-reach

Self-contained multi-platform internet search and read skill. Zero external dependencies — calls upstream tools (curl+Jina, gh, yt-dlp, xreach, mcporter) directly and degrades gracefully when tools are missing. Covers: web pages, GitHub, YouTube, Bilibili, Reddit, Twitter/X, XiaoHongShu, Douyin, Weibo, WeChat, V2EX, LinkedIn, RSS, Exa web search. Use when agent needs to search the web, read a URL, or gather research material. Triggers: "search", "read this URL", "搜索", "查一下", "上网搜", "帮我查", "search twitter", "youtube transcript", "search reddit", "web search", "B站", "bilibili", "小红书", "微博", "V2EX", "research".

2 Updated today
Taffyreclaimed45
AI & Automation Listed

agent-reach

Use when the user wants to research a topic, find sources, or search a platform by name - web pages, YouTube, GitHub, RSS/Atom feeds, V2EX, or Exa semantic search. Also when the user shares a URL from one of these platforms and wants it read, summarized, or checked for related content. Routes each request to the right zero-config CLI/API (curl+Jina Reader, yt-dlp, gh, feedparser, mcporter+Exa, V2EX) so results come back as raw source material, not narrowed by one search engine. Pairs with deep-research: use agent-reach first to gather from multiple platforms, then hand the material to deep-research (or synthesize yourself). NOT for: writing the final report/analysis/translation (it only fetches/searches); posting, commenting, or any write action; Twitter/X, Reddit, Facebook, Instagram, LinkedIn, XiaoHongShu, Xueqiu, or Bilibili unless cookies or a login session are already set up (see "Key/cookie-gated channels") - confirm setup first.

1 Updated 5 days ago
M4NUSH7