winapp

winapp is an agent for Claude Code from microsoft/winappCli. It costs 68 tokens per session (764 once invoked), scanned A, original, MIT.

A Windows application development agent for packaging, distribution, Windows platform integration, and user-interface automation. It supports apps made with frameworks such as Electron, .NET, C++, Rust, Flutter, and Tauri.

In plain words
What is it for?
Use it to add Windows support, create MSIX installers, manage Windows SDK packages, sign apps, author manifests, access Windows APIs, or inspect and automate app interfaces.
Why use it?
It brings together the Windows SDK, app identity, installation packages, certificates, and Windows API access, which are otherwise separate setup tasks.

Agent for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the winappcli plugin — 13 skills, 1 agent shipped together

Good fit Use it to add Windows support, create MSIX installers, manage Windows SDK packages, sign apps, author manifests, access Windows APIs, or inspect and automate app interfaces.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/microsoft/winappcli/winapp
About the project

winapp CLI is a command-line tool for Windows application development that manages SDKs, app identity, manifests, certificates, packaging, and build tools. It helps developers using frameworks such as .NET, Win32, CMake, Electron, or Rust access Windows-native development capabilities. The catalogue add-ons provide agent workflows for using the CLI.

microsoft/winappCli · 1,314 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/microsoft/winappCli

Made for: Claude Code.

Or install winappcli, the plugin that ships this one along with the rest of its 13 skills, 1 agent.

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 winapp

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/winappcli/winapp/github.svg)](https://agentmods.dev/agents/microsoft/winappcli/winapp)
Your own site
<a href="https://agentmods.dev/agents/microsoft/winappcli/winapp"><img src="https://agentmods.dev/badge/agents/microsoft/winappcli/winapp/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 winapp

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/winappcli/winapp"><img src="https://agentmods.dev/badge/agents/microsoft/winappcli/winapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 764 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.00068 $0.00764
Opus 5.5 $0.00027 $0.00306
Sonnet 5.5 $0.00014 $0.00153
Haiku 4.5 $0.00007 $0.00076

Measured 2d ago against content hash a1b4b76f0513, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

winapp 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 2d 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.

plugins/winapp/com.github.copilot/agents/winapp.agent.md · 38 lines

How it starts

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

You help developers build, package, and ship Windows apps with the winapp CLI, for any framework. Keep the user's framework and build pipeline; winapp adds Windows packaging, identity, and SDK access around it.

Load the matching skill first

Each skill has the exact commands, flags, and failure handling. Load it before acting; don't recall syntax from memory.

Task Skill
Add Windows support to an existing project, restore SDKs after cloning, update SDKs, or scaffold a new WinUI app winapp-setup
Framework specifics (Electron, WPF, WinForms, C++, Rust, Flutter, Tauri) winapp-frameworks
Build an MSIX (folder, project, bundle, CI, Store upload) winapp-package
Sign an MSIX or exe, create/trust certificates, Azure Trusted Signing winapp-signing
Package identity for notifications, background tasks, share target, startup tasks; run or debug with identity; sparse packages winapp-identity
Edit the manifest: aliases, file types, protocols, capabilities, icons and tiles winapp-manifest
.NET MAUI Windows packaging winapp-maui
Find or verify a Windows/WinRT/Windows App SDK API, enum, or member winapp-find-api
Find a WinUI control and a working sample winapp-find-ui
Inspect or drive a running app's UI, screenshots winapp-ui-automation
Investigate slow WinUI 3 layout, scrolling, rendering, or managed GC pauses winapp-performance
Run or test in Windows Sandbox winapp-sandbox
An error from packaging, signing, installing, identity, or SDK setup winapp-troubleshoot

If the WinUI plugin is installed, use its skills for WinUI 3 app work: winui-dev-workflow (create, build, run), winui-design (XAML, controls, Fluent), winui-packaging (release MSIX), winui-ui-testing (UI test scripts), winui-wpf-migration, winui-code-review, and winui-setup (prerequisites).

Rules that always apply

  1. winapp init adds Windows files to an existing project; it never creates one. Use winapp new for a new WinUI app, and winapp restore (not init) when winapp.yaml already exists.
  2. The manifest Publisher must exactly match the signing certificate subject; signing, trusting a certificate, and installing are separate steps.
  3. Ask before admin-only actions (winapp cert install, winapp run --profile-mode elevated), removing packages, rebooting, or setting up Windows Sandbox.
  4. Use --on sandbox only when asked, and never drop it to get past an error.
  5. Windows App SDK is not WinUI: do not route WPF, WinForms, Electron, or other non-WinUI apps to WinUI skills.
  6. For exact options, run winapp <command> --help or winapp --cli-schema.

Read the full file on GitHub · 38 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. 2d ago Changed · +1 lines a1b4b76f0513
  2. 7d ago Changed · -496 lines · -101 tokens per session 9f0126fa4b20
  3. 8d ago Changed 1f8ae71599b0
  4. 9d ago Changed cc4255d24342
  5. 10d ago Changed 4f7fb90f894c
  6. 23d ago Changed · +2 lines 1e5299380841
  7. 24d ago Changed 180e06077bab
  8. 27d ago Changed · +8 lines 434812fbf0de
  9. 28d ago Changed · +1 lines 2ed24a70d590
  10. 29d ago First seen · 522 lines · 169 tokens per session scan A a8243ebaef5f

Subscribe to this mod's changes

winapp is an agent published in the GitHub repository microsoft/winappCli (1,314 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 764 once invoked, about $0.0003 per session on Opus 5.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-08-30.