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.
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.
npx skills add microsoft/winappCli --skill winui-wpf-migrationgit clone --depth 1 https://github.com/microsoft/winappCliWrote 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.
[](https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration)<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-wpf-migration/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.
<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-wpf-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.02183 |
| Opus 5.5 | $0.00026 | $0.00873 |
| Sonnet 5.5 | $0.00013 | $0.00437 |
| Haiku 4.5 | $0.00006 | $0.00218 |
Grade A, and why
winui-wpf-migration 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WPF to WinUI 3 Migration
Port WPF code to WinUI 3 while preserving the application's behavior, deployment, stored data, and external contracts.
When to Use
- Convert WPF XAML, controls, bindings, or
System.Windows.*APIs to WinUI 3. - Port dispatcher calls, windows, dialogs, file pickers, or imaging code.
- Adapt observable properties, commands, resources, and tests during a WPF migration.
- Fix project, runtime, installer, or signing failures caused by that migration.
Use winui-design for control samples, winui-dev-workflow for project setup and build/run commands, and winui-packaging when packaging is in scope. Keep the target project's versions, deployment, and required behavior when using those workflows.
Migration Sequence
Port bounded groups of files in dependency order:
- Project files — prepare the WinUI target, package references, XAML/resource items, native references, and assets. Keep assembly names and deployment settings required by existing callers.
- Models and shared logic — remove UI-framework dependencies from reusable logic. Share CLI/UI behavior through a library when needed, without executable-to-executable project references.
- MVVM — replace custom observable/command infrastructure with CommunityToolkit.Mvvm. Preserve setter transformations, defaults, serialization attributes, notifications, and command behavior.
- Resource strings — migrate the application's
.resxstrings and their code/XAML consumers to.resw, connect the PRI resource index and accessor, and keep stable keys. - Services and imaging — replace WPF types and propagate asynchronous APIs through callers. Preserve codec, metadata, cancellation, and error behavior.
- View models — move UI updates onto their owning dispatcher queue and adapt binding/command notifications.
- Views and pages — start with leaf views. Port markup, styles, converters, templates, keyboard behavior, and accessibility.
- Main view and shell — integrate the converted views, navigation, windows, and owner-dependent dialogs/pickers.
- Application startup — merge initialization, resources, activation, and cleanup into the WinUI lifecycle.
- Existing installer, packaging, or signing steps — update only the affected steps if the port changes the files they consume or when those files are ready.
- Tests — adapt async calls, resource access, pixel/metadata assertions, settings fixtures, and integration scenarios.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago Changed · -2 lines · -9 tokens per session 4e8bfa25b94d
- 1mo ago Changed · -27 tokens per session 50c58cdb73ba
- 1mo ago First seen · 112 lines · 100 tokens per session scan A b8756a23a41d
winui-wpf-migration is a skill published in the GitHub repository microsoft/winappCli (1,403 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 2,183 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-10-07.
winui-wpf-migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| winui-wpf-migrationmicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 64 | Claude Code |
| author-labelsvercel/vercel | Skill | 17k | 5d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| latchbio-integrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| claw-adminx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| x-netsx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| x-themex-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 74 | Claude Code, Codex |
| x-arpx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 64 | Claude Code, Codex |