macOS screen OCR & click automation CLI powered by Apple Vision + ScreenCaptureKit.
Before running any screen-vision command, check if the binary exists. If not, run the setup script:
bash
command -v screen-vision &>/dev/null || bash "${CLAUDE_SKILL_DIR}/setup.sh"
This installs screen-vision (via Homebrew or source build) and cliclick automatically.
CommandDescriptionOutputscreen-vision ocr [--app NAME]Full OCRJSON array [{text, x, y, w, h, confidence}]``screen-vision list [--app NAME]OCR listHuman-readable text with coordinatesscreen-vision find "text" [--app NAME]Find textJSON {text, x, y, found}``screen-vision has "text" [--app NAME]Check text existsExit code 0 (found) / 1 (not found)screen-vision tap "text" [--app NAME] [--retry N]Find + clickJSON {text, x, y, tapped}``screen-vision wait "text" [--timeout SEC]Poll until text appearsJSON {text, x, y, found}
text
--region x,y,w,h > --app "AppName" > full screen (default)
bash
screen-vision list --app "Safari"
bash
screen-vision has "Submit" --app "MyApp" && echo "Found" || echo "Not found"
bash
screen-vision tap "OK" --app "MyApp" --retry 3
bash
screen-vision wait "Complete" --timeout 30
bash
screen-vision ocr | jq '.[].text'
Parse the user's request to determine which command to run:
screen-vision listscreen-vision find "text"screen-vision tap "text"screen-vision has "text"screen-vision wait "text"