safe-file-deletion

Before deleting ANY file, you MUST:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "safe-file-deletion" with this command: npx skills add accomplish-ai/accomplish/accomplish-ai-accomplish-safe-file-deletion

Safe File Deletion

Rule

Before deleting ANY file, you MUST:

  • Call request_file_permission with operation: "delete"

  • For multiple files, use filePaths array (not multiple calls)

  • Wait for response

  • Only proceed if "allowed"

  • If "denied", acknowledge and do NOT delete

Applies To

  • rm commands (single or multiple files)

  • rm -rf (directories)

  • unlink , fs.rm , fs.rmdir

  • Any script or tool that deletes files

Examples

Single 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"] }

No Workarounds

Never bypass deletion warnings by:

  • Emptying files instead of deleting

  • Moving to hidden/temp locations

  • Using obscure commands

The user will see a prominent warning. Wait for explicit approval.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

google-workspace

No summary provided by upstream source.

Repository SourceNeeds Review
General

ask-user-question

No summary provided by upstream source.

Repository SourceNeeds Review
General

google-sheets

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review

No summary provided by upstream source.

Repository SourceNeeds Review