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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.