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

name: block-dangerous-rm enabled: true event: bash pattern: rm\s+-rf

action: block

⚠️ Dangerous rm command detected!

This command could delete important files. Please:

  • Verify the path is correct
  • Consider using a safer approach
  • Make sure you have backups