computer-use-guidance-windows

Automates Windows desktop tasks via UIA tree inspection, clicks, typing, and keyboard shortcuts.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/sliec/shared-files --skill computer-use-guidance-windows-sliec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: computer-use-guidance-windows
Source: https://github.com/sliec/shared-files/tree/main/skills/computer-use-guidance-windows
Command: npx skills add https://github.com/sliec/shared-files --skill computer-use-guidance-windows-sliec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Automating the Windows desktop requires knowing how to reliably open apps, read on-screen state, and interact with UI elements without guessing coordinates or keystrokes. This Skill provides the operational playbook for driving the Windows Computer Use MCP server, so the agent observes before acting and picks the most deterministic interaction path. ## Core Features & Use Cases - UIA-tree-first interaction: Read the foreground window's accessibility tree via get_window_state, then click, scroll, or drag by element_index with pixel-coordinate fallback. - Deterministic app launching: Discover AUMIDs with list_installed_apps and launch apps through the official shell:AppsFolder path, avoiding name-guessing across languages. - Interaction priority rules: Prefer type_text for text input, click for single-target activation, and press_key only for genuine keyboard-only shortcuts, with recipes for Explorer, Settings, browsers, terminals, Office, and VSCode. - Use Case: Ask the agent to open Notepad, type a paragraph, and save it to the desktop — it will propose a plan, wait for approval, launch the app by AUMID, type the text, and press Ctrl+S. ## Quick Start Ask the agent to open the Windows Calculator app and compute 123 plus 456 using the computer use tools.

Frequently Asked Questions about computer-use-guidance-windows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate opening an app on Windows with Computer Use?

Call list_installed_apps with a keyword filter to find the app's AUMID, then call launch_app with that AUMID, and finally call get_window_state to capture the screenshot and UIA element tree. This order avoids guessing app names across languages.

How to click UI elements using the Windows UIA accessibility tree?

Call get_window_state to get the numbered UIA element tree of the foreground window, find the target's element_index, then pass it to click, scroll, or drag. Re-call get_window_state after any UI change because indexes are regenerated each snapshot.

Should I use type_text or press_key for keyboard input automation?

Use type_text for any text input since one call replaces many keystrokes and handles IME automatically. Reserve press_key for genuine keyboard-only actions like Ctrl+Shift+Escape, Alt+Tab, or Escape to dismiss dialogs.

Can Computer Use interact with Chrome or Edge web page content?

Chromium browsers do not expose web page content through UIA, only browser chrome like the address bar and tabs. For page content, rely on screenshots with pixel-coordinate clicks and keyboard shortcuts such as Ctrl+L for the address bar.

What are the limitations of Windows desktop automation via UIA?

Custom-drawn interfaces like games and DirectX overlays lack UIA elements, requiring coordinate-based fallback. Non-elevated processes cannot interact with UAC prompts or admin windows, and the default type_text path overwrites the clipboard unless use_unicode is enabled.