File Organizer
This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.
When to Use This Skill
- Your Downloads folder is a chaotic mess
- You can't find files because they're scattered everywhere
- You have duplicate files taking up space
- Your folder structure doesn't make sense anymore
- You want to establish better organization habits
- You're starting a new project and need a good structure
- You're cleaning up before archiving old projects
What This Skill Does
- Analyzes Current Structure: Reviews your folders and files to understand what you have
- Finds Duplicates: Identifies duplicate files across your system
- Suggests Organization: Proposes logical folder structures based on your content
- Automates Cleanup: Moves, renames, and organizes files with your approval
- Maintains Context: Makes smart decisions based on file types, dates, and content
- Reduces Clutter: Identifies old files you probably don't need anymore
How to Use
From Your Home Directory
cd ~
Then run Claude Code and ask for help:
Help me organize my Downloads folder
Find duplicate files in my Documents folder
Review my project directories and suggest improvements
Specific Organization Tasks
Organize these downloads into proper folders based on what they are
Find duplicate files and help me decide which to keep
Clean up old files I haven't touched in 6+ months
Create a better folder structure for my [work/projects/photos/etc]
Instructions
When a user requests file organization help:
Understand the Scope
Ask clarifying questions:
- Which directory needs organization? (Downloads, Documents, entire home folder?)
- What's the main problem? (Can't find things, duplicates, too messy, no structure?)
- Any files or folders to avoid? (Current projects, sensitive data?)
- How aggressively to organize? (Conservative vs. comprehensive cleanup)
Analyze Current State
Review the target directory:
# Get overview of current structure
ls -la [target_directory]
# Check file types and sizes
find [target_directory] -type f -exec file {} \; | head -20
# Identify largest files
du -sh [target_directory]/* | sort -rh | head -20
# Count file types
find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
Summarize findings:
- Total files and folders
- File type breakdown
- Size distribution
- Date ranges
- Obvious organization issues
Identify Organization Patterns
Based on the files, determine logical groupings:
By Type:
- Documents (PDFs, DOCX, TXT)
- Images (JPG, PNG, SVG)
- Videos (MP4, MOV)
- Archives (ZIP, TAR, DMG)
- Code/Projects (directories with code)
- Spreadsheets (XLSX, CSV)
- Presentations (PPTX, KEY)
By Purpose:
- Work vs. Personal
- Active vs. Archive
- Project-specific
- Reference materials
- Temporary/scratch files
By Date:
- Current year/month
- Previous years
- Very old (archive candidates)
Find Duplicates
When requested, search for duplicates:
# Find exact duplicates by hash
find [directory] -type f -exec md5 {} \; | sort | uniq -d
# Find files with same name
find [directory] -type f -printf '%f\n' | sort | uniq -d
# Find similar-sized files
find [directory] -type f -printf '%s %p\n' | sort -n
For each set of duplicates:
- Show all file paths
- Display sizes and modification dates
- Recommend which to keep (usually newest or best-named)
- Important: Always ask for confirmation before deleting
Propose Organization Plan
Present a clear plan before making changes:
# Organization Plan for [Directory]
## Current State
- X files across Y folders
- [Size] total
- File types: [breakdown]
- Issues: [list problems]
## Proposed Structure
[Directory]/
├── Work/
│ ├── Projects/
│ ├── Documents/
│ └── Archive/
├── Personal/
│ ├── Photos/
│ ├── Documents/
│ └── Media/
└── Downloads/
├── To-Sort/
└── Archive/
## Changes I'll Make
1. **Create new folders**: [list]
2. **Move files**:
- X PDFs → Work/Documents/
- Y images → Personal/Photos/
- Z old files → Archive/
3. **Rename files**: [any renaming patterns]
4. **Delete**: [duplicates or trash files]
## Files Needing Your Decision
- [List any files you're unsure about]
Ready to proceed? (yes/no/modify)
Execute Organization
After approval, organize systematically:
# Create folder structure
mkdir -p
1---2name: file-organizer-23description: Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and4category: Productivity & Organization5source: awesome-llm6tags: [pdf, docx, xlsx, pptx, markdown, claude, ai, template, video, image]7url: https://github.com/Prat011/awesome-llm-skills/tree/master/file-organizer8metadata:9 source: https://skillmd.com/skills/ranbot-ai/file-organizer-210---111213# File Organizer1415This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.1617## When to Use This Skill1819- Your Downloads folder is a chaotic mess20- You can't find files because they're scattered everywhere21- You have duplicate files taking up space22- Your folder structure doesn't make sense anymore23- You want to establish better organization habits24- You're starting a new project and need a good structure25- You're cleaning up before archiving old projects2627## What This Skill Does28291. **Analyzes Current Structure**: Reviews your folders and files to understand what you have302. **Finds Duplicates**: Identifies duplicate files across your system313. **Suggests Organization**: Proposes logical folder structures based on your content324. **Automates Cleanup**: Moves, renames, and organizes files with your approval335. **Maintains Context**: Makes smart decisions based on file types, dates, and content346. **Reduces Clutter**: Identifies old files you probably don't need anymore3536## How to Use3738### From Your Home Directory3940```41cd ~42```4344Then run Claude Code and ask for help:4546```47Help me organize my Downloads folder48```4950```51Find duplicate files in my Documents folder52```5354```55Review my project directories and suggest improvements56```5758### Specific Organization Tasks5960```61Organize these downloads into proper folders based on what they are62```6364```65Find duplicate files and help me decide which to keep66```6768```69Clean up old files I haven't touched in 6+ months70```7172```73Create a better folder structure for my [work/projects/photos/etc]74```7576## Instructions7778When a user requests file organization help:79801. **Understand the Scope**81 82 Ask clarifying questions:83 - Which directory needs organization? (Downloads, Documents, entire home folder?)84 - What's the main problem? (Can't find things, duplicates, too messy, no structure?)85 - Any files or folders to avoid? (Current projects, sensitive data?)86 - How aggressively to organize? (Conservative vs. comprehensive cleanup)87882. **Analyze Current State**89 90 Review the target directory:91 ```bash92 # Get overview of current structure93 ls -la [target_directory]94 95 # Check file types and sizes96 find [target_directory] -type f -exec file {} \; | head -2097 98 # Identify largest files99 du -sh [target_directory]/* | sort -rh | head -20100 101 # Count file types102 find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn103 ```104 105 Summarize findings:106 - Total files and folders107 - File type breakdown108 - Size distribution109 - Date ranges110 - Obvious organization issues1111123. **Identify Organization Patterns**113 114 Based on the files, determine logical groupings:115 116 **By Type**:117 - Documents (PDFs, DOCX, TXT)118 - Images (JPG, PNG, SVG)119 - Videos (MP4, MOV)120 - Archives (ZIP, TAR, DMG)121 - Code/Projects (directories with code)122 - Spreadsheets (XLSX, CSV)123 - Presentations (PPTX, KEY)124 125 **By Purpose**:126 - Work vs. Personal127 - Active vs. Archive128 - Project-specific129 - Reference materials130 - Temporary/scratch files131 132 **By Date**:133 - Current year/month134 - Previous years135 - Very old (archive candidates)1361374. **Find Duplicates**138 139 When requested, search for duplicates:140 ```bash141 # Find exact duplicates by hash142 find [directory] -type f -exec md5 {} \; | sort | uniq -d143 144 # Find files with same name145 find [directory] -type f -printf '%f\n' | sort | uniq -d146 147 # Find similar-sized files148 find [directory] -type f -printf '%s %p\n' | sort -n149 ```150 151 For each set of duplicates:152 - Show all file paths153 - Display sizes and modification dates154 - Recommend which to keep (usually newest or best-named)155 - **Important**: Always ask for confirmation before deleting1561575. **Propose Organization Plan**158 159 Present a clear plan before making changes:160 161 ```markdown162 # Organization Plan for [Directory]163 164 ## Current State165 - X files across Y folders166 - [Size] total167 - File types: [breakdown]168 - Issues: [list problems]169 170 ## Proposed Structure171 172 ```173 [Directory]/174 ├── Work/175 │ ├── Projects/176 │ ├── Documents/177 │ └── Archive/178 ├── Personal/179 │ ├── Photos/180 │ ├── Documents/181 │ └── Media/182 └── Downloads/183 ├── To-Sort/184 └── Archive/185 ```186 187 ## Changes I'll Make188 189 1. **Create new folders**: [list]190 2. **Move files**:191 - X PDFs → Work/Documents/192 - Y images → Personal/Photos/193 - Z old files → Archive/194 3. **Rename files**: [any renaming patterns]195 4. **Delete**: [duplicates or trash files]196 197 ## Files Needing Your Decision198 199 - [List any files you're unsure about]200 201 Ready to proceed? (yes/no/modify)202 ```2032046. **Execute Organization**205 206 After approval, organize systematically:207 208 ```bash209 # Create folder structure210 mkdir -p