ls-safety-and-backup

Enforce backups and confirmations before destructive system operations.

3|2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/CruxExperts/localsetup --skill ls-safety-and-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ls-safety-and-backup
Source: https://github.com/CruxExperts/localsetup/tree/main/_localsetup/skills/ls-safety-and-backup
Command: npx skills add https://github.com/CruxExperts/localsetup --skill ls-safety-and-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Conservative safety for system operations is enforced, preventing risky actions by requiring explicit confirmation and automatic backups before changes.

Core Features & Use Cases

  • Conservative safety checks with explicit confirmations for dangerous operations.
  • Automatic backups before editing sensitive files and safe rollback support.
  • Temporary file management and controlled firewall configuration.

Quick Start

Start a safety-first session and back up critical config files before applying any changes.

Frequently Asked Questions about ls-safety-and-backup

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

FAQPage Schema
How do I automatically back up config files before applying system changes?

To safely apply config changes, you use a safety checker that enforces explicit confirmations and creates automatic file backups before executing destructive operations or modifications within your repo-local environment.

How does rollback-ready system change management work for destructive operations?

Rollback-ready system change management enforces explicit confirmation for destructive operations, creates automatic file backups before execution, and provides restore functions to revert state safely if an operation fails.

Do I need a specific shell library to enforce safety checks for system operations?

Yes, enforcing safety checks for system operations requires integrating with lib/safety_checker.sh for command execution confirmations and lib/backup_manager.sh to handle state safety and backup restoration.

Can I manage temporary files and firewall adjustments within a repo-local environment?

You can manage temporary files and scoped firewall adjustments within a repo-local environment by utilizing the safety enforcement modules that confirm operations before applying changes to your local system configuration.

What is the best way to prevent risky actions when modifying sensitive system files?

The best way to prevent risky actions when modifying sensitive system files is to enforce conservative safety checks that require explicit confirmation and create automatic backups before any changes are applied.