app/commands.md +28 −5
94 94
95## Deep links95## Deep links
96 96
9797The Codex app registers the `codex://` URL scheme so links can open specific parts of the app directly.The Codex app registers the `codex://` URL scheme so links can open specific parts of the app directly. Encode query string values before adding them to a URL.
98 98
9999### Common links### Supported links
100 100
101101Use these links when you just need to open a common app destination. The sections below list the full reference by link type.Use these canonical forms when you create links. The sections below list the full reference by link type.
102 102
103| Deep link | Opens |103| Deep link | Opens |
104| --- | --- |104| --- | --- |
105| `codex://threads/new` | A new local thread. |105| `codex://threads/new` | A new local thread. |
106| `codex://new?<query>` | A new local thread with at least one new-thread query parameter. |
106| `codex://threads/<thread-id>` | A local thread. `<thread-id>` must be the thread’s session UUID. |107| `codex://threads/<thread-id>` | A local thread. `<thread-id>` must be the thread’s session UUID. |
107| `codex://settings` | Settings. |108| `codex://settings` | Settings. |
108| `codex://skills` | Skills. |109| `codex://skills` | Skills. |
109| `codex://automations` | Automations with the create flow open. |110| `codex://automations` | Automations with the create flow open. |
111| `codex://plugins/install/<plugin-name>?marketplace=<marketplace-name>` | The install flow for a plugin from a known marketplace. |
112| `codex://plugins/<plugin-id>` | A plugin detail page. |
113| `codex://plugins/<plugin-name>?marketplacePath=<absolute-marketplace-path>` | A local plugin detail page from a local marketplace. |
114| `codex://pets/install?name=<pet-name>&imageUrl=<https-image-url>` | The pet install flow. |
110 115
111### Threads116### Threads
112 117
116| --- | --- |121| --- | --- |
117| `codex://threads/<thread-id>` | A local thread. `<thread-id>` must be the thread’s session UUID. |122| `codex://threads/<thread-id>` | A local thread. `<thread-id>` must be the thread’s session UUID. |
118| `codex://threads/new` | A new local thread. |123| `codex://threads/new` | A new local thread. |
124| `codex://threads/new?<query>` | A new local thread with optional query parameters. |
125| `codex://new?<query>` | A new local thread. Include at least one of `prompt`, `path`, or `originUrl`; otherwise the link does nothing. |
119 126
120127For `codex://threads/new`, add any of these query parameters as needed; you can combine them in the same URL.For `codex://threads/new` or `codex://new`, add any of these query parameters as needed; you can combine them in the same URL.
121 128
122| Query parameter | Required | What it does |129| Query parameter | Required | What it does |
123| --- | --- | --- |130| --- | --- | --- |
138| `codex://settings/computer-use/google-chrome` | Google Chrome settings for computer use. |145| `codex://settings/computer-use/google-chrome` | Google Chrome settings for computer use. |
139| `codex://settings/connections` | Remote connections settings. |146| `codex://settings/connections` | Remote connections settings. |
140 147
148Unsupported `codex://settings/...` paths open the main Settings page.
149
141### Skills150### Skills
142 151
143Use these links when you need to open Skills.152Use these links when you need to open Skills.
156 165
157### Plugins166### Plugins
158 167
159168Plugin links use different forms depending on whether you are opening a plugin, installing from a marketplace, or working from a local `marketplace.json`. For plugin basics, see [Plugins](https://developers.openai.com/codex/plugins). For local or repo marketplace setup, see [Build plugins](https://developers.openai.com/codex/plugins/build#build-your-own-curated-plugin-list).Plugin links use different forms depending on whether you are installing from a marketplace, opening a plugin, or working from a local `marketplace.json`. For plugin basics, see [Plugins](https://developers.openai.com/codex/plugins). For local or repo marketplace setup, see [Build plugins](https://developers.openai.com/codex/plugins/build#build-your-own-curated-plugin-list).
169
170#### Plugin install
171
172Use this form to open the install flow for a plugin from a marketplace that Codex already knows about.
173
174| Deep link | Opens |
175| --- | --- |
176| `codex://plugins/install/<plugin-name>?marketplace=<marketplace-name>` | The plugin detail or install flow for a plugin. |
177
178| Query parameter | Required | What it does |
179| --- | --- | --- |
180| `marketplace=<marketplace-name>` | Yes | Identifies the marketplace. For an OpenAI-curated plugin, use `openai-curated`. |
181
182The install link accepts only the `marketplace` query parameter. If Codex cannot find the requested marketplace or plugin, it opens the Plugins page instead.
160 183
161#### Plugin detail184#### Plugin detail
162 185