Open image shots (screenshots, snapshot baselines, montages, renders) in ONE macOS Preview window so the user can eyeball them. Use when the user asks to open / show / pull up / review shots in Preview or Finder, or right after producing visual artifacts the user should look at before signing off.
npx skills add https://github.com/dzhng/skills --skill preview-shots
Put the review-worthy images in front of the user in a single Preview window they can flip through.
open -a Preview <path> <path> ... call. One open invocation lands all the files in one window with a thumbnail sidebar; separate calls spawn separate windows.open); pass absolute or repo-root-relative paths.should run headless by default; only open Chrome when the user explicitly asks
for a live browser or when reproducing a headful-only bug.
any open ones: osascript -e 'tell application "Preview" to close every window'.
and then move on without the user's response, close Preview afterward:
osascript -e 'quit app "Preview"'. An overnight autonomous run must never wake
the user to a wall of Preview windows — at most one set open, and none once
you've proceeded past the checkpoint.
Take dzhng/preview-shots from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.