RM - File Removal Utility for Openclaw

A robust CLI utility for permanent file and directory deletion and filesystem cleanup.

dinghaibin
v1.0.0
May 2, 2026
0
579
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rm-tool

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rm-tool using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is RM - File Removal Utility?

The rm-tool is an essential utility within the Openclaw Skills ecosystem designed for managing disk space and cleaning up development environments. It provides developers and automated agents with the ability to remove files and entire directory structures permanently from the filesystem.

This utility is a core component for maintaining a clean workspace, offering features like recursive removal and interactive prompts to prevent accidental data loss. Integrating this into your Openclaw Skills workflow ensures high efficiency and precision in automated filesystem management tasks.

RM - File Removal Utility Use Cases

  • Deleting temporary log files or build artifacts during CI/CD processes.
  • Cleaning up workspace directories after a project migration or repository sync.
  • Forcing the removal of read-only files using the force flag in automated scripts.
  • Interactive deletion of specific file patterns to ensure data safety.

How RM - File Removal Utility Works

  1. The user or agent specifies the target file or directory paths as arguments to the tool.
  2. Optional flags such as -r for recursive directories or -f to bypass errors are applied.
  3. The skill validates the target paths within the Openclaw Skills environment constraints.
  4. If interactive mode is enabled, the tool waits for a manual confirmation signal.
  5. The tool executes the filesystem removal operation and returns a status report to the requester.

RM - File Removal Utility Setup

To begin using this tool, ensure it is enabled in your environment. You can verify the installation by checking the help documentation:

rm-tool --help

RM - File Removal Utility Data Schema & Taxonomy

Argument/Flag Type Description
target string The specific file or directory path to be removed
-r flag Enables recursive deletion for non-empty directories
-f flag Force removal; ignores non-existent files and never prompts
-i flag Interactive mode; prompts for confirmation before each removal
-v flag Verbose output; lists every file as it is being removed

RM - File Removal Utility Advanced Features

  • Deep recursive deletion capabilities for cleaning up nested project structures.
  • Force removal mode optimized for non-interactive automation and cleanup scripts.
  • Verbose logging for auditing filesystem changes during automated workflows.
  • Batch processing support through wildcard and multiple target arguments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*