windows-gui

windows-gui is a skill for Claude Code, Codex from dcl632/windows-gui-mcp. It costs 67 tokens per session (748 once invoked), scanned A, original, MIT.

A skill for controlling Windows desktop applications through their user interface, including native dialogs that are not web pages.

In plain words
What is it for?
Opening windows, finding controls, typing, clicking, using keyboard shortcuts, and verifying changes in Windows GUI applications.
Why use it?
It reduces unreliable clicks by locating controls by their names or identifiers and checking that each action worked.

Skill for Claude CodeCodex

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

Good fit Opening windows, finding controls, typing, clicking, using keyboard shortcuts, and verifying changes in Windows GUI applications.

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

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-gui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dcl632/windows-gui-mcp/windows-gui-mcp"><img src="https://agentmods.dev/badge/skills/dcl632/windows-gui-mcp/windows-gui-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 748 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.00067 $0.00748
Opus 5.5 $0.00027 $0.00299
Sonnet 5.5 $0.00013 $0.00150
Haiku 4.5 $0.00007 $0.00075

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

Security

Grade A, and why

windows-gui 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/deploy_windows_ssh.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SKILL.md · 84 lines

How it starts

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

windows-gui operator playbook

You are driving a Windows desktop through the windows-gui MCP. Every action must follow the identifier-priority ladder:

automation_id > name > control_type > class_name
  > image template > OCR text > raw coordinates

Raw coordinates are forbidden by default. Use them only through the fallback tool after semantic lookup has failed and explain why the fallback is needed.

Mandatory loop

For every UI step, use this sequence:

1. list_windows()
2. focus_window(title_regex=...)
3. dump_ui_tree(window_handle=..., max_depth=6)
4. find_element(spec={...})
5. click_element / type_text / hotkey
6. Check verify.ok
7. If verify.ok is false, re-dump and replan before retrying

Hard rules

  • Never pass coordinates to click_element.
  • Never use fallback_click_by_image_or_ocr before trying find_element.
  • Always name a post-condition for clicks that open, close, or change UI state.
  • Always check verify.ok in the tool response.
  • Hotkeys use pywinauto syntax: ^s, %{F4}, +{TAB}, ^+s, {ENTER}, {ESC}.

Recovery ladder

verify.ok == false
  |
  +-- 1. dump_ui_tree again
  +-- 2. wait_until_element(spec=..., state="visible", timeout=10)
  +-- 3. screenshot()
  +-- 4. verify_text_exists(text=..., source="ui_tree")
  +-- 5. verify_text_exists(text=..., source="ocr")
  +-- 6. fallback_click_by_image_or_ocr

Reusable scripts

After a multi-step task succeeds, call generate_stable_script_from_trace(). It emits a pywinauto script that replays the trace without MCP. Steps that used OCR or coordinate fallback are emitted as TODO markers; replace those markers with stable UI identifiers before reusing the script.

Common Windows app hints

  • Notepad: title regex Notepad|Untitled; Save As dialogs often expose the filename field as automation_id="1001" in classic common dialogs.
  • Calculator: most buttons expose stable name values such as One, Plus, Equals, and Clear.
  • Microsoft Office: ribbon items often expose automation IDs; use a deeper dump_ui_tree(max_depth=10) before choosing targets.
  • Browser native dialogs: common dialogs often use class_name="#32770".
  • UWP / WinUI apps: prefer UIA and verify state changes carefully.

Read the full file on GitHub · 84 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 84 lines · 67 tokens per session scan A c3428498c0d3

Subscribe to this mod's changes

windows-gui is a skill published in the GitHub repository dcl632/windows-gui-mcp (3 stars, last pushed 4mo ago), licensed MIT. It adds 67 tokens to every session and 748 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-08-31.

Related

Other skills, from other repositories

autoit-gui

Self-contained Windows GUI automation + runtime verification using ONLY the autoit MCP — no other skills required. Launch an app, wait for windows, drive menus, click/type into controls or by pixel, take a screenshot (via the bundled AutoIt ScreenCapture UDF) and read it back, and PROVE a result by checking a file on…

benina/autoit-mcp · 224 tokens

test-ui

Test the BrowserOS app extension UI by starting the dev environment and visually verifying changes via CDP. Covers the new tab page (left sidebar — Home, Scheduled Tasks, Settings, etc.) and the right side panel (chat interface). Use after making UI changes to apps/app/.

browseros-ai/BrowserOS · 59 tokens

browseros-neo

The user's dedicated browser for agents, a real browser signed into their accounts, with live logins and a persistent profile. Use it for any task that touches a website or browser (open, read, act, fill, sign in, download, verify). The user installed it precisely so agents default here unprompted, over in-app browser…

browseros-ai/BrowserOS · 119 tokens

browseros-neo

The user's dedicated browser for agents — a real browser signed into their accounts, with live logins and a persistent profile. Use it for any task that touches a website or browser (open, read, act, fill, sign in, download, verify). The user installed it precisely so agents default here unprompted — over in-app…

browseros-ai/BrowserOS · 119 tokens

ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI…

browseros-ai/BrowserOS · 155 tokens

robotgo-flow

Use when building YAML-driven Windows RPA workflows in Go — step-by-step desktop automation with image template matching, interactive recording mode, hotkey triggers. RobotGo-Flow: YAML-based Windows RPA framework built on RobotGo.

znlgis/opengis-skills · 50 tokens