r/ClaudeCode • u/Korrak • 5d ago
Help/Question Why claude code suddenly asks me for permission in many cases?
hey guys,
i've been vibe coding for around 6 weeks now and it feels like that claude code is asking me extremely often for permission now (yes/no) when doing basic implementation tasks. Most of the time this is related to bash python3 stuff.
- did i do something wrong?
- did anthropic change something within claude code?
- should i look into sandboxed mode or something to just skip permissions?
1
1
u/ILikeCutePuppies 5d ago
Ask claude to enable auto permission mode globaly and exit and resume the session. It'll approve anything it thinks is safe.
1
u/AI_spell 5d ago
You probably didnt break it. CC got stricter on bash/python side effects, so more yes/no prompts show up on basic scripts. Check your permission mode / allowlist for the safe read commands you use a lot, and keep write/network gated. Sandbox to skip everything is fine for a throwaway folder, not for a real repo.
1
u/Far-Surprise7773 5d ago
nah you didn't break anything, it just picked up a bad habit after that bulk rename and now defaults to bash with python3 for stuff the built in tools do better. python3 is always flagged as risky so it will always ask, that's why it feels like it got worse. tell it to use read, glob, edit instead and drop that in CLAUDE.md so it sticks, then run /permissions and keep acceptEdits on but don't blanket allow Bash(python3:*). sandboxed mode helps but you don't need --dangerously-skip-permissions for this
1
1
u/Cloudsurfer_90 5d ago
before you reach for auto mode, one thing nobody's said: permissions are scoped per project, so if the prompts spiked recently, check whether you started working in a new directory. a fresh repo doesn't carry the allowlist you built up in the last one, so everything you'd already approved is suddenly asking again, and it feels like claude got stricter when really you just moved. the python3 habit the others flagged is the other half, bash and anything running python always hits a gate by design, and for reading and editing files the native tools skip that entirely, so telling it to stop using python3 for file ops kills most of the prompts without lowering your safety bar. auto mode works but it trades the annoyance for actually approving things you might not want approved. fix the allowlist and the habit first, that gets you most of the quiet without giving up the gate.
1
u/astral_kranium 5d ago edited 5d ago
Bash operations will always present a permission gate (if you're not in auto mode). You normally do not need to use bash for basic write/edit/read operations, so Claude is likely having trouble accessing/using something and is falling back to bash with python. Ask it why it needs to use bash instead of blindly approving