safe-file-deletion

Require explicit user permission before deleting files via CLI or scripts.

16|5|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/Xaiver03/openwork-cn --skill safe-file-deletion-xaiver03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-file-deletion
Source: https://github.com/Xaiver03/openwork-cn/tree/main/apps/desktop/skills/safe-file-deletion
Command: npx skills add https://github.com/Xaiver03/openwork-cn --skill safe-file-deletion-xaiver03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces explicit user permission before deleting any file, preventing accidental data loss by requiring a confirmation step.

Core Features & Use Cases

  • Enforces a permission check before delete operations across CLI and scripts.
  • Supports both single and batched deletions via a unified request (operation: "delete" with filePath or filePaths).
  • Provides a clear denial path to abort the delete without changing files.

Quick Start

Before performing a delete, invoke request_file_permission with operation: "delete" and supply either filePath or filePaths. Wait for the response; if allowed, proceed; if denied, abort deletion.