Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It sends a flag that dangerously allows Claude to just do whatever it wants and only give us the final answer. It doesn't do the back-and-forth or ask questions.


The `--dangerously-skip-permissions` flag (a.k.a. "YOLO mode") does do the back-and-forth and asks questions, so this is a bit more than that.


Yes. I did not look but most probably the non interactive mode flag is used (-p)


It does `claude -p "This is the prompt" --dangerously-skip-permissions --output-format json`


Oh! TIL, thank you.


Iteratively working is a MUST for more than trivial fixes. This continuous loop could work for trivial refactorings / maintenance tasks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: