Hacker News new | ask | show | jobs
by Jcampuzano2 77 days ago
Maybe stop using the CLAUDE.md to prevent it from running tools you don't want it to and just setup a hook for pretooluse that blocks any command you don't want.

Its trivial to setup and you could literally ask claude to do it for you and never have any of these issues ever again.

Any and all "I don't want it to ever run this command" issues are just skill issues.

1 comments

How that stops Claude from removing hook and then running command anyway?