Support pasting screenshots/images directly into Codex CLI
Resolved 💬 3 comments Opened Jul 9, 2026 by ztsweet Closed Aug 4, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
cli,ideextension
What feature would you like to see?
Codex CLI feature request: support pasting screenshots/images directly into an interactive
terminal session.
Current behavior:
Codex CLI supports image input via -i/--image file paths, but users need to save clipboard
screenshots to a file first.
Requested behavior:
Allow users to paste a screenshot/image from the clipboard directly into an active Codex
CLI prompt, similar to Claude Code.
Why it matters:
Screenshot-to-agent is a very common debugging and UI workflow. Requiring users to save a
file and pass -i interrupts the flow and makes the CLI feel worse for visual debugging.
Example desired flow:
- Take a screenshot to clipboard.
- Paste directly into an active
codexCLI session. - Ask: "Fix this UI issue based on the screenshot."
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Which terminal emulator and platform are you using? This is already supported in many terminal emulators, but there are limitations that prevent us from supporting it on every terminal.
Also, the key binding for paste may not be what you expect. For compatibility reasons, the TUI defaults to ctrl+V (which is what you would expect on Windows and Linux) but different from the Cmd+V that you'd normally expect on macOS.
CLI screenshot/image paste is implemented with terminal-appropriate shortcuts.