I cannot past images into the Cursor CLI. GPT5.2 summary of what’s going on with the clipboard on my computer:
Arch Linux (X11), CopyQ 13.0.0. When an image is in the clipboard, xclip -selection clipboard -t TARGETS -o includes image/png (and others, plus application/x-qt-image):
So on Linux/X11 the CLI should be able to “paste image from clipboard” by retrieving image/png from the clipboard selection (optionally falling back to image/jpeg/image/webp if image/png is not available).
Hey, thanks for the detailed feature request and the technical explanation!
This is a known limitation: pasting images in the CLI on Linux isn’t supported right now. The team is aware of it, and it’s on the roadmap for future improvements.
Thanks for the technical context about xclip and clipboard targets too. That info will be helpful when we implement this feature.
For anyone (like me) who came here looking for a macOS solution, here is a quick workaround: use Shift + Cmd + 4 to take a screenshot. When the preview thumbnail pops up in the bottom right corner, simply drag and drop it directly into the Cursor input. It will paste the file path, and Cursor will be able to read and use the image perfectly.
A trick on top of this is to create a skill that saves the picture to a .screenshots folder within the workspace. You can create a bash, etc. script to create the folder if it does not exist and copy the screenshot from the temporary location.
And as it is in a script with very limited scope it can even be added to the allowlist of the Cursor CLI configuration so that permission is not required every time and no higher privileges are allowed (for mkdir and cp).