downloads-organizer
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
от ttmouse★ 34 звезды на GitHub
Установить downloads-organizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Downloads Organizer
Automatically organize and clean up your downloads folder with intelligent file categorization, duplicate detection, and storage optimization.
Overview
Transform a chaotic downloads folder into a well-organized, searchable archive by:
- Categorizing files - Organize by type (documents, images, videos, installers, etc.)
- Removing duplicates - Detect and eliminate duplicate files
- Cleaning old files - Remove outdated installers and temporary files
- Generating reports - Provide detailed analysis of storage usage
- Scheduled cleanup - Set up automated maintenance
Basic Workflow
1. Analyze Downloads Folder
Get current state:
cd ~/Downloads
python scripts/organizer.py --analyze
Output:
📊 Downloads Folder Analysis
Total Size: 45.2 GB
Total Files: 1,234
Total Folders: 87
Largest Files:
1. alma-0.0.204-mac-arm64.dmg (248 MB)
2. Antigravity.Tools_3.3.32_aarch64.dmg (14 MB)
File Distribution:
- Installers: 3.6 GB (8%)
- Documents: 662 MB (1.5%)
- Images: 1.2 GB (2.7%)
- Videos: 5.8 GB (12.8%)
2. Organize Files
Auto-categorize scattered files:
python scripts/organizer.py --organize --dry-run
Preview:
Would move:
- *.dmg → Installers/ (15 files)
- *.png → Images/ (42 files)
- *.pdf → Documents/PDF/ (23 files)
- *.mp4 → Videos/ (8 files)
- *.json → Documents/ (12 files)
Execute:
python scripts/organizer.py --organize
3. Clean Up
Remove old and duplicate files:
python scripts/organizer.py --cleanup
Actions:
- Remove installers older than 60 days
- Delete duplicate files
- Remove empty folders
- Clean temporary files
4. Generate Report
Get detailed report:
python scripts/organizer.py --report --output report.md
Organization Rules
File Type Categories
Documents:
*.pdf,*.doc,*.docx,*.txt,*.md,*.rtf*.xls,*.xlsx,*.csv,*.json,*.yaml,*.yml
Images:
*.png,*.jpg,*.jpeg,*.gif,*.svg,*.webp,*.bmp*.tiff,*.ico
Videos:
*.mp4,*.mov,*.avi,*.mkv,*.webm,*.flv
Audio:
*.mp3,*.wav,*.m4a,*.flac,*.aac,*.ogg
Installers:
*.dmg,*.pkg,*.app,*.zip,*.tar.gz,*.rar*.exe,*.msi
Archives:
*.zip,*.tar.gz,*.tgz,*.rar,*.7z
Code:
*.py,*.js,*.ts,*.java,*.cpp,*.c,*.h*.html,*.css,*.scss,*.json
Data:
*.csv,*.tsv,*.sql,*.db,*.sqlite
Folder Structure
~/Downloads/
├── Archives/ # Compressed archives
├── Audio/ # Audio files
├── Backups/ # Backup files and folders
├── Documents/ # Documents and text files
│ ├── PDF/
│ └── Spreadsheets/
├── Images/ # Image files
├── Installers/ # Software installers
├── Projects/ # Project-related folders
├── Videos/ # Video files
├── Software/ # Application bundles
└── Others/ # Miscellaneous files
Cleanup Strategies
Time-Based Cleanup
Installers:
- Remove
*.dmg,*.pkgfiles older than 60 days - Keep only recent installers (last 2 months)
Temporary Files:
- Remove
*.tmp,*.temp,*.cachefiles - Clean
~/.Trashcontents
Empty Folders:
- Remove directories with 0 files
- Remove directories older than 90 days with < 5 files
Duplicate Detection
Find duplicates by:
- File name - Exact name match
- File size - Same size (quick filter)
- Hash comparison - MD5/SHA256 for exact duplicates
Action:
python scripts/organizer.py --find-duplicates
Keep strategy:
- Keep newest file
- Keep file with shortest path
- Ask user for conflicts
Large File Analysis
Identify space hogs:
python scripts/organizer.py --large-files --min-size 100MB
Output:
📦 Large Files (>100MB):
1. alma-0.0.204-mac-arm64.dmg - 248 MB
2. recording_2026-01-10_23-22-53.mp4 - 12 MB
3. generated-1768282547017.png - 25 MB
Automated Maintenance
Schedule Cleanup
Set up cron job for automatic cleanup:
# Run cleanup every Sunday at 2 AM
0 2 * * 0 cd ~/Downloads && python scripts/organizer.py --cleanup
# Run organization daily at 9 AM
0 9 * * * cd ~/Downloads && python scripts/organizer.py --organize
Automated Rules
Define custom rules in config/rules.yaml:
patterns:
- pattern: "*_recording_*.mp4"
destination: Videos/Recordings/
keep_days: 30
- pattern: "generated-*.png"
destination: Images/Generated/
keep_days: 7
- pattern: "Screenshot*.png"
destination: Images/Screenshots/
keep_days: 30
Configuration
Settings File
Create ~/.downloads-organizer/config.yaml:
downloads_dir: ~/Downloads
dry_run: false
verbose: true
cleanup:
installer_age_days: 60
temp_age_days: 7
duplicate_action: keep_newest
organization:
auto_categorize: true
respect_existing_folders: true
create_missing_
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- scripts/organizer.py
FAQ
Что делает скилл downloads-organizer?
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
Как установить скилл downloads-organizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл downloads-organizer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…