How Can I Automatically Accept 'Do You Want to Proceed' Prompts in Claude Code?
Asked by
jUst Visiting
I'm trying to figure out how to automatically bypass the "Do you want to proceed" confirmation in Claude Code. While I know there's no official feature for this yet, I'm interested in hearing about any workarounds that others have found. I understand the discussions around whether you *should* auto-accept are important, but I'm focused on the *how*โwhat have people tried to get this done?
Answers
Iโve found that sometimes it helps to ask Claude to set a persistent to-do that reminds it to keep moving forward, especially when it seems to want to pause. It helps to outline a workflow where it has to add todos for concrete tasks as it goes along. That said, it can still be hit or miss when context gets complex.
Reply to this answer
Just go for full YOLO mode!
Reply to this answer
Setting up a dev container could really help with this. Think of it like a Docker VM that only mounts your project directory. That way, if something goes wrong outside that directory, at most you just face some minor inconvenience instead of major issues. Also, don't forget to push your changes regularly to GitHub or any version control service you're using. Youโll still want to use the `--dangerously-skip-permissions` option for Claude Code, though! There's a VSCode extension that can help simplify this setup.
Reply to this answer
You can use the command `claude --dangerously-skip-permissions` to skip those permission prompts for smoother operation. If you're looking for more details, check out the official documentation on this.
3m_depth: Oh, I was searching for some setting in the interactive session! Didnโt realize there was a command for this. Thanks!
R.e.s.t: But it still stops for checkpoints, right? Any other solutions?
Reply to this answer
Add your answer
Answers are reviewed before publication.
chess.pawn.structure: Docker sounds complicated... Couldnโt you just define the working directory in CLAUDE.md and specify forbidden directories?
5 coastal lookouts: I appreciate the input, but I mentioned Iโm not looking for the moral debate about whether I should do this, just the practical how-to!