Copy path of screenshot capture for ai agents

As a developer I sometimes vibe-code a little. My tool of choice is Claude Code in the terminal (Konsole). I am sure there are better tools out there, but I feel it is good enough for my need. And I don’t think I am the only one.

But it has a severe limitation; trying to paste image data simply fails. I guess this is because of the large amount of data is rejeected by terminal copy/paste mechanism or something? BUT there is hope, because claude will actually accept the local filesystem path to an image as an actual image.

And here is where my idea struck… I mostly paste screenshots of my app to claude. My cuirrent workflow is 1. Play in my app until it breaks 2. Press to capture window with spectacle 3. Annotate the screenshot 4. Press to save the annotated screenshot in ~/Pictures/Screenshots//Screenshot_timestamp.png 5. Go to that folder in file browser (dolphin) 6. right click image and select “Copy location” in context menu 7. Go to claude and paste.

It would be absolutely mindblowinllgy awesome if I could instead skip steps 5, 6 and 7 by configuring Spectacle to accept another key (spacebar?) to just save the .png and then put the FILE PATH of the screenshot on the clipboard instead of the actual image data. I would legit save like 2 hours of needless mouse fiddling.

Is this niche workflow possibly common enough that it could become a standard feature? I am sure I could fake it with some nasty script but having it upstream would be amazing.

There is an option in spectacle to choose what to do after a screenshot has been completed.

It is possible to save it to file copy to clipboard after a screenshot file has been saved.
You probably want to set it to “Copy file path to clipboard” with “Save to file” after screenshot.

You might have a script changing this setting value to have a specific depending on your preference.

to ping off of that, you will also want to check your clipboard configuration settings to ensure that “non-text” items are shown in the clipboard history.