- name
- safe-delete
- description
- Stage deletions with
scripts/safe-delete(script-first, no MCP tool calls). Moves paths to/tmp/safe-deletewith collision-safe names. [skill-hash:71d8a0c]
Safe Delete
Use this skill whenever you need to remove files/directories without permanent deletion.
Required Path
- Run:
safe-delete <path...> - Do not call MCP safe-delete tools.
- Do not run raw
rmunless user explicitly asks for hard delete.
Behavior
- Creates
/tmp/safe-deleteif missing. - Moves each provided path to
/tmp/safe-delete/<name>-<timestamp>-<rand>. - Prints one mapping line per moved path.