| Permission | Behavior |
|---|---|
allow | Runs automatically, no prompt |
ask | Prompts for approval before running (TUI only) |
exclude | Hidden from the agent entirely |
Defaults
Read-only tools (Read, List, Search, Fetch, Diff) default to allow. Write tools (Edit, MultiEdit, Write) and Bash default to ask. In headless mode, ask tools are excluded since there’s no one to approve them.
Overriding with flags
Use--allow, --ask, and --exclude to override defaults at launch:
Tool matching patterns
Flags accept tool matching patterns:Write— matches any call to theWritetoolWrite(*)— same as aboveWrite(**/*.ts)— matchesWritecalls where the primary argument matches the glob**/*.ts
permissions.yaml
Persistent permissions are stored in ~/.continue/permissions.yaml. This file is updated when you choose “Continue + don’t ask again” in the TUI approval prompt.
Precedence
When multiple sources define a permission for the same tool, the highest-priority source wins:- Mode policies —
--autoand--readonlyoverride everything (see below) - CLI flags —
--allow,--ask,--exclude permissions.yaml— persistent personal settings- Defaults — built-in policies
Modes
Modes are a shorthand for common permission sets. Switch modes withShift+Tab during a TUI session, or set them at launch:
| Mode | Effect |
|---|---|
| normal (default) | Uses configured permissions |
plan (--readonly) | Excludes all write tools, allows reads and Bash |
auto (--auto) | Allows everything — *: allow |
--allow, --exclude, and permissions.yaml entirely.