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

I've found Claude Code's built-in sandbox to strike a good balance between safety and autonomy on macOS. I think it's available on Windows via WSL2 (if you're looking for a middle ground between approving everything manually and --dangerously-skip-permissions)


Use yoloAI and you get the full benefit of --dangerously-skip-permissions with none of the risks.

https://github.com/kstenerud/yoloai

Every time I use a bare Claude session (even with /sandbox) without using yoloai, it feels like using a browser without an ad blocker.


Still waiting for progress from the team trying to get WSL approved for use at our org. We get a "still working through the red tape" update every couple months.


You don't need WSL to run Claude code on windows.


True, it works fine in an ordinary DOS box or in PowerShell, but you have to use WSL2 if you want a sandbox.


Where can I find out more information about sandboxing Claude and other agents?


TBH, you could do worse than to simply ask Claude.


> using windows


Sometimes having a good kernel matters more than having a good userspace.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: