macos-computer-use

Automate macOS desktop apps via background GUI with element-index targeting.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of completing desktop tasks on macOS without disturbing the user, by enabling background GUI control that captures and interacts with the screen while keeping the user’s cursor, keyboard focus, and Space unchanged.

Core Features & Use Cases

  • Background desktop automation: Perform screenshot-based navigation and interactions while the user keeps working in their current app.
  • Element-index targeting: Click, scroll, drag, and input using captured element indices (preferred over pixel coordinates) for higher reliability across models.
  • Multi-model compatible operation: Works with any tool-capable model (vision or text) by supporting capture modes that return overlays, AX tree data, or screenshots.

Quick Start

Tell your AI assistant to drive your Mac in the background by capturing the Safari window, clicking the element index it finds for your target link or button, and then re-capturing to confirm the result.

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 desktop apps without stealing focus or switching Spaces?

macOS background GUI automation captures the screen and interacts via element-index targeting, letting you click, type, and scroll native apps while keeping your cursor, keyboard focus, and Space unchanged.

What is element-index targeting for desktop automation and why use it over pixel coordinates?

Element-index targeting clicks and interacts with captured GUI elements using assigned indices rather than pixel coordinates, providing higher reliability across different vision and text-based models during macOS automation.

Can I use this macOS GUI control method with any AI model or does it require vision?

This macOS GUI control method works with any tool-capable model by supporting multiple capture modes that return visual overlays, accessibility tree data, or raw screenshots for both vision and text models.

How do I start driving Safari or Finder in the background using an AI assistant?

Tell your AI assistant to capture the target app window, click the element index matching your desired link or button, and then re-capture the screen to confirm the automation result before proceeding.

What are the limitations and safety rules for macOS background automation?

macOS background automation prohibits interacting with secret entry fields, permission, password, payment, or 2FA prompts, and requires re-capturing the screen before acting on potentially stale element indices.

Does macOS computer-use support drag-and-drop and scrolling in native apps?

Yes, macOS computer-use supports drag-and-drop, scrolling, typing, and clicking in native apps like Safari, Finder, and Messages by capturing element indices and routing interactions at the app scope.