I enjoy vibe coding in Claude Code a lot. From time to time, I need to take screenshots and share them with Claude Code. Sometimes, it’s just easier to show Claude a screenshot than to explain something in text.
I’m on Linux, I can take a screenshot and drag and drop the image into Claude Code’s terminal window. It works, but it’s still too cumbersome.
So I told myself: why not just code a simple utility to simplify that?
In just a few hours, I got a working script. Claude wrote most of the code.
How to use it
The source is available on GitHub. To use it, simply follow the README.md instructions.
How it was done
I started by gathering requirements, and created an architecture.md file. I then used this file to guide Claude for the rest of the coding.
For screen capture, I started with gnome-screenshot
, but for whatever reason that I don’t remember, I ended up using scrot
instead. Claude helped a lot with the refactoring, and it actually made the refactoring process quite “fun”.
It’s not a complex script, but I probably wouldn’t have created it if I didn’t have Claude Code to help me.