# screen-vision **English** | [简体中文](README_CN.md) Capture a desktop window and read its UI elements with physical-pixel coordinates, from the accessibility tree first and OCR second. Clicking an element is optional, previewed by default and verified before it happens. [![Claude Code: Skill](https://img.shields.io/badge/Claude%20Code-Skill-D97757)](https://docs.claude.com/en/docs/claude-code/skills) [![Version: v2.0.2](https://img.shields.io/badge/Version-v2.0.2-blue)](CHANGELOG.md) [![License: MIT](https://img.shields.io/badge/License-MIT-green)](LICENSE) [![Config Schema: v2](https://img.shields.io/badge/Config%20Schema-v2-informational)](CONFIG.md) [![Built with: skill-smith](https://img.shields.io/badge/Built%20with-skill--smith-blueviolet)](https://github.com/DaizeDong/skill-smith) ## What It Is A Claude Code skill for seeing and acting on windows outside the browser: native Win32 and WinUI apps, Electron, games and remote desktops. Each call is one capture, parse and return, with no resident server. `probe.py` reports what the host can do, `capture.py` writes a screenshot, an optional numbered overlay and an element list, and `click.py` acts on an element by id. The workflow and the hard rules are in [SKILL.md](skills/screen-vision/SKILL.md); why it works this way, and what it refuses to trade away, is in [PHILOSOPHY.md](PHILOSOPHY.md). Output fields and action checks are in [schema.md](skills/screen-vision/reference/schema.md); backends and platform caveats are in [backends.md](skills/screen-vision/reference/backends.md). It is not a web automation tool (use Playwright for a page's DOM) and not an image editor. ## Install ```text /plugin install github:DaizeDong/screen-vision ``` Windows capture needs the standard library plus `jsonschema`, which validates the configuration. Elements, OCR and annotation come from the optional packages in [requirements.txt](requirements.txt): ```bash pip install -r requirements.txt ``` Captures are written only to a private companion repository selected with `SCREEN_VISION_CONFIG`, resolved by the `fleet_guards` package; the same companion holds the capture defaults and the action freshness bound, defined in [CONFIG.md](CONFIG.md). [DATA.md](DATA.md) covers initializing it, what a capture checks before reading pixels, retention and recovering from a failed capture. Contributors also run `git config core.hooksPath .githooks` so commits and pushes pass the privacy hooks. ## Limits - Windows first. macOS and Linux capture through MSS, but their native accessibility layers are not wired and their live behavior is unverified. Wayland can block silent capture. - UIA blind spots (Chromium or Electron without `--force-renderer-accessibility`, some Qt, canvas, games) fall back to OCR. A vision backend such as OmniParser is not bundled. - Reading an elevated (UAC) window requires running Python elevated. - An action needs a capture younger than the configured bound (60 seconds by default) whose target still matches; otherwise it asks for a new capture. ## Documentation - [CONFIG.md](CONFIG.md) - [DATA.md](DATA.md) - [PHILOSOPHY.md](PHILOSOPHY.md) - [ROADMAP.md](ROADMAP.md) ## Acknowledgements and Citation Built with [skill-smith](https://github.com/DaizeDong/skill-smith) (MIT); screen-vision keeps its own [LICENSE](LICENSE). To cite screen-vision, use [CITATION.cff](CITATION.cff) ("Cite this repository" on GitHub). ## License MIT, see [LICENSE](LICENSE).