safety-hooks
New1.4kCommunity RegistryGeneralby Prasad Chalasani
Provides safety guards to block or require confirmation for risky CLI operations (e.g., rm, destructive git actions, .env access, large file operations)
Install & Usage
1
Create the skills directory
mkdir -p .claude/skills2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/safety-hooks.md https://raw.githubusercontent.com/pchalasani/claude-code-tools/main/SKILL.md3
Invoke in Claude Code
/safety-hooksView source on GitHub
Frequently Asked Questions
What is safety-hooks?
Provides safety guards to block or require confirmation for risky CLI operations (e.g., rm, destructive git actions, .env access, large file operations)
How to install safety-hooks?
To install safety-hooks, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /safety-hooks.
What is safety-hooks best for?
safety-hooks is a community categorized under General. Created by Prasad Chalasani.