π¦ ClawHub
MacOS Desktop Control (Mouse, Keyboard, Screenshots)
by @emptyopen
Automate macOS desktop by capturing screenshots and executing precise mouse movements, clicks, and keyboard inputs via cliclick.
TERMINAL
clawhub install macos-desktop-controlπ About This Skill
macOS Control Skill
A high-fidelity automation bridge for macOS (Darwin) that enables agents to perceive the desktop state and execute precise mouse and keyboard interactions.
π Included Scripts
This skill leverages specialized wrappers located in the/scripts directory to interface with system-level binaries:1. cliclick_wrapper.sh
A dedicated wrapper for the cliclick utility to handle synthetic input events.
scripts/cliclick_wrapper.sh/opt/homebrew/bin/cliclick with passed arguments.2. vision_wrapper.sh
The visual perception engine for the skill.
scripts/vision_wrapper.shscreencapture utility in silent mode (-x)./tmp/claw_view.png.π Tool Specifications
see
Captures the current screen state for visual analysis.
* Returns: A string confirming the filepath of the capture.
* Use Case: Identifies UI elements, window positions, and application states.click
Sends precise commands to the mouse and keyboard.
* Usage: click "c:x,y" (Click) or click "m:x,y" (Move).
* Syntax: Supports all cliclick standard notation including w: (wait) and t: (type).βοΈ Requirements & Setup
1. Binary Dependency:
brew install cliclick