
Host Computer Use Windows
Backend-specific Windows guidance for `computer_use_remote`.
Install
npx skills add agent0ai/agent-zero --skill host-computer-use-windows -g -a claude-code -y- Repository
- agent0ai/agent-zero19.6k
- Category
- Design
- Updated
- 3d ago
- License
- See repository
- Context cost
- Lightabout 1,404 tokens
- Runs scripts
- No, instructions only
What it does
Backend-specific Windows guidance for `computer_use_remote`. Load when a tool result reports backend_family/backend_id `windows` or Windows UI Automation features. Covers UIA structural targeting, Windows session caveats, and screenshot verification.
Host Computer Use - Windows
Use this after host-computer-use when the connected A0 CLI reports the Windows computer-use backend.
Do not use this skill for Linux, macOS, Xpra, Docker, or browser-only tasks. If the backend is not Windows or does not advertise UI Automation support, skip UIA actions and follow the generic host computer-use rules.
Windows UIA Targeting
Windows backends can advertise structural UI Automation features:
uia-tree-snapshotuia-structural-targetinguia-element-actionuia-window-managementnative-window-listwindow-stateelement-index-targetingbackground-dispatchforeground-dispatch-fallback
When these features are present, prefer background structural targeting over pixel clicks for named controls such as buttons, menu items, text fields, dialogs, toolbar items, browser address bars, composer fields, and list rows.
Preferred loop:
- Use
list_windowsto find the target native window. - Use
get_window_statewith the targetpidand/orwindow_id. - Use
element_actionwith the returnedelement_indexanddispatch: "background". - If the backend reports
background_unavailable, switch todispatch: "auto"ordispatch: "foreground"only when foreground control is acceptable.
Example:
{
"tool_name": "computer_use_remote",
"tool_args": {
"action": "element_action",
"window_id": "uia-hwnd:123456",
"element_index": 7,
"operation": "invoke",
"dispatch": "background"
}
}
Use uia_snapshot to inspect the bounded Windows UI Automation tree when the newer window-state loop is not available:
{
"tool_name": "computer_use_remote",
"tool_args": {
"action": "uia_snapshot",
"max_depth": 4,
"max_nodes": 200
}
}


