Skip to content
TakoAPI
Back to skills

macos-desktop-control

by emptyopen

Coding Agents & IDEs
1.6kDownloads reported by clawskills.sh
1Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

A high-fidelity automation bridge for macOS (Darwin) that enables agents to perceive the desktop state and execute.

Description

What This Skill Does

Gives agents the ability to see and interact with a macOS desktop. Uses cliclick for mouse and keyboard input, and the native screencapture utility to capture the current screen state as a PNG.

Lets agents control any macOS app regardless of whether it exposes an API or CLI interface.

When to Use It

  • Clicking UI buttons in apps that lack an API
  • Typing into desktop application fields
  • Automating repetitive GUI workflows on Mac
  • Taking screenshots to verify visual state
  • Moving the mouse to trigger hover-based UI elements

Example Workflow

INPUT

User asks: open the Settings app and take a screenshot of the Wi-Fi panel

AGENT
  1. 1

    Calls see to capture current screen state

  2. 2

    Identifies the Settings icon position from the screenshot

  3. 3

    Calls click with coordinates to open Settings

  4. 4

    Navigates to Wi-Fi using click and type commands

  5. 5

    Calls see again to capture the Wi-Fi panel

OUTPUT

PNG screenshot saved to /tmp/claw_view.png showing the Wi-Fi settings panel

Requirements

  • cliclick installed via Homebrew (brew install cliclick)
  • macOS screen recording permission granted to the terminal or agent process

Installation

clawhub install emptyopen/macos-desktop-control

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links