File Manager AI Skill for Openclaw

A cross-platform file management utility for AI agents that provides secure cleanup, document organization, and incremental backups with full rollback capabilities.

yy756127197
v2.0.3
Apr 3, 2026
1
916
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install super-file-manager

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 super-file-manager 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 File Manager AI Skill?

The File Manager skill is a professional-grade toolset designed for AI agents to perform complex file system operations across macOS, Linux, and Windows. By utilizing Python 3.6 and standard libraries, it offers a unified interface for system maintenance while prioritizing data integrity. This skill is a core component of the Openclaw Skills library, enabling developers to build agents that can safely declutter drives, categorize disorganized project files, and maintain synchronized backups without manual intervention.

File Manager AI Skill Use Cases

  • Identifying and removing large, obsolete installers and temporary cache files to reclaim disk space.
  • Categorizing messy download directories into structured folders based on file types, projects, or dates.
  • Finding and trashing redundant files using content-based SHA-256 duplicate detection.
  • Setting up automated incremental backups for critical project folders to prevent data loss.
  • Reverting complex file movement or deletion operations using the built-in operation logging and rollback system.

How File Manager AI Skill Works

  1. The AI agent analyzes the user request and determines the appropriate module, such as junk scanning or duplicate detection.
  2. A read-only script is executed to scan the target directory and generate a structured preview of proposed changes.
  3. The agent presents the preview to the user, who must explicitly confirm the actions (e.g., selecting specific file numbers to delete).
  4. Once confirmed, the skill executes the operations in small batches using a logging wrapper to ensure every move or deletion is traceable.
  5. The skill provides a final report with the operation status and a one-click command string to trigger a rollback if any errors occurred.

File Manager AI Skill Setup

To integrate this skill into your environment, ensure you have Python 3.6+ installed and then set up the cross-platform trash dependency:

pip install send2trash

No further system-level scripts are required as the skill utilizes native OS commands and Python's standard library to maintain a lightweight footprint within Openclaw Skills implementations.

File Manager AI Skill Data Schema & Taxonomy

The skill maintains high auditability by logging every transaction in a JSON Lines (JSONL) format. Metadata is stored in platform-specific cache directories:

Feature Details
Log Format JSONL containing action, source, dest, timestamp, and status
macOS Logs ~/Library/Caches/file_manager/logs/
Linux Logs ~/.cache/file_manager/logs/
Windows Logs %LOCALAPPDATA%/file_manager/logs/
Backup Structure [Target]/[Date]/[Original_Path]

File Manager AI Skill Advanced Features

  • Content-based hashing (SHA-256) for duplicate detection to ensure accuracy even if filenames differ.
  • Multi-platform safety whitelist that prevents recursive operations on system directories like /System or AppData.
  • Incremental sync logic that only copies files with updated modification timestamps during backups.
  • Smart directory pruning that automatically removes empty parent folders after a rollback or file migration.
  • Batch processing constraints that limit operations to 10 files per cycle to ensure user oversight and safety.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*