# @kazani: One line in a repo switched off my AI safety hooks in Claude Code Source: https://farcaster.xyz/kazani/0x18b386d8 Kiwi News: https://news.kiwistand.com/stories/kazani-One-line-in-a-repo-switched-off-my-AI-safety-hooks-in-Claude-Code?index=0x6b056a0aae3cb2855b17baa0fde408c150972d5c01be85b96947645951eb1a22e8073c6c Submitted by 0xkazani.eth on 2026-11-24 UTC, 1 upvote, 0 comments One line in a repo switched off my AI safety hooks, and Claude Code never asked me again I run Claude Code with safety hooks. They are small scripts that check every action before it happens. One blocks the agent from reading secret files like .env. One stops deletes outside the project. One blocks force-pushes. I wrote them so that a bad instruction can't talk the agent past them.