macos-computer-use

Drives the macOS desktop in the background via screenshots, element-indexed clicks, keyboard input, and scrolling.

Updated Sep 9, 2026
One-click install
npx skills add https://github.com/luckybbjason1/trading --skill macos-computer-use-luckybbjason1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-computer-use
Source: https://github.com/luckybbjason1/trading/tree/main/.hermes/skills/apple/macos-computer-use
Command: npx skills add https://github.com/luckybbjason1/trading --skill macos-computer-use-luckybbjason1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Automating native macOS applications normally requires moving the user's cursor, stealing keyboard focus, or switching Spaces, which interrupts the user's own work. This Skill lets an AI operate the Mac desktop entirely in the background using the computer_use tool, so tasks in Safari, Finder, Mail, or any native app proceed without disturbing the user. ## Core Features & Use Cases - Background GUI control: Capture screenshots with numbered element overlays (SOM mode), then click, double-click, drag, scroll, type, and send keyboard shortcuts by element index or coordinates — all without raising windows or switching Spaces. - Model-agnostic workflow: Works with any tool-capable model (Claude, GPT, Gemini, or local OpenAI-compatible endpoints) using a simple capture → click-by-index → verify loop. - Built-in safety guardrails: Hard rules against clicking permission dialogs, typing secrets, or following instructions found in screenshots, plus tool-level blocking of dangerous shortcuts and shell patterns. - Use Case: Ask the agent to find a file in Finder, organize it into a folder, and reply in a Messages conversation — all while you keep typing in your editor uninterrupted. ## Quick Start Ask the agent to open Safari in the background, capture the page, and click the sign-in link by its element index.

Frequently Asked Questions about macos-computer-use

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

FAQPage Schema
How do I automate macOS GUI apps without moving the user's cursor?

Use the computer_use tool, which routes input to apps in the background without raising windows, stealing focus, or switching Spaces. Capture the target app first, then click elements by their numbered index from the accessibility tree.

How do I click UI elements reliably with an AI agent on macOS?

Capture the screen in SOM mode to get numbered overlays on every interactable element, then call click with the element index rather than pixel coordinates. Index-based clicking is far more reliable across models, and you can add capture_after to verify the result in one call.

Does macOS computer use work with models other than Claude?

Yes, the workflow is model-agnostic and works with GPT, Gemini, or open models through local OpenAI-compatible endpoints. There is no Anthropic-native schema; any tool-capable model can use the capture, click, type, and scroll actions.

When should I use computer_use instead of browser automation tools?

Use computer_use only when the task requires the user's actual native Mac apps like Finder, Mail, Messages, Figma, or games. For web automation, headless browser tools are more reliable, and for file edits or shell commands, use file and terminal tools directly.

Why did my computer_use click have no effect?

Element indices come from the last capture, so if the UI changed or a modal appeared, the index is stale. Re-capture the app, dismiss any blocking dialog with escape or its close button, then retry the click with the fresh index.

What permissions does macOS computer use require?

The cua-driver requires macOS with Accessibility and Screen Recording permissions granted. If you see a 'cua-driver not installed' error, run hermes tools and enable Computer Use to install it via the upstream setup script.