vintlin/computer-care-skills/path-convert
Claude Code and agent skill by vintlin/computer-care-skills
- community
Checking that the SKILL.md file is still in the repository.
Use for path conversion when a user sends a Windows UNC path, macOS smb:// URL, /Volumes path, mounted share path, or asks to convert, normalize, open, or list a file-system path across Windows and macOS.
Install
npx vskill@latest install vintlin/computer-care-skills/path-convertSKILL.md
Path Convert
Overview
Handle file-system paths as data first. Preserve path components exactly, convert syntax only when the target platform is clear, and avoid inventing server/share mappings.
Core Rules
- Identify the input path type:
- Windows UNC:
\\server\share\folderor\server\share\folder - Windows local:
C:\Users\name\folder - macOS SMB URL:
smb://server/share/folder - macOS mounted volume:
/Volumes/share/folder(contains only the mounted share name — do not infer a server name from it) - macOS local:
/Users/name/folder
- Convert only the path syntax by default. Preserve every directory/file component exactly unless the user explicitly gives a rename, replacement, or business mapping rule. Do not silently decode, rename, or translate folder names — the only exception is URL percent-decoding in
smb://paths.
- Prefer
smb://server/share/folderas the macOS output for Windows UNC network paths (Finder opens it directly).
- Prefer
\\server\share\folderas the Windows output forsmb://paths.
- Open a path:
- macOS:
open <path-or-smb-url>in Finder. - Windows:
explorer <path>in File Explorer. - If the current environment is not the target OS, provide the command the user should run — never claim a path was opened on the wrong OS.
- List files:
- List only files by default.
- Use
--include-dirsonly when the user wants directories shown with files. - Use
--dirs-onlyonly when the user wants directories without files. - For
smb://or UNC paths, listing requires the share to be mounted locally first; otherwise explain the mount requirement. Never claimsmb://or UNC contents were listed before mounting.
- Constraints:
- Do not treat a Windows drive path as a real macOS mount unless the user confirms the mount layout.
- Do not use for URL routing, shell glob expansion, application-specific import paths, or business-specific folder rewrites unless the user provides the mapping rule.
Quick Reference
| Input | macOS form | Windows form | |
|---|---|---|---|
\\server\share\dir | smb://server/share/dir | \\server\share\dir | |
smb://server/share/dir | smb://server/share/dir | \\server\share\dir | |
/Volumes/share/dir | /Volumes/share/dir | placeholder UNC without server | |
C:\Users\name | /Volumes/C/Users/name placeholder | C:\Users\name |
Tool
Use scripts/path_tool.py for deterministic conversion, opening, and listing:
The script prints the converted path. open also opens it when the host OS supports the requested file manager. list prints one absolute path per line and preserves visible path components without resolving symlinks.
Response
- Simple conversion: answer with only the converted path unless explanation is requested.
- Open requests: state whether it was opened or provide the exact command to run.
- List requests: return matching paths, or summarize if output is too long.
- Business rewrites: ask for the mapping rule — only syntax conversion is safe without one.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/path-convert/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vintlin/computer-care-skills/path-convert)