computer-control

Controls desktop applications through mouse, keyboard, and UI Automation accessibility APIs.

33|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/infinition/LaRuche --skill computer-control-infinition
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: computer-control
Source: https://github.com/infinition/LaRuche/tree/main/laruche/skills/computer-control
Command: npx skills add https://github.com/infinition/LaRuche --skill computer-control-infinition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Automating native desktop applications, installers, and OS dialogs is difficult because they expose no API and cannot be driven like web pages. This Skill lets an agent operate the machine directly through the OS accessibility tree or pixel-level input when no other interface exists. ## Core Features & Use Cases - Accessibility-driven control: List windows, read a numbered map of UI controls via UI Automation, and click, fill, or scroll elements by reference without coordinates or screenshots. - Pixel-level fallback: Capture screenshots and act on coordinates for hand-drawn interfaces like games, canvases, and poorly tagged Electron apps, with automatic handling of multi-monitor and scaled displays. - Full input simulation: Type text, press key chords, drag and drop, use the clipboard, and hold keys or mouse buttons across multiple calls. - Use Case: An installer with no silent mode appears on screen. The agent lists windows, focuses the installer, reads its controls, clicks "Next" by reference, fills a license field, and waits for completion without taking a single screenshot. ## Quick Start Use the computer tool to list open windows, focus the target application, read its controls, and click the button you need by reference.

Frequently Asked Questions about computer-control

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

FAQPage Schema
How do I automate a desktop application without a screenshot?▼

List open windows with the windows action, focus the target with focus_window, then call read to get a numbered map of its controls. Click, fill, or scroll elements by their ref, which uses the OS accessibility API and needs no coordinates.

How do I click a button in a native Windows app using UI Automation?▼

Call read on the focused window to enumerate controls via UI Automation, then pass the control's ref to click. The tool invokes the control's automation pattern directly, falling back to a real click only if no pattern is exposed.

Does desktop automation work on macOS or Linux?▼

The read and find actions rely on UI Automation, which is wired for Windows only. On other platforms, use the pixel path: take a screenshot and act on coordinates, while window listing still works everywhere.

Why are my clicks landing on the wrong monitor?▼

Coordinates are pixels of the last screenshot, not desktop pixels, so they are only valid for the captured screen. Either capture the correct screen first or act by ref, which works regardless of which monitor the window is on.

Why can't the tool click an application running as administrator?▼

Windows blocks synthetic input across the privilege boundary silently, so clicks to elevated windows do nothing. The window actions refuse outright; the app must be driven by hand or the agent restarted as administrator.

When should I use the browser tool instead of computer control?▼

Use the browser tool for any web page, since it reads the DOM and clicks by element number, which is faster and cheaper in tokens. Computer control is for native applications, installers, and dialogs with no other interface.