Skip to content

feat: default to auto mode for Claude Code#16

Open
charlesclaw wants to merge 1 commit intomainfrom
feat/auto-mode-default
Open

feat: default to auto mode for Claude Code#16
charlesclaw wants to merge 1 commit intomainfrom
feat/auto-mode-default

Conversation

@charlesclaw
Copy link
Copy Markdown
Collaborator

What

Changes the default agent permission mode from interactive to auto.

Auto mode uses Claude Code's new --enable-auto-mode flag (announcement), which lets Claude make routine permission decisions autonomously while a classifier blocks potentially destructive actions. This is a safer middle ground between interactive (ask for everything) and --dangerously-skip-permissions.

Permission modes

Mode Claude Codex / Gemini Flag
auto (new default) --enable-auto-mode plain (no flags) (none)
yolo --dangerously-skip-permissions --yolo -yolo
interactive plain (ask everything) plain (ask everything) -i / --interactive

Changes

  • lib/agent.shcommand_string and launch now accept auto/yolo/interactive instead of a boolean
  • lib/commands.sh — adds -i/--interactive flag, resolves mode from flag > config > default (auto)
  • lib/config.sh — default agent-mode changed from interactive to auto
  • lib/help.sh — updated help text for all affected commands
  • README.md — updated docs

Note

Auto mode is currently available as a research preview on Claude Team plan, rolling out to Enterprise and API soon. For Codex and Gemini, auto mode behaves the same as interactive since they don't have an equivalent feature yet.

Changes the default agent permission mode from interactive to auto.

Auto mode uses Claude Code's new --enable-auto-mode flag, which lets
Claude make routine permission decisions autonomously while a classifier
blocks potentially destructive actions. This is a safer middle ground
between interactive (ask for everything) and --dangerously-skip-permissions.

Permission modes:
- auto (new default): Claude uses --enable-auto-mode, Codex/Gemini run plain
- yolo: Claude uses --dangerously-skip-permissions, Codex/Gemini use --yolo
- interactive: all agents ask for every permission (old default)

New flag: -i/--interactive to override auto mode for a single run.
Config: lwt config set agent-mode auto|yolo|interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant