To fix that but still keep the friendly developer experience of just typing a single command in the folder I want to work on, I wrote a simple script that allows one to run "claude-vm" anywhere, with the local folder mounted but a fully isolated VM.
As bonuses, I added Chrome MCP, Docker, and an easy way to customize the base VM or its folder-specific runtime copy.
It's not much, but it's been pretty valuable to me so I may as well share it! Feedbacks welcome.