Custom GPTs retire: Dec 11, 2026Date announced, hour not (as of Nov 7, 2026). FedRAMP workspaces keep them until Feb 11, 2027; move a GPT to a plugin before then.

17Days23Hours13Minutes18Seconds

ChatGPT Desktop App Deep Links

The link that opens a new chat in the ChatGPT desktop app with your prompt already typed is codex://new?prompt= followed by the prompt, URL-encoded. The app keeps the old codex:// scheme; add path= to open the chat in a folder. Every supported link, with worked examples, read in OpenAI's docs on Nov 17, 2026.

The link that opens a new chat in the ChatGPT desktop app with a prompt already in the message box is codex://new?prompt=<your prompt, URL-encoded>, for example codex://new?prompt=Run%20the%20tests%20and%20fix%20the%20first%20failure (Commands, OpenAI docs, read Nov 17, 2026). The app kept the codex:// scheme of the old Codex app "for compatibility", so the same links open Chat, Work and Codex in the one app. The link fills the box and stops there: OpenAI's page says it "doesn't send the prompt automatically", so nothing runs until the person who clicked presses Enter.

Next: the keys that copy a chat's own link and open the command menu, what a plugin link installs and which plugins exist or what the Codex side of the app can do once the chat opens.

A white app window with the heading What will you build? and a message naming Slack, Gmail, Google Calendar and Notion
A white app window with the heading What will you build? and a message naming Slack, Gmail, Google Calendar and Notion OpenAI
  1. Write the prompt as you would type it: Run the tests and fix the first failure.
  2. Encode it as a URI component, so spaces become %20, slashes %2F and so on. In a browser console, encodeURIComponent("Run the tests and fix the first failure") does it; OpenAI's page names the same function.
  3. Put it after codex://new?prompt= and use it as the target of a link in a README, a wiki page, an issue or a chat message.

A link from codex://new must carry at least one of prompt, path or originUrl; OpenAI's page says that "otherwise the link does nothing". Use codex://threads/new for an empty new chat.

Open the chat in a folder

Two more query parameters choose where a Codex chat works. They combine with prompt in one link:

Parameter Value What it does
prompt= Encoded text Puts the text in the message box
path= Encoded absolute path to a local folder Opens the chat with that folder as the workspace
originUrl= Encoded Git remote URL Picks the open workspace whose Git remote matches; path wins if both are given

Worked example, ours, for a project at /Users/alex/code/shop on a Mac:

codex://new?prompt=Run%20the%20tests%20and%20fix%20the%20first%20failure&path=%2FUsers%2Falex%2Fcode%2Fshop

On Windows the same folder at C:\Users\alex\code\shop encodes as C%3A%5CUsers%5Calex%5Ccode%5Cshop. For a link that works for everyone on a team, whatever folder they cloned into, use the remote instead: originUrl=https%3A%2F%2Fgithub.com%2Falex%2Fshop.git matches the open workspace whose remote is that repository.

Link Opens
codex://threads/new A new local chat
codex://new?<query> A new local chat with a prompt, path or remote
codex://threads/<thread-id> An existing local chat, by its technical id
codex://settings Settings
codex://settings/browser-use Browser settings
codex://settings/connections/ssh/add?name=<host> Adds a host from your ~/.ssh/config to the app
codex://skills Skills
codex://automations Scheduled, with the create form open (Scheduled Tasks)
codex://plugins/install/<name>?marketplace=openai-curated The install flow for an OpenAI-curated plugin
codex://plugins/<name>@openai-curated A plugin's detail page
codex://pets/install?name=<name>&imageUrl=<https URL> The install flow for a pet

Source: Commands, OpenAI docs, read Nov 17, 2026. An unknown codex://settings/... path opens the main Settings page, and a plugin link whose marketplace or plugin cannot be found opens the Plugins page instead. A pet link with a name that is only spaces, an image address that is not HTTPS, or any extra parameter does nothing.

To hand someone a ready request that uses a plugin, put the plugin mention inside the prompt before encoding it. OpenAI's example prompt is [@Example](plugin://example@openai-curated) Summarize this document: https://example.com/document/123, which encodes to a link that starts codex://new?prompt=%5B%40Example%5D(plugin%3A%2F%2Fexample%40openai-curated). If the reader has not installed the plugin, the app asks them to install it and connect any accounts it needs, then offers Continue in the same chat. A workspace admin's settings can still block the install.

A codex:// link opens only on a computer with the desktop app installed, on macOS, Windows or Linux; a phone or a browser without the app does nothing with it. Some sites and chat apps refuse to make custom schemes clickable, so test the link where you will post it. For a chat you already have, the app's own Copy chat deep link shortcut, Ctrl+Alt+L on Windows and Linux or Cmd+Option+L on a Mac, copies its link for you (Commands). A link to a thread id opens a local chat, so it works on the machine that holds that chat.

We think the prompt link is the most useful of these for anyone who writes setup instructions: a README line such as "open this in ChatGPT" can carry the exact first request, the folder and nothing that runs by itself.

We think OpenAI's docs will list a chatgpt:// link scheme beside codex:// by Jun 30, 2027. Confidence: Possible. Check by: Jun 2027.

Why we think so: the desktop app has been ChatGPT, not Codex, since Jul 9, 2026 (ChatGPT Desktop App), and the docs read on Nov 17, 2026 say the old scheme is kept "for compatibility", a word that usually comes before a new name.

Sources

  • Commands, OpenAI docs (learn.chatgpt.com): keyboard shortcuts and the Deep links section, read Nov 17, 2026

See also

About this page

Last updated Nov 17, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top