wsl-path-converter

v1.0.0

Convert Windows paths to WSL paths for file operations in WSL environment

0· 140·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for weiqihan/wsl-path-converter.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "wsl-path-converter" (weiqihan/wsl-path-converter) from ClawHub.
Skill page: https://clawhub.ai/weiqihan/wsl-path-converter
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install wsl-path-converter

ClawHub CLI

Package manager switcher

npx clawhub@latest install wsl-path-converter
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description describe Windows-to-WSL path conversion and the SKILL.md provides exactly that logic. No unrelated binaries, env vars, or capabilities are requested.
Instruction Scope
The instructions are limited to recognizing drive-letter paths, replacing backslashes with forward slashes and mapping drive letters to /mnt/<letter>/. They do not instruct reading files, accessing system credentials, or sending data to external endpoints.
Install Mechanism
No install spec or code files are present (instruction-only). That minimizes disk writes and execution of third-party code.
Credentials
The skill requires no environment variables, credentials, or config paths — appropriate for a simple text-conversion helper.
Persistence & Privilege
always is false and the skill is user-invocable. Model invocation is allowed (the platform default) but that is proportional for a utility skill of this type.
Assessment
This skill appears narrowly scoped and coherent: it only converts Windows-style paths (e.g., C:\path\to\file) into /mnt/c/path/to/file form. Before relying on it, test edge cases you care about (UNC paths like \\server\share are not covered by the rules shown; network mounts or unmapped drives may not exist under /mnt; trailing slashes, percent-encoding, or drive-letter case may affect results). Because it is instruction-only and requests no credentials, it doesn't introduce obvious privilege or exfiltration risks on its own — but be cautious if you combine it with other skills that read or transmit files: the converter only transforms strings and does not itself verify or access the filesystem.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c2jv327fmkftetq514cfb558385rk
140downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

WSL path conversion skills

This skill is used to convert Windows paths to WSL paths, enabling correct access to Windows files in the WSL environment.

Function Description

In the WSL environment, the disk partitions of Windows are mounted under the /mnt/ directory, for example:

  • C:\/mnt/c/
  • E:\/mnt/e/ This skill can automatically recognize the Windows path format and convert it into a path accessible by WSL.

Usage

The skill will automatically handle path conversion. When you provide a path in Windows format, it will be automatically converted to WSL format.

Example

When you mentioned a similar path:

  • E:\projects\chess_game.png → automatically converted to /mnt/e/projects/chess_game.png
  • C:\Users\Documents\file.txt → automatically converted to /mnt/c/Users/Documents/file.txt
  • D:\data\images\photo.jpg → automatically converted to /mnt/d/data/images/photo.jpg

Conversion Rules

  1. Recognize Windows paths in the format of X:\
  2. Convert it to the /mnt/x/ format
  3. Convert the Windows path separator \ to the Unix path separator /
  4. Keep the rest of the path unchanged

Application Scenario

  • Read files from Windows disks
  • Access project files in Windows
  • Manipulate images or other resources in Windows
  • Handle Windows paths in the WSL environment

Comments

Loading comments...