spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / plugins / hookify / examples / dangerous-rm.local.md
14 lines · 278 BPreviewCodeRaw
1---
2name: block-dangerous-rm
3enabled: true
4event: bash
5pattern: rm\s+-rf
6action: block
7---
8
9⚠️ **Dangerous rm command detected!**
10
11This command could delete important files. Please:
12- Verify the path is correct
13- Consider using a safer approach
14- Make sure you have backups