windows-automation

windows-automation is a skill for Claude Code, Codex from sbroenne/mcp-windows. It costs 37 tokens per session (1,244 once invoked), scanned A, original, MIT.

Guidance for automating Windows desktop applications through the Windows MCP server, which gives an agent structured access to windows and interface controls. It covers normal controls, files, tables, screenshots, keyboards, mice, and display scaling.

In plain words
What is it for?
Use it to find windows, read or click controls, enter text, open and save files, copy clipboard data, work with tables, replay action sequences, and handle DPI or multi-monitor issues.
Why use it?
It helps automation target named interface elements instead of guessing screen positions. It also explains when screenshots or mouse and keyboard control are needed for custom interfaces.

Skill for Claude CodeCodex

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

Good fit Use it to find windows, read or click controls, enter text, open and save files, copy clipboard data, work with tables, replay action sequences, and handle DPI or multi-monitor issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sbroenne/mcp-windows/windows-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 sbroenne/mcp-windows --skill windows-automation
Clone the repo
git clone --depth 1 https://github.com/sbroenne/mcp-windows

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sbroenne/mcp-windows/windows-automation/github.svg)](https://agentmods.dev/skills/sbroenne/mcp-windows/windows-automation)
Your own site
<a href="https://agentmods.dev/skills/sbroenne/mcp-windows/windows-automation"><img src="https://agentmods.dev/badge/skills/sbroenne/mcp-windows/windows-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 windows-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sbroenne/mcp-windows/windows-automation"><img src="https://agentmods.dev/badge/skills/sbroenne/mcp-windows/windows-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,244 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.01244
Opus 5.5 $0.00015 $0.00498
Sonnet 5.5 $0.00007 $0.00249
Haiku 4.5 $0.00004 $0.00124

Measured 1mo ago against content hash b1df00a75289, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windows-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 1mo 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.

plugin/skills/windows-automation/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context

Use this skill with a configured Windows MCP Server in any compatible host. Let Windows expose control names, state, and IDs instead of guessing from screenshots. The skill itself does not install or configure the server.

Preferred workflow

  1. Use window_management to find or activate the target window.
  2. Discover with ui_find or ui_snapshot; pass the returned IDs to ui_read, ui_click, and ui_type.
  3. Use ui_read_table to extract a grid, table, or details-view list into structured rows + headers in one call instead of scraping cells with repeated ui_read.
  4. Use file_save for supported Save / Save As dialogs and file_open for Open flows. After failure or confirmation_required, inspect the existing dialog and choose the next action explicitly. These helpers do not approve overwrites, dismiss errors, or retry dispatched actions.
  5. Use clipboard (get/set/clear) for fast bulk text IO — pair it with copy/paste hotkeys.
  6. Use ui_batch to run a multi-step sequence in one call. Keep reusable steps in project files.
  7. Only fall back to screenshot_control, mouse_control, or keyboard_control when the UI Automation tree is missing or the target is a custom canvas.

Patterns

Semantic-first automation

  • Discover using names, control types, and automation IDs; act using the returned opaque elementId.
  • Click, double-click, type, select, table reads, and state waits require IDs. Selection values still identify option text, while the ID identifies the containing control.
  • Selectors are only for discovery and appear/disappear waits. Removed action selectors are errors.
  • Read an element with its ID; omit the ID only for an explicit whole-window read. Element reads never widen to window OCR.
  • Stale IDs require rediscovery. IDs belong to one owner and never transfer between MCP instances or the CLI daemon.
  • Batch $prev requires one unambiguous immediately preceding result. Reusable batches should discover fresh controls on every run.
  • Each batch step requires its matching enabled tool (key: keyboard_control; mouse/polyline: mouse_control). Forbidden steps reject the whole batch before it starts, even with stopOnError=false. withSnapshot=true requires enabled ui_snapshot before any action. Never route around disabled tools.
  • Re-check the UI tree after dialogs, page changes, or tab switches.
  • Treat screenshots as discovery or fallback tools, not the primary control surface.

Read the full file on GitHub · 92 lines

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. 1mo ago Changed · +22 lines · -3 tokens per session b1df00a75289
  2. 1mo ago Changed · +3 lines e4c45ae762be
  3. 1mo ago Changed · +6 lines bb9d4f60f85d
  4. 2mo ago First seen · 61 lines · 40 tokens per session scan A daddc0922575

Subscribe to this mod's changes

windows-automation is a skill published in the GitHub repository sbroenne/mcp-windows (129 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 1,244 once invoked, about $0.0001 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-08-30.

Related

windows-automation compared with skills from other repositories

windows-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windows-automationsbroenne/mcp-windowsSkill129yesterdayMITA37Claude Code, Codex
date-formatterAzure/azure-sdk-for-netSkill6.1ktodayMITA13Claude Code, Codex
opentelemetry-net-instrumentationAaronontheweb/dotnet-skillsSkill1.3k9d agoMITA56Claude Code
semantic-kernelmanagedcode/dotnet-skillsSkill508yesterdayMITA116Claude Code, Codex
winformsmanagedcode/dotnet-skillsSkill508yesterdayMITA122Claude Code, Codex
grpcmanagedcode/dotnet-skillsSkill508yesterdayMITA95Claude Code, Codex
add-adrSSWConsulting/SSW.VerticalSliceArchitectureSkill4168d agoMITA83Claude Code