🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

computer-pilot-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

computer-pilot-plugin

Agent plugin for computer-pilot — teach AI coding agents to control the macOS desktop via CLI

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

computer-pilot plugin

Agent plugin for computer-pilot — teach AI agents to control the macOS desktop via CLI.

Install

Step 1: Install cu binary

# Option A: Build from source
git clone https://github.com/relixiaobo/computer-pilot.git
cd computer-pilot && cargo build --release
sudo cp target/release/cu /usr/local/bin/

# Option B: Download prebuilt (macOS Apple Silicon)
curl -L https://github.com/relixiaobo/computer-pilot/releases/latest/download/cu-arm64 -o /usr/local/bin/cu
chmod +x /usr/local/bin/cu

Step 2: Grant permissions

cu setup

Step 3: Install plugin in Claude Code

/install-plugin computer-pilot-plugin

What it does

Adds a skill that teaches Claude Code how to use cu to:

  • Observe: snapshot UI elements (AX tree), OCR, screenshots
  • Act: click, type, keyboard shortcuts, scroll, drag
  • Automate: open apps, navigate menus, handle dialogs, file operations

Usage

Once installed, Claude Code automatically uses cu when you ask it to interact with desktop apps:

"Open Calculator and compute 2+3"
"Take a screenshot of Chrome"
"Open System Settings and enable Dark Mode"

Or use the /desktop command:

/desktop open Finder and create a new folder called "test"

Commands (12)

CommandWhat it does
cu setupCheck permissions
cu appsList running apps
cu snapshotAX tree with [ref] numbers
cu clickClick by ref or coordinates
cu keyKeyboard shortcut
cu typeType text
cu scrollScroll
cu hoverMove mouse
cu dragDrag
cu screenshotWindow capture
cu ocrVision OCR
cu waitWait for condition

Keywords

computer-pilot

FAQs

Package last updated on 03 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts