MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
CLI Utilities
🗄️

File Management

Safe filesystem operations using built-in Unix and macOS tools — list, search, organize, rename, move, copy, and delete files with a safety-first approach.

tyronecohv1.0.0
Connecting to VM...
Connecting to VM...
npx clawhub@latest install file-management
984Downloads
3Current Installs
2All-time Installs
📦
v1.0.0Version
View Source

File Management Skill Overview

The File Management skill gives your AI assistant safe, reliable control over your local filesystem using only pre-installed Unix and macOS tools. No external dependencies, no network access — just powerful file operations with a built-in safety model that always confirms destructive actions before executing them.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install file-management
or

Click the Install button at the top of this page for one-click setup

When to Use File Management

Best Fit

  • You need to list, search, or inspect files and directories on your local machine.
  • You want to batch rename, move, copy, or organize files without manually typing shell commands.
  • You need to analyze disk usage and find large or old files consuming space.
  • You want to safely delete files on macOS using trash (recoverable) rather than permanent rm.

When Not to Use

  • You need to manage files on a remote server or cloud storage — this skill operates on the local filesystem only.
  • You require a GUI-based file manager experience; this skill works through shell commands.
  • You are on a Windows system without a Unix-compatible shell environment.

Key Features

Safety-First Permission Model

Read-only operations like ls, find, grep, cat, du, and stat are executed immediately. Write and destructive operations — mv, cp, rm, mkdir — always require explicit confirmation before running.

File Search by Name, Size, or Content

Search files using find with filters for name patterns, file size, and modification date. Use grep to search inside file contents recursively across entire directory trees.

Disk Usage Analysis

Analyze how space is distributed across directories using du, sort subdirectories by size, and surface the largest files on your system.

Batch Rename & Organize

Rename groups of files at once using pure bash loops — swap file extensions, replace spaces with underscores, or apply consistent naming conventions across a directory.

Archive & Compress

Create and extract tar.gz and .zip archives using built-in system tools — no third-party software required.

macOS-Specific Utilities

Use trash for recoverable deletions instead of permanent rm, query Spotlight metadata with mdls, and interact with the clipboard via pbcopy and pbpaste.

Use Cases

Cleaning Up a Downloads Folder

List all files, filter by type or size, then safely move or trash unneeded items — with confirmation before any file is touched.

Finding Large Files on Disk

Run a disk usage breakdown across directories to identify the biggest files and folders consuming space on your machine.

Batch Renaming Project Files

Rename dozens of files in one step — for example, converting all .txt files to .md or replacing spaces with underscores across a directory.

Searching a Codebase for Patterns

Use recursive grep to find TODOs, deprecated function calls, or any string pattern across an entire project directory, with line numbers and context.

Requirements

  • Operating System — macOS or any Unix/Linux system (all core tools are pre-installed)
  • Optional tools — tree, rg (ripgrep), fd, dust, bat can be installed via Homebrew for enhanced output but are not required
  • No API keys, accounts, or network access needed
Connecting to VM...
npx clawhub@latest install file-management
984Downloads
3Current Installs
2All-time Installs
📦
v1.0.0Version
View Source

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!