Snapzy is an open-source screenshot and screen recording app for macOS, inspired by CleanShot X. It lives in the menu bar and covers area, window and scrolling captures, annotation, OCR, GIF and video recording, and uploads to your own S3 or Cloudflare R2 bucket. It is BSD-licensed and collects no telemetry.
The snapzy command is the reason to install it. It lets a script or an AI coding agent take a screenshot with no clicks and get back a file path, JSON metadata and an exit code. That means an agent can screenshot the app it just changed and check the result itself.
To set it up:
-
Install it with Homebrew. It needs macOS 13 or later.
brew install --cask snapzy -
Grant Screen Recording permission when macOS asks, then put the command on your
PATHfrom Settings → Command Line → Install. -
Try a capture:
snapzy list windows --app Safari snapzy capture window --app Safari --max-dimension 1568 -o shot.png
The window capture works even when the window is covered. The first time an app runs snapzy, Snapzy asks whether to allow it, so a terminal or agent has to be approved once.
Install it, run the window capture once from your terminal, and tell your agent the command exists.