一键导入
downloads-organizer
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
仿写/复刻单篇小红书笔记的写作风格:从“单个帖子样本”(标题+正文+标签+可选图片/排版特征)抽取风格指纹,并结合用户给定主题要点与可选知识库链接,生成同风格但不抄袭的新笔记(标题/正文/话题标签/可选配图建议)。当用户说“仿写这篇小红书/按这篇的风格写一篇/复刻口吻排版/基于这条笔记生成同风格内容”,或提供 info.json、detail.txt、链接、截图等作为风格样本时使用。
AI深度分析语音记录,揭示行为模式、认知偏见和战略盲点。不只是数据汇总,而是直击本质的战略洞察和否定性指导。提取可沉淀的核心原则和工作偏好,构建个人工作模式知识库。
A generic requirement/problem clarification workflow. Use when a user/client request is ambiguous, underspecified, or hard to execute/verify. The skill reframes the request, defines scope, constraints, inputs, and acceptance criteria, then outputs a concise one-page definition and a minimal question set to close gaps. Suitable for product/feature requests, content requests, ops tasks, research asks, and decision-making prompts.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
统一的推文内容获取技能。支持单条/批量推文提取,输出结构化数据。当用户提供 Twitter/X 链接并希望获取内容时自动触发。
从 Markdown 文件中自动提取并下载 Twitter 图片,生成可直接发布的版本。 当用户说"下载推文图片"、"提取Twitter图片"、"download twitter images"时触发。
基于 SOC 职业分类
| name | downloads-organizer |
| description | Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space |
| license | Apache-2.0 |
Automatically organize and clean up your downloads folder with intelligent file categorization, duplicate detection, and storage optimization.
Transform a chaotic downloads folder into a well-organized, searchable archive by:
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%)
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
Remove old and duplicate files:
python scripts/organizer.py --cleanup
Actions:
Get detailed report:
python scripts/organizer.py --report --output report.md
Documents:
*.pdf, *.doc, *.docx, *.txt, *.md, *.rtf*.xls, *.xlsx, *.csv, *.json, *.yaml, *.ymlImages:
*.png, *.jpg, *.jpeg, *.gif, *.svg, *.webp, *.bmp*.tiff, *.icoVideos:
*.mp4, *.mov, *.avi, *.mkv, *.webm, *.flvAudio:
*.mp3, *.wav, *.m4a, *.flac, *.aac, *.oggInstallers:
*.dmg, *.pkg, *.app, *.zip, *.tar.gz, *.rar*.exe, *.msiArchives:
*.zip, *.tar.gz, *.tgz, *.rar, *.7zCode:
*.py, *.js, *.ts, *.java, *.cpp, *.c, *.h*.html, *.css, *.scss, *.jsonData:
*.csv, *.tsv, *.sql, *.db, *.sqlite~/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
Installers:
*.dmg, *.pkg files older than 60 daysTemporary Files:
*.tmp, *.temp, *.cache files~/.Trash contentsEmpty Folders:
Find duplicates by:
Action:
python scripts/organizer.py --find-duplicates
Keep strategy:
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
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
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
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_folders: true
exclusions:
- "*.locked"
- ".*"
- "node_modules"
- ".git"
Add custom file types to categories:
custom_categories:
design:
extensions: [".sketch", ".fig", ".psd", ".ai"]
folder: "Design/"
data_science:
extensions: [".ipynb", ".r", ".mat", ".h5"]
folder: "DataScience/"
# Full cleanup cycle
python scripts/organizer.py \
--organize \
--cleanup \
--report \
--output ~/Downloads/weekly-report.md
# Just organize new files
python scripts/organizer.py --organize --new-only
# Aggressive cleanup with confirmation
python scripts/organizer.py \
--cleanup \
--installer-age 30 \
--remove-duplicates \
--remove-empty-folders \
--confirm
# Move project files to Projects/ folder
python scripts/organizer.py \
--move-projects \
--project-pattern "*-project*" \
--destination Projects/
Link organized files to Obsidian vault:
python scripts/organizer.py --link-obsidian --vault ~/Documents/ObsidianVault
Creates:
[[Downloads/Images/file.png]] links in ObsidianSync organized folders to cloud:
python scripts/organizer.py --sync-cloud \
--provider icloud \
--folders Documents,Images \
--exclude-backups
Send cleanup notifications:
python scripts/organizer.py --cleanup --notify \
--method slack \
--channel #downloads
✅ DO:
❌ DON'T:
✅ DO:
❌ DON'T::
✅ DO:
❌ DON'T:
Problem: "File already exists" error
Solution:
python scripts/organizer.py --organize --handle-conflicts ask
Options:
ask - Prompt for each conflictskip - Skip conflicting filesoverwrite - Overwrite existing filesrename - Add timestamp to new filesProblem: "Permission denied" when moving files
Solution:
# Fix permissions
chmod -R u+rw ~/Downloads
# Run with sudo (last resort)
sudo python scripts/organizer.py --cleanup
Problem: Organization takes too long
Solution:
# Exclude large directories
python scripts/organizer.py --exclude "Projects/,Backups/"
# Use parallel processing
python scripts/organizer.py --parallel --workers 4
# Skip hash comparison for duplicates
python scripts/organizer.py --find-duplicates --quick
scripts/organizer.pyreferences/configuration.mdreferences/file-types.yamlreferences/troubleshooting.mdAlways create backup before major cleanup:
python scripts/organizer.py --backup --dest ~/Downloads-backup
Roll back changes:
python scripts/organizer.py --undo --from ~/Downloads-backup
Confirm destructive actions:
python scripts/organizer.py --cleanup --confirm
Detailed logging for audit:
python scripts/organizer.py --organize --log-level debug --log-file organizer.log
Last Updated: 2026-01-15 Version: 1.0.0