File Restructurer
Organizes files into a logical directory structure, saving you time and frustration by improving your digital workspace.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add file-restructurer npx -- -y @trustedskills/file-restructurer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"file-restructurer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/file-restructurer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The file-restructurer skill reorganizes files within a directory based on user-defined rules. It can rename files, move them into subdirectories, and generally impose a new structure on existing file collections. This is useful for automating tedious organizational tasks or preparing data for analysis.
When to use it
- You have a folder containing many images with inconsistent filenames that need to be organized by date.
- A directory of documents needs to be split into subfolders based on project names extracted from the document titles.
- You want to automatically sort downloaded files (e.g., PDFs, spreadsheets) into categorized folders.
- You need to prepare a large dataset of text files for machine learning by restructuring them according to specific naming conventions.
Key capabilities
- File renaming based on patterns
- Directory creation and file movement
- Rule-based organization of files
- Support for various file types
Example prompts
- "Restructure the 'downloads' folder, moving all PDF files into a subfolder named 'Documents'."
- “Rename all image files in ‘images’ to include their capture date.”
- "Organize the 'reports' directory by project name found in each filename."
Tips & gotchas
The skill requires clear and specific instructions for file renaming and organization. Ambiguous rules may lead to unexpected results, so be precise with your commands.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.