hyqibot/token-free-openclaw/open-desktop-shortcuts
Claude Code and agent skill by hyqibot/token-free-openclaw
- community
Checking that the SKILL.md file is still in the repository.
When the user wants to open a single desktop/start-menu shortcut on Windows (by name match): use execute_shell_command with the PowerShell below — there is no tool named open_desktop_shortcuts; bulk 'open all' is not supported here. | 在 Windows 上按名称打开单个桌面/开始菜单快捷方式:用 execute_shell_command;不支持本技能内「一次打开全部」。
Install
npx vskill@latest install hyqibot/token-free-openclaw/open-desktop-shortcutsSKILL.md
Open Desktop Shortcuts (Windows)
How to invoke in CoPaw (read this first)
- The YAML field
name: open_desktop_shortcutsis the skill folder id for discovery — not a callable tool exposed to the model asopen_desktop_shortcuts(...). - There is no function like
open_desktop_shortcutswith parameters such asshortcut: "微信". Calling that name causes `FunctionNotFoundError`. - To actually run the steps below, use the built-in tool `execute_shell_command` with a `command` string containing the PowerShell one-liner (set
$MATCHinside that string for a single shortcut). Do not invent another tool name. - Example shape:
execute_shell_command→command: paste the one-liner from Open one shortcut (by name), with$MATCH="微信"or$MATCH="WeChat"depending on the real file BaseName on disk.
Use PowerShell (these snippets are not cmd.exe one-liners). If your shell is cmd, run via powershell -NoProfile -Command "...", or write a .ps1 and run powershell -NoProfile -ExecutionPolicy Bypass -File script.ps1 (see CoPaw Windows shell rules).
Scope
Scripts below search these roots (missing folders are skipped):
| Location | Path source | |
|---|---|---|
| Current user Desktop | [Environment]::GetFolderPath('Desktop') | |
| All users / Public Desktop | [Environment]::GetFolderPath('CommonDesktopDirectory') | |
| Current user Start Menu → Programs | [Environment]::GetFolderPath('Programs') | |
| All users Start Menu Programs | [Environment]::GetFolderPath('CommonPrograms') |
- Recursive under each root (so subfolders under Start Menu are included).
- Files:
*.lnkand `*.url` (internet shortcuts). For.url, the script usesStart-Processon the file so the system opens the URL like double‑click. - Not covered: Taskbar pins / tiles with no
.lnkin these trees, UWP-only entries, or items outside the four roots above. - Single target only: This skill does not describe “open every shortcut at once”. Each run launches at most one matching file (first hit); do not use it to mass-launch all shortcuts.
Open one shortcut (by name)
When the user asks to open one shortcut (e.g. “open Chrome”, “launch 微信”, “run the shortcut named X”):
- Choose a substring
MATCHthat should appear in the file BaseName (name without extension), for.lnkor.url. - `MATCH` must be non-empty.
-like "*$MATCH*"treats*?[insideMATCHas wildcard characters. If needed, list files first (see below).
Single line (set MATCH then run — only the first matching file is launched; roots are scanned in table order, first hit wins):
- If multiple files match the pattern, only one is started (first found). If the wrong program opens, list files (below), then use a tighter
MATCH, or ask the user which name to use. - If nothing launches: try another substring for BaseName (e.g.
微信vsWeChat), or list files across roots (example one-liner):
Limitations
- `.lnk`:
CreateShortcut(...).TargetPathignores arguments / working directory / “run as admin”; for closest behavior to double‑click, you can useStart-Process -FilePath $_.FullNameinstead (same paths as above). - `.url`: Opens with the default browser via
Start-Processon the file; not every site behaves like in-app webview. - Start Menu recurse can be slow on large profiles; use a narrower
$MATCHwhen possible. - Pinned-only items with no file under the four roots are still not reachable by these scripts.
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 repositoryCheckingcopaw/agents/skills/open_desktop_shortcuts/SKILL.md
Popularity
- 7-day trend score
- 0
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/hyqibot/token-free-openclaw/open-desktop-shortcuts)