windows-package-manager-installer
install windows software and windows package manager environments. use when the user wants to install a windows application, explicitly wants to install or configure winget or chocolatey, wants a windows package management environment set up, or wants chatgpt to decide whether to use winget or chocolatey for installation. prefer package-manager-based installation, install missing package managers when needed, configure chocolatey with the tsinghua mirror, and report clear success or failure status.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/darkqiank/windows-package-manager-installerWindows Package Manager Installer
Use this skill to handle Windows software installation requests through package managers instead of manual download flows whenever possible.
Workflow decision tree
-
Identify the user's goal.
- Install a specific Windows app -> follow Software installation workflow.
- Install or configure winget / chocolatey / Windows package management environment -> follow Package manager environment workflow.
-
Prefer package managers over direct-download instructions.
- Check whether the target software is available in
winget. - Check whether the target software is available in
choco. - If at least one package manager supports the target, use a package-manager-based solution.
- Check whether the target software is available in
-
Decide package manager priority.
- Prefer
wingetfirst for mainstream desktop apps available from the Microsoft ecosystem. - Prefer
chocowhenwingetis unavailable, broken, missing the package, or when the package is commonly better supported in Chocolatey. - If both are supported, choose the one with simpler and more reliable installation commands for the specific software.
- Prefer
-
If the selected package manager is missing, install it first.
- Missing
winget-> guide the user to install or repair App Installer / winget availability. - Missing
choco-> install Chocolatey. - After Chocolatey installation, configure the Tsinghua mirror.
- Missing
-
Finish every response with a status-oriented summary.
- Confirm what is already installed.
- Confirm what was installed or configured.
- State the exact command to run next if the user still needs to execute something.
- End with a clear success/failure-style message in Chinese.
Software installation workflow
Step 1: Normalize the target software
Extract the product name and normalize it to the likely package-manager search term.
Examples:
- "安装 vscode" -> search
Visual Studio Code/vscode - "安装微信" -> search
WeChat - "安装 7zip" -> search
7zip/7-Zip
When the user provides a vague app name, prefer a best-effort search-and-install approach instead of asking unnecessary follow-up questions.
Step 2: Check package-manager suitability
Use this order of reasoning:
- Is this clearly a Windows desktop or CLI app? If yes, package managers are likely appropriate.
- Is the app commonly distributed through
wingetorchoco? If yes, prefer package-manager installation. - If the app is not likely to exist in either package manager, say so plainly and fall back to vendor-download guidance.
Step 3: Check environment state
Before giving install commands, reason through these checks in order:
- Is the machine Windows?
- Is PowerShell available?
- Is the session likely elevated as administrator when needed?
- Is
wingetavailable? - Is
chocoavailable?
Use simple verification commands when helpful:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-darkqiank-windows-package-manager-installer": {
"enabled": true,
"auto_update": true
}
}
}