A Claude Code hook blocks unbounded searches and full-file reads, then suggests safer commands to reduce context bloat and token usage.