safe-rm

Community

Prevent shell breaks with safe rm practices.

Authorcowwoc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill prevents shell session breakage by verifying the working directory before rm -rf operations and guiding safe deletion practices.

Core Features & Use Cases

  • Pre-delete checklist: Ensures the current directory is safe before any rm -rf or rm -r command.
  • Safe patterns: Provides safe usage patterns like changing to a parent directory or using absolute paths after confirming pwd.
  • Recovery guidance: Clear steps if a shell session breaks and how to minimize risk during automated tasks.

Quick Start

Before running any delete, review the checklist and execute commands in the safe order:

  • Check current directory with pwd
  • Ensure you are not inside the target directory
  • Change directory if needed
  • Run rm -rf with full path or after safe cd

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: safe-rm
Download link: https://github.com/cowwoc/cat/archive/main.zip#safe-rm

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.