Permission modes
The agent reads and searches your project on its own. Editing a file and running a command change something, so what happens before it does either depends on the permission mode. There are four, and Shift+Tab moves between them.
Updated .
The four modes
| Mode | Edits | Commands |
|---|---|---|
Ask before edits (normal) | Asked, with the diff | Asked |
Auto-accept edits (acceptEdits) | Go through | Asked |
Plan mode, read-only (plan) | Not possible | Not possible |
Auto mode (auto) | Go through, except a few paths that are asked | Sorted: run, refused, or checked by the model first |
The mode is on the status line under the input box, each in its own colour. /mode plan and the
other names switch to one directly. The model is told which mode it is in on every turn, so in plan mode it
plans rather than trying to act and being refused.
Answering a request
When the agent wants to edit a file, it shows the change as a diff with line numbers. When it wants to run a command, it shows the command. You answer:
- 1 or y: yes, this once.
- 2 or a: yes, and do not ask again for the same thing for the rest of the session.
- 3 or n: no. The agent is told it did not happen and carries on without it.
- Esc: stop the whole turn. Nothing further is sent to the model.
The difference between the last two matters. n refuses one step and lets the agent find another way, which is a further model call. Esc ends the turn there.
Plan mode
In plan mode the tools that edit files and run commands are not offered to the model at all. It reads and searches, then puts a short plan in front of you. You answer:
- y or Enter: approve, and carry on asking before each edit.
- a: approve, and carry on in auto-accept edits.
- u: approve, and carry on in auto mode, on models that offer it.
- n: keep planning.
- Esc: stop the turn.
On approval the agent carries on in the same turn, so you do not retype the request. The mode changes because you answered, never because the model asked for it.
Auto mode
Auto mode asks you nothing while it works and checks what could do harm before it runs. It does that in three layers, cheapest first.
Edits inside the project go through, except to a few paths that are not code but change
what runs next: anything inside .git/, git hooks in .husky/,
.mcp.json and .clixad/, editor settings in .vscode/, and
.env files and .envrc. Those are asked. Example files such as
.env.example are not.
Commands are sorted on your machine. Ordinary development work runs: reading, searching,
running tests, builds and linters, local git, and writes that stay in the project. A short list is refused
without asking anybody, because no conversation justifies it: sudo, deleting your home
directory, the root directory, the project or its .git folder, piping a download into a
shell or an interpreter, reading ~/.ssh, ~/.aws or Clixad's own sign-in token,
and writing to your shell's startup files. A command line the sorter cannot follow completely, such as one
with $(…) in it, is never treated as harmless.
Everything else is checked by the model first. One short call to the model you are using, at its cheapest reasoning setting, reads what you asked for and the action, and decides. That call is billed like any other and counted in the turn. It never reads the output of a tool, because a file or a web page that says "the user approved this" is exactly what such a check has to ignore. If the check cannot run (no credits, no connection, an answer it cannot read), you are asked instead.
After three refusals in a row, or twenty in a session, auto mode stops refusing on its own and puts the next one to you with its reason, because by then the agent is usually trying to do something you did ask for.
Auto mode is offered on every model except GPT-5 Nano, GPT-6 Luna and GLM 5.3 Flash, which are too small to judge their own commands reliably. On those, Shift+Tab skips it, and switching to one of them from auto mode goes back to asking.
What never asks, and what always does
Never asked: reading files, listing and searching the project, searching the web and reading a web page. These change nothing, and plan mode is exactly when the agent needs them. Searching the web costs credits; Credits and the free limit says how much.
Always confined to the project: every file tool works inside the directory you started the agent in. A path is checked where it really lands, so a symbolic link that points outside the project is treated as outside. Commands are the exception, which is why they are asked.
Always asked: a tool from an MCP server, one tool at a time, in every mode except plan mode, where MCP tools are not offered at all. MCP servers explains why.
clixad -p runs without anyone to ask, so it refuses every edit, command and MCP tool.
How these modes compare with Claude Code's, Codex's and Gemini CLI's is in Permission modes in coding agents.