points by kay_o 7 hours ago | 0 comments
For some reason claude code hates using the read/write/grep tools and defaults to complex sed, awk, grep Bash:* runs which results in always consistently ignoring auto mode due to the classifier not knowing what to do with a 10-line long bash pipe instead of a read + pre/post read and write hooks being ignored and not firing, what is up with that?
[–] dcrazy 6 hours ago
I use a hook to deny attempts to invoke `grep /` and `find /`, even as part of a complex pipeline.
[–] awfulneutral 6 hours ago
I had claude write a hook to deny `find /`. It tested it thoroughly. Much later I learned that the hook denied `find /` but allowed everything else that existing permissions denied, like running whatever random python/bash code it wanted without asking.
[–] awfulneutral 6 hours ago
[–] kay_o 6 hours ago
As I was reading your post I got another approval request that auto-mode did not understand. It was a single Bash call !!23!! lines tall on a retina mac display with six different variables. If anything this is the cause of approval fatigue and auto mode does nothing helpful when this is every call. I also have in my claude.md and global instructions to use tool calls rather than bash grep/cat/find, which are disregarded.
[–] awfulneutral 5 hours ago
[–] kay_o 4 hours ago