Settings

Theme

Claude Code auto mode: a safer way to skip permissions

anthropic.com

8 points by healsdata a day ago · 5 comments

Reader

kstenerud a day ago

That's a bit better, but the subtleties of even the basic shell commands is enough that you still need to be conservative. Plus there's still the issue of the approve/deny mechanism being part of the agent process, and thus subvertable by the agent.

I took a different approach with https://github.com/kstenerud/yoloai

- The agent is put entirely in a container or VM sandbox (docker, podman, gvisor, kata, seatbelt, tart)

- The agent safely runs with --dangerously-skip-permissions because it can't touch your files or system directly. You can even restrict its network access.

- You review the results of its work using "yoloai diff mysandbox"

- You selectively apply the results of its work using "yoloai apply mysandbox". Commits it makes are available to cherry pick or just accept whole.

niobe a day ago

A workaround for their own badly thought out permissions system? More likely another internal fix they decided to release.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection