Y
Hacker News
new
|
ask
|
show
|
jobs
by
decide1000
206 days ago
How does it handle questions asked by Claude?
1 comments
anandchowdhary
206 days ago
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.
link
CharlesW
206 days ago
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.
link
brumar
206 days ago
Yes. I did not look but most probably the non interactive mode flag is used (-p)
link
anandchowdhary
206 days ago
It does `claude -p "This is the prompt" --dangerously-skip-permissions --output-format json`
link
CharlesW
206 days ago
Oh! TIL, thank you.
link
stpedgwdgfhgdd
206 days ago
Iteratively working is a MUST for more than trivial fixes. This continuous loop could work for trivial refactorings / maintenance tasks.
link