winget

winget is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 29 tokens per session (1,102 once invoked), scanned A, original, MIT.

A Windows package manager for finding, installing, updating, listing, and removing software from the command line. A package manager is a tool that handles software installation and version updates for you.

In plain words
What is it for?
Use it to search for applications, install specific versions, upgrade one or many programs, list installed software, and export or import an application list.
Why use it?
It removes the need to download and update applications one by one through separate websites. It can also repeat software setup with named packages and options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search for applications, install specific versions, upgrade one or many programs, list installed software, and export or import an application list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/winget
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add malue-ai/dazee-small --skill winget
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for winget

README.md
[![agentmods](https://agentmods.dev/badge/skills/malue-ai/dazee-small/winget/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/winget)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/winget"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/winget/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for winget

Your own site · 80×15
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/winget"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/winget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01102
Opus 5 $0.00015 $0.00551
Sonnet 5 $0.00006 $0.00220
Haiku 4.5 $0.00003 $0.00110

Measured 9d ago against content hash 4cdb429966b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

winget scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

instances/xiaodazi/skills/winget/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

winget 包管理器(Windows)

使用 Windows 官方包管理器 winget 搜索、安装、升级和管理应用程序。 类似 macOS 上的 Homebrew,是 Windows 10 (1709+) / 11 内置的命令行工具。

使用场景

  • 用户说「帮我安装 XX 软件」「看看有没有 XX 可以装」
  • 需要批量安装/升级应用
  • 查看已安装软件列表和版本
  • 其他 Skill 依赖的软件需要安装时自动调用

命令参考

搜索应用

# 搜索应用
winget search "Visual Studio Code"

# 精确匹配 ID
winget search --id "Microsoft.VisualStudioCode"

# 按来源筛选(winget / msstore)
winget search "Python" --source winget

安装应用

# 安装应用(静默模式)
winget install --id "Microsoft.VisualStudioCode" --silent --accept-package-agreements --accept-source-agreements

# 安装指定版本
winget install --id "Python.Python.3.12" --version "3.12.4"

# 安装到自定义路径
winget install --id "Git.Git" --location "D:\Tools\Git"

# 从 Microsoft Store 安装
winget install --id "9NBLGGH4NNS1" --source msstore  # EarTrumpet

列出已安装

# 列出所有已安装应用
winget list

# 按名称过滤
winget list "Python"

# 检查可升级的应用
winget upgrade

升级应用

# 升级特定应用
winget upgrade --id "Microsoft.VisualStudioCode"

# 升级所有可升级的应用
winget upgrade --all --silent --accept-package-agreements

# 升级并忽略版本限制
winget upgrade --id "Git.Git" --include-unknown

卸载应用

# 卸载应用
winget uninstall --id "Mozilla.Firefox"

导出/导入应用列表

# 导出当前已安装应用到 JSON
winget export -o "$env:USERPROFILE\Desktop\apps.json"

# 从 JSON 批量安装(换机迁移)
winget import -i "$env:USERPROFILE\Desktop\apps.json" --accept-package-agreements

查看应用详情

# 查看应用详细信息
winget show --id "Microsoft.VisualStudioCode"

常用安装命令速查

应用 安装命令
VS Code winget install Microsoft.VisualStudioCode
Git winget install Git.Git
Python 3.12 winget install Python.Python.3.12
Node.js LTS winget install OpenJS.NodeJS.LTS
7-Zip winget install 7zip.7zip
Everything winget install voidtools.Everything
PowerToys winget install Microsoft.PowerToys
Windows Terminal winget install Microsoft.WindowsTerminal
Chrome winget install Google.Chrome
Firefox winget install Mozilla.Firefox
VLC winget install VideoLAN.VLC
Obsidian winget install Obsidian.Obsidian
Notion winget install Notion.Notion

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 151 lines · 29 tokens per session scan A 4cdb429966b2

Subscribe to this mod's changes

winget is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 1,102 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens