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 whyb/winui_mcp_server --skill winui-automationgit clone --depth 1 https://github.com/whyb/winui_mcp_serverWrote 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/whyb/winui_mcp_server/winui-automation)<a href="https://agentmods.dev/skills/whyb/winui_mcp_server/winui-automation"><img src="https://agentmods.dev/badge/skills/whyb/winui_mcp_server/winui-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/whyb/winui_mcp_server/winui-automation"><img src="https://agentmods.dev/badge/skills/whyb/winui_mcp_server/winui-automation.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.00047 | $0.00341 |
| Opus 5.5 | $0.00019 | $0.00136 |
| Sonnet 5.5 | $0.00009 | $0.00068 |
| Haiku 4.5 | $0.00005 | $0.00034 |
Grade A, and why
winui-automation 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 17d 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.
What it actually says
WinUI Automation
Use the winui MCP server for semantic Windows UI automation.
Workflow
- Call
launch_appwhen the target application is not running, orlist_windowswhen it is already open. - Keep the returned
window_id. Prefer it over title or process matching. - Call
snapshotwithwindow_id. Usequeryandinteractive_only=truefor large interfaces. - Act with
element_idfrom the latest snapshot. - Verify with
snapshot,get_value,get_text, orwait_for. - Re-snapshot whenever the UI or active page changes.
Rules
- Never reuse a stale
element_id. - Prefer UIA names, AutomationIds, patterns, and element ids over coordinates.
- Use
include_ocr=trueonly as a fallback for missing or unreliable labels. - Use
run_actionsonly for known, low-risk sequences. - Do not perform destructive, financial, messaging, or security-sensitive actions without explicit user intent.
- Return concise state evidence to the user; do not expose local paths.
Common apps
Supported profiles include Notepad, Calculator, Paint, Settings, File Explorer,
Visual Studio Code, Edge, Chrome, and Windows Media Player. Call list_apps for
current aliases, process names, and application-specific workflow hints.
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.
- 17d ago First seen · 36 lines · 47 tokens per session scan A 2edb8c873ca3
winui-automation is a skill published in the GitHub repository whyb/winui_mcp_server (2 stars, last pushed 17d ago), licensed BSD-3-Clause. It adds 47 tokens to every session and 341 once invoked, about $0.0002 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-11-17.
winui-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| winui-automationwhyb/winui_mcp_server | Skill | 2 | 17d ago | BSD-3-Clause | A | 47 | Claude Code, Codex |
| android-multiprofilechromium/chromium | Skill | 26k | today | BSD-3-Clause | A | 73 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 9d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | yesterday | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 1.1k | 3d ago | MIT | A | 40 | Claude Code |