Skip to main content
The mode picker under the input box decides what the model can do on its own and which actions must ask you first. Claude Code offers all four modes. Codex and the other engines do not offer plan mode.

Four modes

Permission confirmation dialog
Auto mode skips file and command confirmation. Use it only when you accept the model changing any workspace file and running commands.

How to answer a permission dialog

Default mode and some Agent actions open a permission dialog: Requests from an external process are labeled separately. The dialog has a countdown. After timeout it closes and the model continues with the current policy. Set the seconds in Settings → General → Behavior → Permission and question dialog timeout, from 30–3600. When the model asks you a multiple-choice question, it uses the Ask user dialog. Turn on system notifications in Settings so you do not miss it in another window.

Plan mode

Plan mode only gives the model read-only tools. It analyzes the code, writes a plan, then waits for your approval. Typical flow:
  1. Switch to Plan
  2. Describe the change
  3. Review the plan and ask for another version if needed
  4. Approve or reject it in the approval box
  5. After approval, let it execute
Plan approval Codex, Grok, Kimi, OpenCode, and Pi do not list plan mode. Use Default, Agent, or Auto with those runtimes.

Codex sandbox

Codex also has a sandbox policy in Settings → Permissions. It is a second layer on top of chat mode:
  • Mode: whether to ask you
  • Sandbox: which directories and network the command can actually touch
You can combine them. For example, Agent mode auto-accepts edits while a stricter sandbox limits commands.

How this relates to VS Code settings

The extension also has these related switches:
  • ccGui.autoSyncActiveFile: whether to sync the current editor file path automatically
  • Send the open file path: whether to mention a file automatically when you select it in Explorer
  • Debug log: turn this on when you debug permissions or the bridge
These switches do not replace the mode picker. Day to day, use the mode under the input box.