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:

  1. Take a screenshot to clipboard.
  2. Paste directly into an active codex CLI session.
  3. Ask: "Fix this UI issue based on the screenshot."

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 1 month ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #30305

Powered by Codex Action

etraut-openai contributor · 1 month ago

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.

etraut-openai contributor · 24 days ago

CLI screenshot/image paste is implemented with terminal-appropriate shortcuts.