windows-automation

windows-automation is a skill for Claude Code, Codex from sbroenne/mcp-windows. It costs 40 tokens per session (810 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 810 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.00040 $0.00810
Opus 5 $0.00020 $0.00405
Sonnet 5 $0.00008 $0.00162
Haiku 4.5 $0.00004 $0.00081

Measured 8d ago against content hash daddc0922575, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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 · 61 lines

How it starts

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

Context

This plugin bundles the Windows MCP Server for Windows-only desktop automation. The server is strongest when you let Windows expose semantic UI information instead of guessing from screenshots.

Preferred workflow

  1. Use window_management to find or activate the target window.
  2. Use ui_find, ui_read, ui_click, and ui_type for normal controls.
  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 Save / Save As flows and file_open for Open flows instead of sending raw keyboard shortcuts.
  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, and ui_macro to save that sequence by name and replay it later.
  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

  • Prefer element names, control types, automation IDs, and window handles over screen coordinates.
  • Re-check the UI tree after dialogs, page changes, or tab switches.
  • Treat screenshots as discovery or fallback tools, not the primary control surface.

Screenshot fallback

  • Use screenshot_control when the app is a game, canvas, OpenGL surface, or other custom-drawn UI.
  • If you need coordinates, get them from the annotated screenshot output first.
  • Expect coordinate-based automation to be more fragile across DPI, layout, and monitor changes.

Multi-monitor and DPI

  • Use monitor-aware tools instead of assuming the primary display.
  • Negative coordinates are normal on virtual desktops with monitors positioned left or above the primary display.
  • Keep work window-relative when possible to avoid DPI and layout drift.

Browsers and signed-in sessions

  • Treat Edge and Chrome page content like any other semantic UI surface: start with window_management, then use ui_find, ui_click, ui_type, and ui_read against visible text or ARIA labels.
  • To read the readable content of a web page, call ui_read with format: "article": it returns the main article text only (navigation chrome, breadcrumbs, and "in this article" rails removed, inline link URLs stripped, headings/lists as markdown) — far more token-efficient than the raw document dump. Reading the live signed-in window this way also works for authenticated/internal pages an HTTP fetch cannot reach.
  • For authenticated or SSO-only sites, reuse an existing signed-in browser window/session first before launching the URL again.
  • Do not interpret a Chromium launcher helper exiting immediately as a failed launch until you check whether the existing browser session already opened or focused the target page.
  • Keep browser chrome (address bar, tabs, profile menus, extension flyouts) as best-effort; page content is the strong path.

Read the full file on GitHub · 61 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. 8d 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 (91 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 810 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

date-formatter

Converts dates between formats and handles timezone differences.

Azure/azure-sdk-for-net · 13 tokens

semantic-kernel

Build AI-enabled .NET applications with Semantic Kernel using services, plugins, prompts, and function-calling patterns that remain testable and maintainable. USE FOR: adding AI-driven prompts, plugins, or orchestration to a .NET app; reviewing kernel construction, service registration, or plugin usage; building…

managedcode/dotnet-skills · 116 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

winforms

Build, maintain, or modernize Windows Forms applications with practical guidance on designer-driven UI, event handling, data binding, MVP separation, and migration to modern .NET. USE FOR: working on Windows Forms UI, event-driven workflows, or classic LOB applications; migrating WinForms from .NET Framework to modern…

managedcode/dotnet-skills · 122 tokens

grpc

Build or review gRPC services and clients in .NET. USE FOR: ASP.NET Core gRPC, protobuf contracts, unary or streaming RPC, gRPC client factory, interceptors, deadlines, cancellation, channel reuse, backend service integration. DO NOT USE FOR: broad browser-facing APIs without gRPC-Web tradeoff review, SignalR realtime…

managedcode/dotnet-skills · 95 tokens

webgpu-threejs-tsl

Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or…

managedcode/dotnet-skills · 78 tokens