跳到正文
TakoAPI
返回技能列表

screen-vision

由 ls18166407597-design 提供

AI & LLMs
—暂无评分
你的评分

简介

macOS Local OCR & Automation Tool using Vision Framework.

描述

该技能的功能

A macOS tool that runs OCR on screen content using Apple's built-in Vision framework. It extracts text and [X, Y] coordinates locally, sending only the recognized text to the AI rather than full screenshots. Supports mixed Chinese and English recognition.

Running OCR locally via the Vision framework avoids sending screenshots to an AI API, which eliminates token costs and keeps screen content private.

何时使用

  • Reading text from a non-standard desktop app that has no API
  • Monitoring a balance or progress indicator on screen without manual checking
  • Clicking a button in a GUI app by locating its label text
  • Automating repetitive UI interactions across any macOS application
  • Extracting text from a screen region that can't be copy-pasted

示例工作流

输入

User asks: help me click the Confirm button in this app

智能体
  1. 1

    Runs vision_ocr.swift to scan the current screen

  2. 2

    Receives recognized text with [X, Y] coordinates for each element

  3. 3

    Locates the text matching 'Confirm' and retrieves its coordinates

  4. 4

    Passes coordinates to click.swift to perform a physical mouse click

输出

The Confirm button is clicked at the detected screen coordinates

前置要求

  • macOS Screen Recording permission enabled for your terminal app (System Settings > Privacy & Security > Screen Recording)
  • macOS Accessibility permission enabled for your terminal app (System Settings > Privacy & Security > Accessibility)

安装

clawhub install ls18166407597-design/screen-vision

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接