What problem does it solve?
Automating a remote Windows desktop through pixel clicks is fragile and error-prone. This Skill provides backend-specific guidance for driving Windows applications through UI Automation structural targeting, so agents can reliably interact with buttons, text fields, dialogs, and windows instead of guessing screen coordinates.
Core Features & Use Cases
- UIA Structural Targeting: Use
uia_snapshot, uia_action, and element_action to locate and operate named controls by role, title, automation ID, or selector rather than pixel coordinates.
- Background Dispatch: Prefer background element actions over foreground clicks, with a defined fallback order when background dispatch is unavailable.
- Session Failure Handling: Detect Windows session problems such as locked screens, disconnected RDP, UAC prompts, or capture/UIA unavailability and stop to ask the user to re-arm instead of bypassing with unsafe fallbacks.
- Use Case: An agent connected to a Windows host via A0 CLI needs to click OK in a dialog. It lists windows, gets the window state, invokes the button by element index in the background, then verifies the result from the attached screenshot.
Quick Start
Connect to the Windows host and use UI Automation targeting to click the OK button in the open dialog, then verify the result from the screenshot.