screencapture-mac
Captures the user's macOS screen, a window, or a region with the built-in screencapture CLI, then reads the image so the agent can see what the user sees. Use it when the user asks to check how a native macOS app looks (SwiftUI, AppKit, Electron, Qt, Tk, Java Swing), verify a window rendered correctly after a build or code change, diagnose a visual bug they describe in a desktop app, confirm a menu, dialog, or layout state, or asks "can you see this?" about anything outside a browser, even if they don't say "screenshot". Web pages and web apps belong to a browser automation tool.
- License
- MIT
- Compatibility
- macOS only. Uses the built-in screencapture CLI and needs Screen Recording permission for the terminal app.
Pinned to revision 8a9119ae335b, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.