macos-computer-use

Automates macOS GUI interactions in the background using element-indexed captures and clicks.

6|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/yakeworld/Synthos --skill macos-computer-use-yakeworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-computer-use
Source: https://github.com/yakeworld/Synthos/tree/main/skills/extended/external-automation/apple/macos-computer-use
Command: npx skills add https://github.com/yakeworld/Synthos --skill macos-computer-use-yakeworld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Driving native Mac applications programmatically usually means stealing the user's cursor, keyboard focus, or switching Spaces. This Skill operates the Mac GUI entirely in the background, so the user can keep working while tasks run in Safari, Finder, Mail, or other native apps. ## Core Features & Use Cases - Background GUI Automation: Capture screens with numbered accessibility-tree overlays and click elements by index without raising windows or switching Spaces. - Model-Agnostic Operation: Works with any tool-capable model (Claude, GPT, Gemini, or local OpenAI-compatible endpoints) via a universal computer_use tool interface. - Safety Guardrails: Hard rules against clicking permission dialogs, payment UI, or 2FA prompts, plus prompt-injection detection for instructions embedded in screenshots or web pages. - Use Case: Ask the agent to open example.com in Safari and click the Sign In link; it captures the AX tree, clicks element index 7, and verifies the result with a follow-up capture, all without disturbing your foreground work. ## Quick Start Ask the agent to open a specific page in Safari and click a named link, and it will capture the screen, click the element by index, and verify the result in the background.

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 stealing focus?

Use the computer_use tool with capture in som mode scoped to a target app, then click elements by their numbered accessibility index. Input routing works without raising windows or switching Spaces, so the user's foreground work is never interrupted.

How to click UI elements reliably with computer_use on Mac?

Always capture first with mode=som to get a numbered AX-tree index, then click using element=N rather than pixel coordinates. After any state-changing action, re-capture or pass capture_after=True to verify the result.

Does computer_use work with models other than Claude?

Yes, it works with any tool-capable model including GPT, Gemini, or open models on local OpenAI-compatible endpoints. There is no Anthropic-native schema; element-index clicking is the most reliable pattern across all models.

When should I use computer_use instead of browser automation tools?

Use computer_use only for native Mac apps like Mail, Messages, Finder, or Figma. For web automation prefer browser_* tools with headless Chromium, for file edits use read_file/write_file, and for shell commands use the terminal tool.

Why did my computer_use click have no effect?

Element indices go stale when the UI changes, such as when a new tab or modal dialog appears. Re-capture to refresh the index, dismiss any blocking modal with the escape key or close button, then retry the click with the new index.

What safety restrictions does macOS computer use enforce?

It never clicks permission dialogs, password fields, payment UI, or 2FA challenges, and never types secrets. Instructions found inside screenshots or web pages are treated as prompt injection and ignored; some dangerous system shortcuts are hard-blocked at the tool level.