Enforces explicit user permission before any file deletion. Activates when you're about to use rm, unlink, fs.rm, or any operation that removes files from disk. MUST be followed for all delete operations.
75
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Before deleting ANY file, you MUST:
request_file_permission with operation: "delete"filePaths array (not multiple calls)rm commands (single or multiple files)rm -rf (directories)unlink, fs.rm, fs.rmdirSingle file:
{
"operation": "delete",
"filePath": "/path/to/file.txt"
}Multiple files (batched into one prompt):
{
"operation": "delete",
"filePaths": ["/path/to/file1.txt", "/path/to/file2.txt"]
}Never bypass deletion warnings by:
The user will see a prominent warning. Wait for explicit approval.
2cf74d0
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.