Command line and agents
Drive Glimmer from Terminal, scripts, coding agents, Shortcuts and glimmer:// links.
Every way of automating Glimmer runs inside the app, so the app’s Screen Recording permission covers all of them; Terminal never needs its own. Captures made this way go through the same redaction rules as everything else.
- Install the command-line tool
- Capture from the command line:
glimmer captureand choosing windows and displays. - Command reference: every command and option.
- JSON output and exit codes: for scripts and CI.
- MCP server for coding agents: screenshots, text and accessibility trees for your agent.
- Shortcuts: actions for the Shortcuts app.
- Links:
glimmer://links.
- Install the command-line toolTurn on the glimmer command, put it on your PATH, and choose whether it asks before each use.
- Capture from the command lineUse glimmer capture to take screenshots of a window, a display, a rectangle or the whole desktop from Terminal and scripts.
- Command referenceEvery glimmer command, its arguments and its options.
- JSON output and exit codesMachine-readable output and the exit codes the glimmer command returns, for scripts and CI.
- MCP server for coding agentsLet a coding agent take screenshots, read text, inspect accessibility trees and compare images, with your approval and the same redaction rules.
- ShortcutsGlimmer's actions for the Shortcuts app: capture, grab text, read text in an image, upload and run workflows.
- LinksOpen Glimmer, search the Library, start a capture, upload or run a workflow from a glimmer:// link.
Something missing or unclear? Write to [email protected].