Guide

Send a screenshot to Codex

Codex reads pictures. Here are the ways built into the Codex CLI and the ChatGPT app, and how to point at what you mean before Codex sees it.

The built-in ways

Attach it with the first prompt
Give the Codex CLI the file with --image when you start it:
codex --image ~/Desktop/error.png "Why does this fail?"
Paste it into the prompt
Once a session is running, paste a copied picture into Codex’s prompt. To take a screenshot onto the clipboard rather than into a file, press ⌃⇧⌘4 and drag over what you want.

These are the ways OpenAI’s Codex CLI docs give. Typing @ in the prompt also finds a file in your project and adds its path.

Appshots, and what Mark adds

The ChatGPT desktop app has Appshots built in. Press both ⌘ keys and it sends the frontmost window to a chat, with the text in it, including text scrolled out of sight. For handing over a whole window, that’s hard to beat, and it costs nothing extra.

Mark is for the times you want to say more than “here’s the window”:

Any part of the screen
A region, a window or the whole screen. An appshot is the frontmost window only.
Point at what you mean
Arrows, boxes and numbered steps with a note on each, sent with the picture, and anything private hidden first.
In Terminal too
The Codex CLI can’t take an appshot. With Mark added, Codex can ask you for a screenshot from Terminal, and ChatGPT’s Codex chats share the same settings.
For the people you work with
Recordings that zoom in on clicks, saved as an MP4 or a GIF, and screenshots set in a phone or browser frame, for the issue or the pull request.

Mark it up first

A screenshot shows Codex everything at once. Pointing at the one thing you mean saves a paragraph of “the second button from the left”. Mark is a small Mac app for that.

  1. Capture

    Press ⌘4 from anywhere and drag over what you want, or pick a window or the whole screen.

  2. Point at it

    Draw arrows and boxes, add numbered steps with a note on each, and hide anything private.

  3. Hand it over

    ⌥⌘C copies the picture, marks and all, to paste into Codex. ⇧⌘L copies the numbered notes as text to paste beside it.

With Codex set up as below, the editor’s footer also has a Send to… button. Press it and Mark copies one line of text; paste that into Codex and press Return. Codex fetches the picture itself, with your marks, your notes and the words in it, read on your Mac.

Let Codex ask for it

Mark is also an MCP server, so Codex can ask it for a screenshot when it needs to see something. Move Mark to your Applications folder and open it once, then add it to Codex:

codex mcp add mark -- '/Applications/Mark.app/Contents/MacOS/mark' --mcp

Start a new Codex session. ChatGPT’s Codex chats share these settings, so they get Mark too. Then ask the way you’d ask someone sitting beside you. Naming Mark helps the first time.

Mark comes forward with what Codex wants to see. You capture it, point, and press Send (⌥⌘C). Don’t Send or Esc tells it no. Nothing is captured or sent without you, unless you turn on Let AI tools capture by themselves in Mark’s Settings, and even then Mark asks you the first time. Mark’s MCP server lists everything Codex can ask for.

Questions

How do I give the Codex CLI a screenshot?
Start it with --image and the file’s path, or paste a copied picture into its prompt once it’s running. With Mark added, Codex can also ask you for one.
Do I need Mark if I have Appshots?
Not to hand over a whole window in the ChatGPT app: Appshots does that. Mark is for any part of the screen, for pointing at what you mean with arrows and numbered notes, and for the Codex CLI, which can’t take an appshot.
Can Codex see my screen by itself?
Not on its own. With a screenshot MCP server such as Mark added, it can ask you for a screenshot, and, if you turn it on in Mark’s Settings and allow it, take one itself.
Where do my screenshots go?
Mark keeps them on your Mac and has no server to upload them to. A screenshot reaches Codex only when you paste it or press Send, and from there it’s handled under OpenAI’s own terms.
What does Mark cost?
It’s free to try for 14 days, with everything working. After that a license is $10, paid once, for two Macs. It needs macOS 13 or later, on Apple silicon or Intel.