vintlin/computer-care-skills/path-convert

Claude Code and agent skill by vintlin/computer-care-skills

Trust tier 3
  • community
Source check pending

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-convert

SKILL.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

  1. Identify the input path type:
  • Windows UNC: \\server\share\folder or \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
  1. 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.
  1. Prefer smb://server/share/folder as the macOS output for Windows UNC network paths (Finder opens it directly).
  1. Prefer \\server\share\folder as the Windows output for smb:// paths.
  1. 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.
  1. List files:
  • List only files by default.
  • Use --include-dirs only when the user wants directories shown with files.
  • Use --dirs-only only 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 claim smb:// or UNC contents were listed before mounting.
  1. 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

InputmacOS formWindows form
\\server\share\dirsmb://server/share/dir\\server\share\dir
smb://server/share/dirsmb://server/share/dir\\server\share\dir
/Volumes/share/dir/Volumes/share/dirplaceholder UNC without server
C:\Users\name/Volumes/C/Users/name placeholderC:\Users\name

Tool

Use scripts/path_tool.py for deterministic conversion, opening, and listing:

bash
python3 scripts/path_tool.py convert --to mac '\\server\share\folder'
python3 scripts/path_tool.py convert --to windows 'smb://server/share/folder'
python3 scripts/path_tool.py open --to mac '\\server\share\folder'
python3 scripts/path_tool.py open --to windows 'smb://server/share/folder' --print-command
python3 scripts/path_tool.py list '/Volumes/share/folder'
python3 scripts/path_tool.py list --include-dirs '/Volumes/share/folder'
python3 scripts/path_tool.py list --dirs-only '/Volumes/share/folder'

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vintlin/computer-care-skills/path-convert/badge)](https://verified-skill.com/skills/vintlin/computer-care-skills/path-convert)

Something wrong with this skill or its page? Tell us.