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-organizer3description: Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and4---567# File Organizer89This 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.1011## When to Use This Skill1213- Your Downloads folder is a chaotic mess14- You can't find files because they're scattered everywhere15- You have duplicate files taking up space16- Your folder structure doesn't make sense anymore17- You want to establish better organization habits18- You're starting a new project and need a good structure19- You're cleaning up before archiving old projects2021## What This Skill Does22231. **Analyzes Current Structure**: Reviews your folders and files to understand what you have242. **Finds Duplicates**: Identifies duplicate files across your system253. **Suggests Organization**: Proposes logical folder structures based on your content264. **Automates Cleanup**: Moves, renames, and organizes files with your approval275. **Maintains Context**: Makes smart decisions based on file types, dates, and content286. **Reduces Clutter**: Identifies old files you probably don't need anymore2930## How to Use3132### From Your Home Directory3334```35cd ~36```3738Then run Claude Code and ask for help:3940```41Help me organize my Downloads folder42```4344```45Find duplicate files in my Documents folder46```4748```49Review my project directories and suggest improvements50```5152### Specific Organization Tasks5354```55Organize these downloads into proper folders based on what they are56```5758```59Find duplicate files and help me decide which to keep60```6162```63Clean up old files I haven't touched in 6+ months64```6566```67Create a better folder structure for my [work/projects/photos/etc]68```6970## Instructions7172When a user requests file organization help:73741. **Understand the Scope**75 76 Ask clarifying questions:77 - Which directory needs organization? (Downloads, Documents, entire home folder?)78 - What's the main problem? (Can't find things, duplicates, too messy, no structure?)79 - Any files or folders to avoid? (Current projects, sensitive data?)80 - How aggressively to organize? (Conservative vs. comprehensive cleanup)81822. **Analyze Current State**83 84 Review the target directory:85 ```bash86 # Get overview of current structure87 ls -la [target_directory]88 89 # Check file types and sizes90 find [target_directory] -type f -exec file {} \; | head -2091 92 # Identify largest files93 du -sh [target_directory]/* | sort -rh | head -2094 95 # Count file types96 find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn97 ```98 99 Summarize findings:100 - Total files and folders101 - File type breakdown102 - Size distribution103 - Date ranges104 - Obvious organization issues1051063. **Identify Organization Patterns**107 108 Based on the files, determine logical groupings:109 110 **By Type**:111 - Documents (PDFs, DOCX, TXT)112 - Images (JPG, PNG, SVG)113 - Videos (MP4, MOV)114 - Archives (ZIP, TAR, DMG)115 - Code/Projects (directories with code)116 - Spreadsheets (XLSX, CSV)117 - Presentations (PPTX, KEY)118 119 **By Purpose**:120 - Work vs. Personal121 - Active vs. Archive122 - Project-specific123 - Reference materials124 - Temporary/scratch files125 126 **By Date**:127 - Current year/month128 - Previous years129 - Very old (archive candidates)1301314. **Find Duplicates**132 133 When requested, search for duplicates:134 ```bash135 # Find exact duplicates by hash136 find [directory] -type f -exec md5 {} \; | sort | uniq -d137 138 # Find files with same name139 find [directory] -type f -printf '%f\n' | sort | uniq -d140 141 # Find similar-sized files142 find [directory] -type f -printf '%s %p\n' | sort -n143 ```144 145 For each set of duplicates:146 - Show all file paths147 - Display sizes and modification dates148 - Recommend which to keep (usually newest or best-named)149 - **Important**: Always ask for confirmation before deleting1501515. **Propose Organization Plan**152 153 Present a clear plan before making changes:154 155 ```markdown156 # Organization Plan for [Directory]157 158 ## Current State159 - X files across Y folders160 - [Size] total161 - File types: [breakdown]162 - Issues: [list problems]163 164 ## Proposed Structure165 166 ```167 [Directory]/168 ├── Work/169 │ ├── Projects/170 │ ├── Documents/171 │ └── Archive/172 ├── Personal/173 │ ├── Photos/174 │ ├── Documents/175 │ └── Media/176 └── Downloads/177 ├── To-Sort/178 └── Archive/179 ```180 181 ## Changes I'll Make182 183 1. **Create new folders**: [list]184 2. **Move files**:185 - X PDFs → Work/Documents/186 - Y images → Personal/Photos/187 - Z old files → Archive/188 3. **Rename files**: [any renaming patterns]189 4. **Delete**: [duplicates or trash files]190 191 ## Files Needing Your Decision192 193 - [List any files you're unsure about]194 195 Ready to proceed? (yes/no/modify)196 ```1971986. **Execute Organization**199 200 After approval, organize systematically:201 202 ```bash203 # Create folder structure204 mkdir -p