Skip to content

Codex App Mastery

You have a monorepo with a frontend, a backend API, and a shared library. You need to refactor an interface in the shared lib, update the API consumers, and fix the resulting frontend type errors — all without the three tasks stepping on each other’s files. Doing this sequentially means waiting; doing it in one thread means confusion. The Codex App was built for exactly this kind of parallel orchestration.

  • A workflow for managing multiple projects and parallel threads in a single Codex App window
  • Techniques for leveraging IDE sync, voice dictation, and inline diff review to cut review time in half
  • A strategy for combining Local, Worktree, and Cloud modes in the same session
  • Production-ready patterns for skills integration and MCP server configuration in the App

The Codex App sidebar is your control center. Each project maps to a directory on disk, and you can switch between them instantly. The key insight is that each project maintains its own sandbox, worktree state, and thread history.

  1. Add your projects. Click the ”+” in the sidebar and point to each codebase directory. For a monorepo, split distinct packages into separate projects so the sandbox only includes relevant files.

  2. Launch parallel threads. Within a single project, open multiple threads — one in Local mode for quick edits, one in Worktree mode for an experimental feature, one in Cloud mode for a heavy refactor that should not block your machine.

  3. Monitor the inbox. Automation results and completed cloud tasks surface in the Triage section. Filter to “unread” to focus on what needs your attention.

When the Codex IDE Extension is installed in VS Code or Cursor and both the App and IDE are pointed at the same project, they sync automatically. This gives you two superpowers:

Auto context — The App tracks which files you have open in your editor. When you ask “What’s this file about?” in the App, it knows you mean the file you are looking at in VS Code.

Bidirectional thread visibility — Threads started in the App appear in the IDE Extension sidebar and vice versa. You can start a heavy task in the App, switch to the IDE to continue coding, and watch the thread progress without context-switching.

Every new thread in the Codex App asks you to pick a mode. Here is how to decide:

ModeUse WhenTrade-off
LocalQuick edits, debugging, exploring codeChanges happen directly in your working directory — risk of conflicts if multiple threads touch the same files
WorktreeFeature work, experiments, parallel tasksGit worktree isolation means no conflicts, but you need to sync or merge changes back
CloudHeavy refactors, tasks you want to delegate, mobile triageRuns remotely, needs a configured environment, cannot access local-only tools

The App includes a complete Git workflow: diff review, inline commenting, staging, committing, pushing, and PR creation. The diff pane shows a standard unified diff of your changes. You can:

  • Add inline comments that Codex will address in a follow-up turn
  • Stage or revert specific chunks or entire files
  • Commit, push, and open a PR without leaving the App

For worktree threads, use “Create branch here” to turn a detached HEAD into a named branch, then push directly to your remote.

The App supports the same agent skills as the CLI and IDE Extension. Click “Skills” in the sidebar to browse available skills across your projects. To trigger a skill explicitly in a thread, prefix it with $:

$recent-code-bugfix

Combine skills with automations for recurring tasks. For example, a $dependency-audit skill paired with a weekly automation keeps your dependencies reviewed without manual effort.

ShortcutAction
Cmd + JToggle the integrated terminal
Cmd + KOpen the command palette
Ctrl + M (hold)Voice dictation
Ctrl + LClear the terminal

The integrated terminal is scoped to the current project or worktree. Use it to run tests, check git status, or execute any command without leaving the App.

  • Worktree branch conflicts: Git only allows a branch to be checked out in one worktree at a time. If you create a branch on a worktree and try to check it out locally, Git will error. Use “Sync with local” instead of manually checking out the branch.
  • Disk space from worktrees: Each worktree copies your entire repo. Archive threads you no longer need so Codex can clean up worktrees automatically (older than 4 days or when you exceed 10 worktrees).
  • IDE sync not working: Both the App and IDE Extension must point at the same project root. Check that neither is pointing to a parent or child directory of the other.
  • Notifications not firing: Verify notification settings in the App preferences. On macOS, also check System Settings > Notifications for the Codex App.