Original Reddit post

Any time I use plan mode, even if I include ‘this is an empty directory, do not waste time exploring’ in my prompt for a new project scenario, Claude Code will attempt to do insanely broad ls and grep commands all the way up the folder chain. I have about 109285091285 different projects that are completely unrelated and not needed for this project. If I wanted it to look at those, and I would add them to my workspace before sending the prompt. So I get to sit there denying its bash commands trying to read these irrelevant folders and scripts, with no blanket way of denying it that I would want to persist beyond that single plan phase. Giving it text feedback in the command rejection doesn’t seem to matter either, just keeps hammering me with approval requests, probably because its got parallel agents that are all exhibiting this same behavior. This morning I had to deny 40 tool calls on a single prompt, it’s completely ridiculous. the only solution to this i can think of would be to have every new project in the drive root, which seems incredibly frustrating. is there a reliable way to get Claude Code to stop doing this annoying behavior? submitted by /u/Imaginary_Belt4976

Originally posted by u/Imaginary_Belt4976 on r/ClaudeCode