{"repo":"Taewoong1378/shotsmash","free":true,"listed":false,"github":"https://github.com/Taewoong1378/shotsmash","clone":"git clone https://github.com/Taewoong1378/shotsmash.git","description":"Auto-shrink macOS screenshots to WebP. Cut Claude Code / Cursor / Codex vision token costs by up to 78%.","language":"Shell","stars":13,"topics":["chatgpt","claude-ai","image-optimization","launchd","macos","productivity","screenshot","webp"],"license":"MIT","category":"productivity","readme_excerpt":"shotsmash Stop bleeding vision tokens every time you paste a screenshot into Claude Code, Cursor, or Codex. Every macOS screenshot you take is auto-converted to a small WebP — typically 80–95% smaller , identical visual quality. No new shortcut to learn. Press Cmd+Shift+4 like always. shotsmash handles the rest in the background. See it in action The moment you hit Cmd+Shift+4 , the file lands as a 125 KB PNG — then shotsmash silently swaps it for a 14 KB WebP. Same screenshot. Same visual content. 9× smaller. Two modes, both running by default Mode What it watches What it does Covers --- --- --- --- File mode /Pictures/Screenshots/ Resize to 1400 px → convert to WebP ( 80–95% smaller) Workflow: drag the saved file from Finder into Claude Code Clipboard mode Your macOS clipboard Resize any image 1400 px (keeps PNG for universal app support) Workflow: click the floating screenshot thumbnail → Cmd+C → paste — this path bypasses files entirely , so file mode alone wouldn't help The clipboard mode is what catches the most common coding-tool workflow : hit Cmd+Shift+4 , click the floating preview, copy, paste into Claude Code. Without it, the raw full-res bitmap goes straight to the model. Install That's it. It will: 1. Install webp via Homebrew if missing 2. Move your screenshot save location to /Pictures/Screenshots/ (avoids macOS Full Disk Access prompts) 3. Install a launchd agent that watches the folder + polls every 30 s 4. Drop a config stub at /.config/shotsmash/config.sh ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Taewoong1378","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Taewoong1378/shotsmash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}