TopRank Skills

Home / Claw Skills / Others / Macos Desktop Control
Official OpenClaw rules 15%

Macos Desktop Control

macOS Control Skill

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Macos Desktop Control 技能。 若已安装,则直接安装 Macos Desktop Control 技能。

Overview

Skill Key
emptyopen/macos-desktop-control
Author
emptyopen
Source Repo
openclaw/skills
Version
-
Source Path
skills/emptyopen/macos-desktop-control
Latest Commit SHA
3443b7fe555c49646e5f2f06b223bad3dbc4d77c

Extracted Content

SKILL.md excerpt

# 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.
- **Path**: `scripts/cliclick_wrapper.sh`
- **Logic**: Executes `/opt/homebrew/bin/cliclick` with passed arguments.
- **Capabilities**: Left/Right clicks, mouse movement, and keyboard emulation.

### 2. `vision_wrapper.sh`
The visual perception engine for the skill.
- **Path**: `scripts/vision_wrapper.sh`
- **Logic**: Utilizes the native macOS `screencapture` utility in silent mode (`-x`).
- **Output**: Generates a standard PNG at `/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**:
   ```bash
   brew install cliclick
   ```

Related Claw Skills