From greentrain-files
Organizes Mac Downloads folder by categorizing office docs, images, videos, screenshots into smart folders or dated dirs. Auto/manual modes; protects code files, previews large files.
npx claudepluginhub crazynomad/skills --plugin greentrain-planningThis skill uses the workspace's default tool permissions.
帮助用户整理下载文件夹中散落的办公文档,支持手动整理(智能文件夹)和自动整理两种模式,并与 disk-cleaner 配合保护重要文件。
Analyzes directories via bash, finds duplicates, suggests folder structures by file type/date/content, and automates organization/cleanup with approval. For messy Downloads/projects.
Orchestrates three-phase Mac file management workflow: disk cleanup, file organization, and document analysis using sub-skills disk-cleaner, file-organizer, doc-mindmap. Use for multi-stage requests like full cleanups or combined tasks.
Analyzes directories for structure, duplicates, and old files; suggests groupings by type/date/purpose; automates organization and cleanup. For messy Downloads, projects, or archives.
Share bugs, ideas, or general feedback.
帮助用户整理下载文件夹中散落的办公文档,支持手动整理(智能文件夹)和自动整理两种模式,并与 disk-cleaner 配合保护重要文件。
Use this skill when users:
专注办公文档,避免误移动代码文件:
| 分类 | 扩展名 |
|---|---|
| 📊 演示文稿 | .ppt, .pptx, .key |
| 📝 文档 | .doc, .docx, .pages, .rtf |
| 📈 表格 | .xls, .xlsx, .numbers, .csv |
| 🖼️ 图片 | .jpg, .png, .gif, .webp, .heic |
| 🎬 视频 | .mp4, .mov, .avi, .mkv |
| 🎵 音频 | .mp3, .wav, .flac, .m4a |
| 📦 压缩包 | .zip, .rar, .7z, .dmg |
| 📚 电子书 | .epub, .mobi, .azw3 |
类似 Mole 的白名单机制,自动排除:
.git, node_modules, venv, __pycache__Library, .Trash.idea, .vscodebuild, dist, DerivedData# 默认整理下载文件夹
python scripts/file_organizer.py --manual
# 整理文档文件夹
python scripts/file_organizer.py --manual --scope documents
# 整理整个用户目录
python scripts/file_organizer.py --manual --scope home
# 自动整理下载文件夹
python scripts/file_organizer.py --auto
# 预览模式(不实际移动)
python scripts/file_organizer.py --auto --dry-run
# 只整理最近 30 天的文件
python scripts/file_organizer.py --auto --days 30
# 查看截图
python scripts/file_organizer.py --screenshots
# 自动整理截图(按月份)
python scripts/file_organizer.py --screenshots --auto
# 查找大于 100MB 的文件
python scripts/file_organizer.py --large-files
# 查找大于 500MB 的文件
python scripts/file_organizer.py --large-files --min-size 500
python scripts/file_organizer.py --status
~/Desktop/待整理/
├── 📊 演示文稿.savedSearch
├── 📝 文档.savedSearch
├── 📈 表格.savedSearch
├── 📄 PDF.savedSearch
├── 🖼️ 图片.savedSearch
├── 🎬 视频.savedSearch
├── 🎵 音频.savedSearch
├── 📦 压缩包.savedSearch
├── 📚 电子书.savedSearch
└── 💾 大文件 (>100MB).savedSearch
~/Desktop/已整理文件-20240125/
├── 演示文稿/
├── 文档/
├── 表格/
├── PDF/
├── 图片/
├── 视频/
├── 音频/
├── 压缩包/
└── 电子书/
自动模式整理后的文件夹路径会自动写入 ~/.config/mole/whitelist.txt,确保这些文件不会被 disk-cleaner 清理。