In the ChatGPT desktop app, select Codex to inspect a project, fix a scoped frontend issue, check the page in the built-in browser, and review the code diff. First decide where the code will run: use Local to work directly in your current directory, Worktree to isolate local changes, or Cloud to use a prepared remote environment.
The mobile navigation overlap below is a hypothetical example. The steps follow OpenAI documentation checked on 2026-11-04; we have not run this example as an end-to-end product test. Interfaces, features, and permissions can vary by account, region, or workspace settings.
Start by choosing where to work
In the ChatGPT desktop app, select Codex from the ChatGPT dropdown. In a new chat, choose This computer or Cloud under Work in. For a local Git project, a separate Worktree control is also available. OpenAI's environment documentation describes the choices:
| Choice | Where it runs and when to use it | Check before starting |
|---|---|---|
| Local | Works directly in your current project directory | Preserve any uncommitted changes and check that the development server can start. |
| Worktree | Isolates work in a Git worktree on your computer | A Git repository is required; choose a starting branch and check dependencies and untracked local configuration. |
| Cloud | Starts a remote task from a published environment you can access | Prepare the repository, dependencies, and tools there. Local files, running processes, browser sign-ins, and VPN access do not transfer automatically. |
A worktree is another checkout of the same repository. Dependencies or files ignored by Git may be missing. The app supports Hand off when you want to continue in the local checkout, but first check the changes and required local files. See the worktree documentation for starting branches, setup, and handoff. If no cloud environment is available, first create and publish one or obtain access to a shared environment; selecting an environment is separate from publishing it.
The example below uses Local and assumes you have a runnable frontend project, a known route, and a start command. In a Worktree, prepare and run the project in that worktree's directory. In Cloud, do not assume your computer's localhost or sign-in state is available remotely.
1. Give Codex an actionable task
Identify the route, reproduction steps, and expected result. This prompt is an example: replace the bracketed text with your project facts. Its path and expectations do not describe an existing project.
Fix this frontend issue: at a mobile viewport on [page route], the navigation menu covers the page heading.
Project start command: [command]; local page URL: [URL].
Reproduction steps: [actions to open the page and reproduce the issue].
Acceptance: at a 390px-wide viewport, opening the navigation does not cover
the heading and the navigation works; at 1440px wide, the existing desktop
navigation still works.
Read the project instructions and relevant code, reproduce the issue, make
the changes needed to fix it, run appropriate checks, and use @Browser to
check those states. Report the actual viewport sizes, results, and anything
not verified. Deliver a reviewable diff; do not commit or deploy.
If the task authorizes code changes, Codex can inspect, edit, and verify within that scope without asking again at every step. Handle actions outside the scope according to project rules, actual permissions, and the task's authorization. This example explicitly excludes committing and deployment. If reproduction details are missing or the necessary change exceeds the scope, clarify those conditions before proceeding.
2. Reproduce and check the fix in the built-in browser
Ask Codex to start or check the development server in the chosen environment, then use @Browser to open the local URL and follow the reproduction steps before and after the change. You can also select New tab in the app and enter the URL to view the page alongside Codex. The official browser guide covers local previews, browser interaction, and annotations. Codex CLI and the IDE extension do not have this built-in browser.
Compare the actual observations with each acceptance condition:
- Open the navigation at the target mobile width. Check that it works and no longer covers the heading.
- Check the existing navigation at desktop width. Ask Codex to report the actual viewport dimensions. If the current browser cannot set or confirm an exact width, check it with an available browser device emulator or a real device and record which sizes remain untested.
- If there is still a problem, select Annotate in the built-in browser toolbar, click an element or select an area, describe the problem and desired result, and ask Codex in chat to address the comment. Recheck the same state afterward.
The built-in browser has a separate profile and does not automatically bring in your regular browser's tabs or sign-in state. If the page needs a login, make sure a suitable test account and environment are available; do not send credentials in chat. Seeing the page confirms only the visible states checked. Run the project's required tests and check keyboard interaction, other necessary viewports, and uncovered states as appropriate.
Consider Computer Use if the issue must be reproduced in a native desktop app. As of the verification date, OpenAI says it is available with Codex on macOS and Windows in supported regions. Install or enable it under Plugins > Computer Use; macOS requires Screen Recording and Accessibility permissions when prompted, and Windows requires the target app to remain visible on the active desktop. App access approval and operating-system permissions are separate. The Computer Use documentation recommends starting with the built-in browser for local web apps.
3. Review and deliver the diff
In a Git repository, open the app's code review pane. Check that the changes address the issue, preserve existing behavior, and do not include unrelated files. Compare the report against the actual checks: whether reproduction succeeded, which viewports and interactions were tested, whether tests passed, and what remains unverified. Give specific feedback for follow-up changes and recheck affected states.
The deliverable in this example is a reviewable code diff and verification report; the example does not authorize a commit, push, or deployment. Other tasks may authorize different actions, subject to their instructions and project rules. Browser checks and diff review complement each other: a correct-looking page does not prove every code path was tested.
Use plugins, instructions, and scheduled tasks in the workflow
- Plugins: If the task needs an issue or project document outside the repository, install a suitable plugin under Plugins and complete any required connection. Plugins can include skills and MCP tools; available tools and external access depend on the connection and workspace settings. A local-only fix may need no additional connection. Plugin documentation
AGENTS.md: Keep required ongoing project rules, such as build commands, verification requirements, and boundaries, in the repository. Still supply the particular issue and acceptance criteria for each task. Project instructions- Skills: Package a repeatable check or repair process as reusable instructions and supporting resources. For example, name an existing frontend verification skill in the task. Skills complement project rules; they do not replace this task's acceptance criteria. Skills documentation
- Memories: When enabled, Codex can generate local memories from eligible past chats to carry context such as project background and preferences forward. They are generated state, not the sole source for mandatory team rules. Manage Codex memories for the machine in Settings > Personalization, and use
/memoriesto control whether the current chat uses or contributes memories. Memories documentation - Scheduled: Once a check is well defined and needs repeating, create a standalone scheduled task or have it return to an existing chat. Review runs under Scheduled in the sidebar. For local projects, the computer must be on, the desktop app running, and the project available on disk; Git projects can use the local directory or an isolated worktree. Test the prompt in a regular chat first and review the first few scheduled runs. Scheduled tasks documentation