Engineering Heresy

Engineering Heresy

How a 30-Line Shell Hook Cut My Claude Code Permission Prompts by 95%

Glenn Eggleton's avatar
Glenn Eggleton
May 15, 2026
∙ Paid

Forty-three Claude Code permission prompts in one work session. Then I added thirty lines of bash to .claude/hooks/block-bad-bash.sh. The next session: one prompt. Same project. Same kind of work. Same allowlist — I didn’t touch it.

The lesson is not that Claude Code permission prompts are over-cautious. They are a shape-mismatch problem between what the…

User's avatar

Continue reading this post for free, courtesy of Glenn Eggleton.

Or purchase a paid subscription.
© 2026 Glenn Eggleton · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture