winui-automation

winui-automation is a skill for Claude Code, Codex from whyb/winui_mcp_server. It costs 47 tokens per session (341 once invoked), scanned A, original, BSD-3-Clause.

A guide for controlling Windows desktop applications through the WinUI MCP server, a tool that lets an agent inspect windows and perform UI actions. It covers launching apps, finding controls, entering text, reading values and checking results.

In plain words
What is it for?
Use it to open, inspect, click, type in and verify Windows applications, while requiring explicit intent for destructive or sensitive actions.
Why use it?
It provides a repeatable way to operate native Windows, UWP, Electron and browser applications without relying on fragile screen coordinates. It also requires fresh UI state before using control identifiers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to open, inspect, click, type in and verify Windows applications, while requiring explicit intent for destructive or sensitive actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whyb/winui_mcp_server/winui-automation
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.

Any agent
npx skills add whyb/winui_mcp_server --skill winui-automation
Clone the repo
git clone --depth 1 https://github.com/whyb/winui_mcp_server

Made for: Claude Code, Codex.

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 winui-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/whyb/winui_mcp_server/winui-automation/github.svg)](https://agentmods.dev/skills/whyb/winui_mcp_server/winui-automation)
Your own site
<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.

agentmods 80×15 button for winui-automation

Your own site · 80×15
<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>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 341 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.00047 $0.00341
Opus 5.5 $0.00019 $0.00136
Sonnet 5.5 $0.00009 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

Security

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.

skills/winui-automation/SKILL.md · 36 lines

What it actually says

WinUI Automation

Use the winui MCP server for semantic Windows UI automation.

Workflow

  1. Call launch_app when the target application is not running, or list_windows when it is already open.
  2. Keep the returned window_id. Prefer it over title or process matching.
  3. Call snapshot with window_id. Use query and interactive_only=true for large interfaces.
  4. Act with element_id from the latest snapshot.
  5. Verify with snapshot, get_value, get_text, or wait_for.
  6. 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=true only as a fallback for missing or unreliable labels.
  • Use run_actions only 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.

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. 17d ago First seen · 36 lines · 47 tokens per session scan A 2edb8c873ca3

Subscribe to this mod's changes

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.

Related

winui-automation compared with skills from other repositories

winui-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winui-automationwhyb/winui_mcp_serverSkill217d agoBSD-3-ClauseA47Claude Code, Codex
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4kyesterdayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k3d agoMITA40Claude Code