omarchy-agent launches claude with --permission-mode auto instead of a true bypass
What happened
The agent keybinding (SUPER+SHIFT+CTRL+A, omarchy-agent --pick) no longer opens Claude Code with full bypass permissions.
In /usr/share/omarchy/bin/omarchy-agent, the per-agent command table sets:
claude)
command=(claude --permission-mode auto)
...
auto is a real Claude Code permission mode, but it is not a full bypass — it still prompts for at least some actions. Every other agent in the same table gets a genuine "never ask" flag, matching the script's own comment above the table ("each one starts with its own spelling of 'don't stop to ask'"):
| agent | flag |
|---|---|
| opencode | --auto |
| gemini | --yolo |
| copilot | --allow-all |
| crush | --yolo |
| claude | --permission-mode auto |
| grok | --permission-mode bypassPermissions |
| codex | --approve-for-me |
| omp | --auto-approve |
claude is the odd one out — it doesn't fully bypass permission prompts the way every sibling entry does. Given the comment's stated intent, and that grok's own launch already uses --permission-mode bypassPermissions, this looks like auto should be bypassPermissions for claude too (or claude --dangerously-skip-permissions).
What was expected
The Claude entry in omarchy-agent should launch with full bypass, consistent with every other agent in that table and the script's stated design intent.
Steps to reproduce
omarchy default agent claude- Press
SUPER+SHIFT+CTRL+A(or runomarchy-agent) - Observe Claude Code launches with
--permission-mode auto, not a full bypass
System details
- Omarchy version: 4.0.1-1
- File:
/usr/share/omarchy/bin/omarchy-agent
This seems to be a deliberate choice. It was changed from bypassPermissions to auto about two weeks ago: https://github.com/basecamp/omarchy/commit/dd9dee417f53a77487d93cfa21925bbc854ab104
Proposed fix: change the Claude launch in omarchy-agent from --permission-mode auto to --permission-mode bypassPermissions, matching grok in the same table and the script's "don't stop to ask" comment. Tests updated to match.
Will open a small PR against quattro.
FYI — while looking at a different issue in this same code path (see #14301), I tested whether switching Claude's launch from --permission-mode auto to bypassPermissions (this issue's proposed fix) changes anything about its handling of attacker-controlled data reaching its prompt via omarchy-agent-crash. Ran the same injection payload under both modes — identical result (resisted) either way. So from what I can tell, this fix doesn't introduce new risk on that front; just cross-referencing in case it's useful context for review.
I checked this against quattro at c352b62. --permission-mode auto is deliberate, so I haven't opened a fix.
- Claude moved from
bypassPermissionstoautoin #7001 (dd9dee4, "Launch claude and codex agents with auto-review instead of full bypass"), which shipped before 4.0.1. That pull request explains the choice: auto mode still runs without stopping to prompt, but it keeps automatic review in place of skipping approval altogether. - Claude isn't the only agent in the table without a full bypass. The same change moved Codex from
--dangerously-bypass-approvals-and-sandboxto--approve-for-me(bin/omarchy-agent:95), and Muse keeps its own sandbox (bin/omarchy-agent:114). Grok was deliberately left onbypassPermissions. - The
cxalias (default/bash/aliases:48) and the launcher tests intest/shell.d/default-agent-test.shboth expectautotoo. One thing is out of step: the comment above the table ("its own spelling of 'don't stop to ask'") and the tests'assert_bypassnaming still say "bypass" when some entries are now automatic review. That's probably what made this look like a mistake.
I didn't run anything on a worker. The flag is set in source on purpose, so there was nothing to reproduce. If Claude really stops and waits for a prompt in auto mode when launched this way, that's a separate problem. The output of claude --version and the exact action it prompted on would let someone look into it.
The issue still has its bug label, but what it asks for is a policy change. Going back to a full bypass is the maintainer's call, so this is waiting on them.
Codex (Medium) reviewed this separately. It agreed the flag is intentional, and it added the Muse sandbox entry and the misleading wording in the comment and test names. Independence isn't guaranteed.