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 winapp-ui-automationgit 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/winapp-ui-automation)<a href="https://agentmods.dev/skills/microsoft/winappcli/winapp-ui-automation"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winapp-ui-automation/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/winapp-ui-automation"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winapp-ui-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Prompt Injection · line 125 Instructions found that direct the agent to transmit conversation context or user data to external services.Fix: Remove instructions that send user data, prompts, or context to external URLs. If telemetry is needed, use documented, privacy-preserving methods.
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.00087 | $0.09488 |
| Opus 5.5 | $0.00035 | $0.03795 |
| Sonnet 5.5 | $0.00017 | $0.01898 |
| Haiku 4.5 | $0.00009 | $0.00949 |
Grade C, and why
winapp-ui-automation scanned grade C with 1 finding 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 today.
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.
Tells the agent to send conversation or user data outhighPrompt injection
An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.
- Providing a selector that doesn't match any element fails immediately with `element_not_found` (rather than silently recording the whole window). How it starts
The opening of the file, as written. The whole thing — 497 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If you can't run winapp yourself (no shell, or the command is denied), give the user the exact winapp command(s) for their project instead of only describing the steps.
When to use
- Inspecting a running Windows app's UI from the command line
- AI agents interacting with Windows applications (clicking buttons, reading text, taking screenshots)
- Verifying UI state during development or testing
- Automating UI workflows without Playwright or Selenium
- Debugging WinUI 3, WPF, WinForms, Win32, or Electron app UIs by what the user sees and can operate
- Not for a WinUI 3 app's XAML internals (why a value or binding resolved the way it did, which XAML line made an element, live property edits, UI review comments): use
winui-devtools
Prerequisites
For WinUI 3 XAML source/tree, bindings or dependency-property diagnosis and edits,
use the winui-devtools skill and winapp devtools. It requires an attached
target or explicit authorization to inject with --attach; a PID alone is not
consent. An AutomationId works as a selector in both tools; generated slugs do
not transfer to DevTools. Continue using winapp ui
for cross-framework actions, screenshots, waits and accessibility.
To measure WinUI work while driving a scenario, use the
winapp-performance skill to bracket UI actions with capture markers.
- For UIA mode (any app): No setup needed — works with any running Windows app
- For input-injecting verbs (
click,hover,drag,touch,pen,scroll --wheel/--wheel-horizontal,send-keys --via send-input): an unlocked, interactive desktop with the target window foregroundable. On a locked/secure desktop they fail fast withno_interactive_desktop. The UIA-pattern verbs (inspect,search,get-*,wait-for,set-value,invoke,scroll --direction/--to) are headless/locked-session friendly — prefer them in CI. screenshotis not in that group: it always takes an exclusive turn, so it queues behind other UI workflows, and capture can need a usable interactive desktop — the engine restores the target if it is minimized, and falls back to foregrounding it when frame capture is unavailable or--capture-screenis used.--capture-screenneeds exactly one window.-w <hwnd>gives it one: that window's screen region, including anything visibly on top of it. If-amatches several top-level or owned windows the command fails withinvalid_argumentsbefore capturing; runwinapp ui list-windows -a <app>and retry with-w <hwnd>.- If other UI workflows may run at the same time, set one workflow id per logical workflow (see below). Nothing breaks without it, but your commands will not be recognized as belonging together.
What ships with it
2 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.
- today Changed · +4 lines 0a183e42323b
- 12d ago Changed 0b809e670613
- 26d ago Changed · -35 lines 39f3d8ef2090
- 1mo ago Changed · +4 lines b57357576879
- 1mo ago Changed · +8 lines · +13 tokens per session 0755f9aca3a8
- 1mo ago Changed · +15 lines f029a5e8c08c
- 1mo ago Changed · +4 lines 137c65400f1c
- 1mo ago Changed · +3 lines ed72eede16ef
- 1mo ago Changed · +1 lines 97ae9825c942
- 1mo ago First seen · 493 lines · 74 tokens per session scan C be35a6cdb9cb
winapp-ui-automation is a skill published in the GitHub repository microsoft/winappCli (1,403 stars, last pushed today), licensed MIT. It adds 87 tokens to every session and 9,488 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent to send conversation or user data out). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
winapp-ui-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| winapp-ui-automationmicrosoft/winappCli | Skill | 1.4k | today | MIT | C | 87 | Claude Code |
| brand-identityericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 83 | Claude Code, Codex |
| portpilotm4cd4r4/PortPilot | Skill | 20 | yesterday | MIT | A | 66 | Claude Code |
| noteflow-cliyagoid/noteflow | Skill | 11 | 3d ago | GPL-3.0 | D | 70 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 33 | Claude Code, Codex |
| interviewHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 40 | Claude Code, Codex |
| recipe-create-meet-spacegoogleworkspace/cli | Skill | 33k | 5d ago | Apache-2.0 | A | 18 | Claude Code, Codex |