HabibiCodeCH/claude-no-bash-detour
Claude Code PreToolUse hooks that deny Bash commands with a native tool equivalent (find/grep chains, sed -i, cat/head/tail) and redirect to Grep/Glob/Edit/Read
2 best points · 0 comments · 1 Hacker News post · 2 GitHub stars · View on GitHub
Hacker News discussions
- Claude Code hooks that block find/sed/cat, redirect to native tools (2 points, 0 comments, by habibicode, 2026-07-24)