It actually made auto mode useful.
If Claude Code is not working in WSL on Windows, check WSL distribution and Node.js. Additionally, reinstall Claude Code ...
I just needed to add one hook.