
file-manager
PopularFile management skill for creating, moving, copying, and deleting files and folders, as well as organizing directory structures. Use when managing files, organizing folders, or performing batch file processing.
1.5Kstars
165forks
Updated 8/11/2026
Related Skills
SKILL.md
read-only
name
file-manager
description
File management skill for creating, moving, copying, and deleting files and folders, as well as organizing directory structures. Use when managing files, organizing folders, or performing batch file processing.
version
1.0.0
File Management Skill
This skill provides file and folder management capabilities.
Core Features
1. File Operations
- Create files
- Copy/move files
- Rename files
- Delete files
2. Folder Operations
- Create folders
- List directory contents
- Delete folders (recursive)
- Copy folders
3. Batch Processing
- Classify by type
- Batch rename
- Find duplicate files
- Organize Downloads folder
Security Rules
Prohibited Operations
- System directories (/System, /usr, /bin, etc.)
- Files belonging to other users
- Deletion operations without explicit confirmation
Confirmation Required
- List items to be deleted before performing file deletion
- Prompt before overwriting existing files
- Display a preview before performing batch operations
Common Usage Examples
Organize Downloads Folder
# 1. Create category directories
mkdir -p ~/Downloads/{Documents,Images,Videos,Archives,Others}
# 2. Move files by extension
mv ~/Downloads/*.pdf ~/Downloads/Documents/
mv ~/Downloads/*.{jpg,png,gif} ~/Downloads/Images/
mv ~/Downloads/*.{mp4,mov,avi} ~/Downloads/Videos/
mv ~/Downloads/*.{zip,rar,7z} ~/Downloads/Archives/
Batch Rename
import os
from pathlib import Path
def batch_rename(directory, pattern, replacement):
for file in Path(directory).iterdir():
if pattern in file.name:
new_name = file.name.replace(pattern, replacement)
file.rename(file.parent / new_name)
Output Format
Display preview before execution:
About to perform the following operations:
- Move 15 PDF files to Documents/
- Move 23 image files to Images/
- Skip 3 files of unknown type
Confirm execution?
Display results after execution:
✓ Operation completed
- Moved: 38 files
- Skipped: 3 files
- Errors: 0





