Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

windows-package-manager-installerWindows 包管理器安装程序

Agent Skill

windows-package-manager-installer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,005

周安装

289

GitHub Stars

公开资料未说明

下载量

2,289
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:windows-package-manager-installer(Windows 包管理器安装程序)
来源仓库:https://github.com/darkqiank/windows-package-manager-installer
安装命令:
openclaw skills install windows-package-manager-installer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install windows-package-manager-installer

简介

协助安装 Windows 软件与包管理器环境,简化应用部署流程。

  • 适用于快速搭建开发工具链或运行环境场景。
  • 调用命令 openclaw skills install windows-package-manager-installer 安装。
  • 需确认软件来源安全性,避免安装未经验证的第三方程序。
  • 建议优先使用官方渠道,核对依赖项兼容性。

SKILL.md

name
windows-package-manager-installer
description
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.

Windows 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

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

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

  1. Decide package manager priority.

- Prefer winget first for mainstream desktop apps available from the Microsoft ecosystem. - Prefer choco when winget is 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.

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

  1. 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:

  1. Is this clearly a Windows desktop or CLI app? If yes, package managers are likely appropriate.
  2. Is the app commonly distributed through winget or choco? If yes, prefer package-manager installation.
  3. 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:

  1. Is the machine Windows?
  2. Is PowerShell available?
  3. Is the session likely elevated as administrator when needed?
  4. Is winget available?
  5. Is choco available?

Use simple verification commands when helpful:

$PSVersionTable.PSVersion
Get-Command winget -ErrorAction SilentlyContinue
Get-Command choco -ErrorAction SilentlyContinue

Step 4: Choose commands

Default command patterns:

winget install

winget search <name>
winget install --id <exact.id> --accept-source-agreements --accept-package-agreements

choco install

choco search <name>
choco install <package-name> -y

Do not invent package IDs. If uncertain, tell the user to run the search command first and then provide the exact install command pattern.

Step 5: Provide concise execution steps

Keep the output action-oriented:

  1. Detect / confirm package manager availability
  2. Install missing package manager if needed
  3. Run the install command for the target software
  4. Verify installation if practical

Useful verification examples:

winget list --id <exact.id>
choco list --local-only
where.exe <binary-name>

Package manager environment workflow

winget workflow

Treat winget as a built-in-or-repairable Windows capability rather than a mirror-based package manager.

Use this approach:

  1. Detect whether winget exists.
   Get-Command winget -ErrorAction SilentlyContinue
  1. If present, repair/update sources when needed.
   winget source reset --force
   winget source update
   winget --info
  1. If missing, explain that winget typically comes from App Installer on supported Windows versions.
  2. Recommend one of these repair/install approaches in order:

- Install or update App Installer from Microsoft Store - If Store is unavailable, use the official offline bundle route only if the exact source is known in the current conversation

  1. After repair, verify:
   winget --version
   winget source list

Do not claim that winget supports a standard Tsinghua mirror switch like Chocolatey. It usually does not.

chocolatey workflow

When Chocolatey is missing, provide the standard elevated PowerShell installation flow and then configure the Tsinghua mirror.

Installation command pattern:

Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Then configure the Tsinghua mirror:

choco source disable -n chocolatey
choco source add -n tsinghua -s "https://mirrors.tuna.tsinghua.edu.cn/chocolatey/"
choco source list

If source replacement is not accepted by the local Chocolatey version or policy, explain that the default community source may remain enabled and clearly state the actual final source status.

full environment setup checklist

When the user says things like "安装 Windows 包管理环境" or "安装 choco、winget", follow this sequence:

  1. Check admin rights if relevant.
  2. Check whether winget exists.
  3. If missing, instruct repair/install through App Installer.
  4. Check whether choco exists.
  5. If missing, install Chocolatey.
  6. Configure Chocolatey with the Tsinghua mirror.
  7. Verify both tools.
  8. End with a clear environment-ready message.

Recommended verification block:

winget --version
winget source list
choco --version
choco source list

Output format

Use this response structure by default, adapting as needed:

1. 判断结果

State whether the request should use winget, choco, both, or neither.

2. 执行步骤

Provide the exact commands in a minimal sequence.

3. 验证命令

Provide one or more commands the user can run to confirm success.

4. 最终提示

Always end with one of these styles:

  • 环境安装成功:winget 与 Chocolatey 已可用,Chocolatey 已配置清华源。
  • 软件安装成功:已通过 <winget/choco> 完成安装。
  • 环境部分完成:<state what succeeded>;<state what still needs manual action>.
  • 安装失败:<state the blocker plainly>.

Guardrails

  • Stay within Windows context.
  • Prefer package-manager installation over manual website download whenever realistic.
  • Never claim a package exists in winget or choco unless the current conversation already established it.
  • Do not fabricate exact package IDs or source states.
  • Be explicit when administrator privileges are required.
  • When a package manager is missing, solve that before giving the target software install command.
  • Always mention that Chocolatey is configured to use the Tsinghua mirror when that step is included.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.99%
按下载量换算1,717

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills