DEV Community

Beny Brown
Beny Brown

Posted on

Stop Hunting for Screenshot Files: A Better macOS Workflow for Developers

Every developer takes screenshots. UI bugs, error messages, terminal output, design references. And every developer

wastes time finding those screenshots afterward.

The default macOS screenshot workflow looks like this:

  1. Cmd+Shift+4 → capture
  2. File saves to Desktop as Screenshot 2026-02-20 at 3.42.12 PM.png
  3. You need to reference it somewhere — terminal, AI tool, bug report
  4. Open Finder → navigate to Desktop → scroll through 50 screenshots → right-click → Copy path
  5. Paste

That's 30-60 seconds of context switching. Multiply by 10-20 screenshots a day and you're losing real time.

The Fix

I built https://snapcode.cc to solve exactly this:

  1. Press your hotkey
  2. Select the screen area
  3. File path is on your clipboard

Done. Paste into Claude Code, Cursor, Gemini CLI, a git commit message, or anywhere else.

Why File Path > Clipboard Image

Some terminals support pasting images directly from clipboard (Cmd+V). But file paths are more universal:

┌───────────────────────────┬─────────────────┬───────────┐
│ Feature │ Clipboard Image │ File Path │
├───────────────────────────┼─────────────────┼───────────┤
│ Works in iTerm2 │ Yes │ Yes │
├───────────────────────────┼─────────────────┼───────────┤
│ Works in Terminal.app │ No │ Yes │
├───────────────────────────┼─────────────────┼───────────┤
│ Works in Alacritty │ No │ Yes │
├───────────────────────────┼─────────────────┼───────────┤
│ Referenceable later │ No │ Yes │
├───────────────────────────┼─────────────────┼───────────┤
│ Works in git commits │ No │ Yes │
├───────────────────────────┼─────────────────┼───────────┤
│ Works across all AI tools │ Sometimes │ Always │
└───────────────────────────┴─────────────────┴───────────┘

The DIY Alternative

You can build this with Hammerspoon and ~50 lines of Lua. I wrote a
https://snapcode.cc/blog/how-to-use-screenshots-with-claude-code-on-macos-the-easy-way-vs-the-hard-way/ if you want to
see both approaches.

The short version: Hammerspoon works but is terminal-specific (usually hardcoded to Ghostty), requires ongoing
maintenance, and doesn't organize your screenshots.

Setup

  1. Download from https://snapcode.cc
  2. Set your hotkey
  3. Start capturing

Top comments (0)