Permission modes in coding agents: what Claude Code, Codex, Gemini CLI and Clixad do without asking

Short answer

Every terminal coding agent lets you choose how much it does before it asks. The names differ, but the steps are much the same: ask before every edit and command, let edits through and ask for commands, plan without changing anything, let something other than you decide, or ask for nothing at all.

The steps that differ most are the last two. Plan mode means read-only in Gemini CLI and Clixad, and reading plus read-only commands in Claude Code. Claude Code and Clixad can hand most decisions to a checking model, Codex to an automatic review, and the modes that ask for nothing belong in a container.

The same ladder, four sets of names

A coding agent does two kinds of thing. Reading a file or searching a project changes nothing, so every agent here does it without asking. Editing a file and running a command change something, and the permission mode decides what happens before either. Claude Code, Gemini CLI and Clixad use different names for much the same steps. Codex draws its options differently, and comes after the table.

Permission modes by what they let the agent do without asking, as each vendor's documentation names them, read 2 December 2026. A dash means the page we read lists no such mode.
Before an edit or a commandClaude CodeGemini CLIClixad
You are askeddefaultdefaultnormal
Edits go through without askingacceptEditsauto_editacceptEdits
The agent plans and changes nothingplanplanplan
A check other than you decidesauto -auto
Approvals are skippedbypassPermissionsyolo -

Claude Code describes its default mode as one that "Prompts before most edits, shell commands, and network requests." acceptEdits "Automatically accepts file edits and common filesystem commands such as mkdir, touch, mv, and cp". It also has dontAsk, in which "anything that would prompt is denied", for runs nobody is watching. Anthropic's page adds that "With Claude Code v2.1.283 or later, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions."

Codex offers four options, and they are drawn around what lies outside your project rather than around each action. "Ask for approval" is "Always ask to edit external files and use the internet." "Approve for me" is "Only ask for actions detected as potentially unsafe." "Full access" is "Unrestricted access to the internet and any file on your computer." The fourth reads its permissions from config.toml.

Gemini CLI calls them approval modes: "'default' prompts for approval." and "'auto_edit' auto-approves edit tools." Google moved free personal use to another tool this year ("Gemini CLI was replaced by Antigravity CLI on June 18th, 2026."), and Gemini CLI remains for API keys and Code Assist licences.

Clixad has four modes, and every session starts in normal, which asks before each edit, with the diff, and before each command. Our permission modes page has the details.

Switching between them

  • Claude Code: "press Shift+Tab to cycle permission modes", or start with claude --permission-mode plan.
  • Codex: "In the CLI, enter /permissions."
  • Gemini CLI: Shift+Tab will "Cycle through approval modes: default (prompt), auto_edit (auto-approve edits), and plan (read-only)." Its settings page says "YOLO mode (auto-approve all actions) can only be enabled via command line", with --yolo or --approval-mode=yolo.
  • Clixad: Shift+Tab moves from normal to acceptEdits, plan and auto, and /mode plan switches to one by name.

Three of the four put the switch on the same key, so muscle memory carries over. What it lands on does not always: in Clixad, two presses reach plan mode, and the most permissive mode is the last in the cycle, never one accidental press away from the start.

Plan modes are not all the same

A plan mode exists for the moment you want the agent to look before it touches anything. The difference between them is what "not touching" means.

  • Claude Code: "Claude reads files and runs read-only shell commands to explore but doesn't edit your source files." Running commands that only read is allowed.
  • Gemini CLI: "Plan Mode is a read-only environment for architecting robust solutions before implementation." The agent may still write its plan to a Markdown file.
  • Clixad: the tools that edit files and run commands are taken out of what the model is offered, so in plan mode it reads, searches and then puts a short plan in front of you. You answer y to carry on asking before each edit, a to carry on with edits accepted, u for auto mode where the model offers it, or n to keep planning, and the agent carries on in the same turn.

If you use plan mode to be sure nothing runs, the difference matters: a read-only shell command is still a command. If you use it to get a second look at the approach before the edits start, all three do the job.

When something else decides

The newest step on the ladder replaces you, for most actions, with a check that is not you. Claude Code's auto mode is one in which "a second model, the classifier, reviews actions instead of you." Codex's "Approve for me" asks only "for actions detected as potentially unsafe."

Clixad's auto mode works in three layers, cheapest first. Edits inside the project go through, except to paths that change what runs next: .git/, git hooks, .mcp.json, .vscode/ and .env files, which are asked. Commands are sorted on your machine: ordinary development work such as tests, builds and local git runs, and a short list is refused without a model call, among them sudo, deleting your home directory and piping a download into a shell. Everything in between is checked by one short call to the model you are using, billed like any other call, and if that check cannot run, you are asked. It is not offered on GPT-5 Nano, GPT-6 Luna or GLM 5.3 Flash, because the model in use is also the one that checks.

A checking model is not a guarantee. It reads a description of an action, and an action can do more than its description says. It is a large step up from approving everything, and a step down from reading every command yourself.

When nothing asks

Claude Code and Gemini CLI each have a mode that skips approvals, and Codex has one with unrestricted access. Anthropic's advice on its own is direct: "Only use this mode in isolated environments like containers or VMs where Claude Code can't cause damage." That advice applies to the equivalent mode of every agent. In a throwaway container the worst case is a container you throw away. On your laptop, with your SSH keys and your cloud credentials in reach, it is something else.

Clixad has no mode that asks for nothing. The closest is auto mode, which still refuses its short list and still asks when its check cannot decide.

Which mode for which job

  • A codebase you do not know yet: plan mode, then approve the plan into the mode that asks before edits.
  • A change you have already scoped: accept edits and keep commands asked. You review the diff at the end with git diff, and nothing runs that you did not see.
  • A long, routine task: the mode where something else decides, on a branch you can throw away. How to undo what a coding agent changed covers the git side.
  • Nothing asks: only in a container or a VM you would delete.

FAQ

What is plan mode in a coding agent?

A mode in which the agent investigates without changing anything and proposes a plan for you to approve. Claude Code's plan mode reads files and runs read-only shell commands, Gemini CLI calls its plan mode a read-only environment, and Clixad removes the editing and command tools from what the model is offered until you approve the plan.

Is YOLO mode safe?

Not on a machine that holds anything you care about. A mode that asks for nothing lets the agent run any command it decides on. Anthropic's advice for Claude Code's equivalent mode is to use it only in isolated environments like containers or VMs, and that holds for every agent.

How do I switch permission modes?

In Claude Code, Gemini CLI and Clixad, Shift+Tab cycles through the modes. In Codex, type /permissions in the CLI. Gemini CLI's mode that approves everything is enabled from the command line with --yolo.

Does auto mode cost more?

In Clixad it can: an action the local rules cannot sort is checked by one short call to the model you are using, and that call is billed like any other and counted in the turn. Ordinary commands and the refused ones need no call.

Sources

  1. Anthropic, Choose a permission mode, for the modes, "press Shift+Tab to cycle permission modes", the plan mode sentence, "a second model, the classifier, reviews actions instead of you." and the starting mode from v2.1.283. Read 2 December 2026.
  2. Anthropic, Configure permissions, for the default, acceptEdits, dontAsk and bypassPermissions descriptions and "Only use this mode in isolated environments like containers or VMs where Claude Code can't cause damage." Read 2 December 2026.
  3. OpenAI, Codex permissions, for the four options and "In the CLI, enter /permissions." Read 2 December 2026.
  4. Google, Gemini CLI settings, for the approval modes and "YOLO mode (auto-approve all actions) can only be enabled via command line". Google, Plan Mode, for "Plan Mode is a read-only environment for architecting robust solutions before implementation." Google, Keyboard shortcuts, for the Shift+Tab cycle. Google, Gemini CLI documentation, for "Gemini CLI was replaced by Antigravity CLI on June 18th, 2026." All read 2 December 2026.
  5. Clixad's modes, the plan dialog's keys, the paths auto mode asks about and the commands it refuses: the source of the command line tool at github.com/clixad/cli, and our permission modes page.