跳到正文
TakoAPI
返回技能列表

macos-desktop-control

由 emptyopen 提供

Coding Agents & IDEs
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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 或你在用的任意编程智能体里。

链接