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-devtoolsgit 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-devtools)<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-devtools"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-devtools/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-devtools"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-devtools.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.00077 | $0.04242 |
| Opus 5.5 | $0.00031 | $0.01697 |
| Sonnet 5.5 | $0.00015 | $0.00848 |
| Haiku 4.5 | $0.00008 | $0.00424 |
Grade A, and why
winui-devtools 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 yesterday.
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 — 264 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 devtools / winapp run command(s) that would answer their question instead of only reasoning from source. Say which values you read from source and which only the running app can confirm.
Start with the target
Use winapp ui and the winapp-ui-automation skill for general Windows UI
Automation: actions, screenshots, waits and accessibility across app frameworks.
DevTools is for WinUI 3 XAML trees/source, bindings and dependency-property
diagnosis or edits. Both tools accept an element's AutomationId as its selector,
so an AutomationId from winapp ui works in winapp devtools and the aid=
shown by DevTools works in winapp ui invoke/click. Generated selectors (slugs,
handles) belong to one tool; copy a fresh one from that tool's inspect or
search.
winapp run .
For a WinUI project this starts DevTools with its in-app toolbar and waits for the app
(it is off in CI, with --no-launch, --without-alias or --on sandbox, and for
folders, .cs files and non-WinUI projects; pass --devtools on for a WinUI target
that isn't detected automatically). Known WPF-only and Windows Forms-only projects
are rejected before launch; use --devtools off to run them and winapp ui to
inspect their accessible controls. Let the user
leave comments there:
turn on Comments in the toolbar, click an element, type, press Enter (Shift+Enter for a
new line), or click the next element to save and move on. Select element opens the
DevTools window on the element the user clicks, then turns picking off so the next
click reaches the app. Ctrl+Shift+F12 moves keyboard
focus to the toolbar (showing it if the user hid it), and Esc returns it. Use a second terminal for commands, or add --detach
to return to the terminal with the app still running and its PID printed.
Use an exact PID with -a when multiple apps are attached.
Never stop another app automatically to make a rebuild succeed.
For an edit loop on a .NET project (unpackaged: .NET 8 SDK or later; packaged: .NET 9
SDK or later), winapp run . --watch
runs it under dotnet watch: Hot Reload edits keep DevTools attached, and when an
edit needs a restart the app is relaunched (a packaged app is registered again first)
and DevTools attaches to the new process (it prints the new PID).
Re-read handles after a restart. dotnet watch ignores .xaml edits until a C# file
changes or the user presses Ctrl+R. App arguments go after -- (for example Reactor's
-- --preview <Component>).
--json is optional output formatting for structured consumers, not the default
agent workflow. It does not hide the overlay. Use --devtools headless for an
authorized headless inspection launch: nothing is drawn in the app, and
Ctrl+Shift+F12 brings up the toolbar. --devtools off runs without DevTools; don't
change the user's default (winapp config set run.devtools) unless they ask.
For a script, capture $run = winapp run . --devtools on --detach --json | ConvertFrom-Json,
then use winapp devtools inspect -a $run.ProcessId. After the human leaves a comment, follow
the comment workflow below.
If attachment succeeds but the overlay reports a missing XAML resource/type,
see visual UI prerequisites;
do not mistake unavailable visual UI for failed protocol attachment.
Packaged aliases are prepared automatically in the staged manifest, not manually
authored in the source manifest. When DevTools starts by default and how to choose,
including dotnet run's -p:WinAppRunDevTools, is in
Turn DevTools on or off.
Do not adopt a different running instance when launch fails. Attaching to an existing app is explicit and headless by default:
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.
- yesterday Changed 8e31701e8be3
- 13d ago Changed · +61 lines · -1 tokens per session 7ef914f7cd84
- 27d ago Changed · +7 lines 59c8fda42900
- 1mo ago Changed · +3 lines d177e01d4d9c
- 1mo ago Changed · +5 lines 9b1f09a0a7fd
- 1mo ago Changed · +1 lines c4dee488141e
- 1mo ago Changed · +1 lines 86615aa60461
- 1mo ago First seen · 186 lines · 78 tokens per session scan A fc0cd1414641
winui-devtools is a skill published in the GitHub repository microsoft/winappCli (1,406 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 4,242 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-17.
winui-devtools compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| winui-devtoolsmicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 77 | Claude Code |
| code_explorergoogle-gemini/gemini-cli | Skill | 110k | today | Apache-2.0 | A | 28 | Gemini CLI |
| test-failure-explorerQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 32 | Claude Code, Codex |
| session-investigatorevalstate/fast-agent | Skill | 4.0k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| smiles-validationsynthetic-sciences/openscience | Skill | 4.5k | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| pr-autofixAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 45 | Claude Code, Codex |
| oversight-teammvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 117 | Claude Code, Codex |