with one click
safe-delete
Intercept all delete operations and use `trash` (ali-rantakari) instead of `rm`. ALWAYS use `trash` instead of `rm` when deleting files or directories. Files moved to trash can be recovered from ~/.Trash/ RULES: - `rm -rf PATH` → `trash PATH` (no -rf needed, trash handles dirs) - `rm PATH` → `trash PATH` - `rm -f PATH` → `trash PATH` - NEVER use raw `rm` command in exec - The only exception is `/tmp/` cleanup where trash is unnecessary trash is installed at /opt/homebrew/bin/trash (ali-rantakari version). It moves files to macOS ~/.Trash/ (recoverable). NOTE: OpenClaw exec does NOT source .zshrc, so shell aliases (safeshell wrap rm) are NOT available. You must explicitly use `trash` in all exec commands.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.