macos-desktop-control
由 emptyopen 提供
Coding Agents & IDEs简介
A high-fidelity automation bridge for macOS (Darwin) that enables agents to perceive the desktop state and execute.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: open the Settings app and take a screenshot of the Wi-Fi panel
- 1
Calls see to capture current screen state
- 2
Identifies the Settings icon position from the screenshot
- 3
Calls click with coordinates to open Settings
- 4
Navigates to Wi-Fi using click and type commands
- 5
Calls see again to capture the Wi-Fi panel
PNG screenshot saved to /tmp/claw_view.png showing the Wi-Fi settings panel
前置要求
- cliclick installed via Homebrew (brew install cliclick)
- macOS screen recording permission granted to the terminal or agent process
安装
clawhub install emptyopen/macos-desktop-control运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。