← ClaudeAtlas

screenshotslisted

Locate macOS screenshots saved to ~/screenshots/ and route them into downstream workflows — most commonly attaching to GitHub PR/issue/comment bodies via the gh image extension, but also useful for previewing, organizing, copying to clipboard, or feeding into other tools. Use when the user mentions "screenshots", "today's screenshots", "find a screenshot", "attach screenshots", "upload screenshot", "images on machine", or wants to locate, preview, or share a local screenshot.
magnusrodseth/dotfiles · ★ 0 · Code & Development · score 68
Install: claude install-skill magnusrodseth/dotfiles
# Screenshots Local macOS screenshots are saved to `~/screenshots/`. This skill covers locating them and using them in downstream workflows. The most detailed workflow is uploading to GitHub via `gh image`, but the skill also applies to previewing, sharing via other channels, and basic housekeeping. ## One-time setup (per machine) Verify before assuming: ```bash # 1. macOS screenshot location is ~/screenshots/ (not Desktop) defaults read com.apple.screencapture location # expected: /Users/<you>/screenshots # If empty or pointing at Desktop, set it once: mkdir -p ~/screenshots defaults write com.apple.screencapture location ~/screenshots killall SystemUIServer # 2. gh CLI authenticated (for the GitHub workflow below) gh auth status # 3. gh-image extension installed (one-time) gh extension list | grep -q 'drogers0/gh-image' || gh extension install drogers0/gh-image ``` Per-day subdirs are **not** used by default — the filename already embeds the date (`Screenshot 2026-05-21 at 10.38.18.png`), so a flat dir keeps the workflow simple. If sorting ever becomes painful, layer on a Folder Action, launchd watcher, or Hazel rule. ## Finding screenshots ```bash # Listing (human-readable, today's only) ls -lt ~/screenshots/ | grep "$(date +%Y-%m-%d)" # Full paths (for piping into other commands) ls ~/screenshots/Screenshot\ "$(date +%Y-%m-%d)"*.png # All recent (last 24h, any filename) find ~/screenshots/ -type f -mtime -1 ``` Filename format is `Screenshot YYYY-MM-DD at HH.