safe-file-deletion

Require explicit user confirmation before deleting files or directories.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/thilak0105/Neoverse-26 --skill safe-file-deletion-thilak0105
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-file-deletion
Source: https://github.com/thilak0105/Neoverse-26/tree/main/packages/agent-core/mcp-tools/safe-file-deletion
Command: npx skills add https://github.com/thilak0105/Neoverse-26 --skill safe-file-deletion-thilak0105

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents accidental or unauthorized deletion of files and directories by requiring explicit user confirmation before any removal operation.

Core Features & Use Cases

  • Mandatory Confirmation: Ensures no file is deleted without user consent.
  • Batch Deletion Support: Handles requests to delete multiple files simultaneously.
  • Use Case: When the system needs to delete temporary log files or old user data, this skill will prompt the user for approval, preventing accidental data loss.

Quick Start

Use the safe-file-deletion skill to request permission to delete the file at '/home/user/old_data.txt'.

Frequently Asked Questions about safe-file-deletion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I require user confirmation before executing file deletion operations?

To require user confirmation for file deletion, you need a mechanism that intercepts removal commands and prompts for explicit permission. This ensures no file is deleted without user consent, preventing accidental data loss during single or batch operations.

Can I enforce a permission check for batch deletions using file path arrays?

Yes, you can enforce a permission check for batch deletions using file path arrays. The system intercepts the batch removal request and requires an explicit allowed or denied confirmation response before proceeding with any disk operations on the provided files.

What is the safest way to prevent accidental data loss when removing directories?

The safest way to prevent accidental data loss when removing directories is to enforce explicit user permission before any removal operation. This requires a confirmation response indicating allowed or denied before executing directory removal commands like rm or fs.rm.

Does this file deletion protection work with standard unlink and fs.rm commands?

Yes, this file deletion protection works with standard unlink and fs.rm commands. It intercepts these removal commands to mandate explicit user confirmation, ensuring no directory or single file is removed from the disk without receiving an allowed response.

Why do I need explicit confirmation for automated temporary log file removal?

You need explicit confirmation for automated temporary log file removal to prevent unauthorized or accidental deletion of data. Requiring user approval before proceeding with disk operations ensures that only intended files are deleted and critical data remains protected.