File Organizer logo

File Organizer

Community
crazynomad
file-organizer

Mac 智能文件整理助手,专注整理下载文件夹中的办公文档,避免误移动代码文件

Overview

Publishercrazynomad
Repositoryskills
Skill namefile-organizer
Stars
27
Forks
8
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by crazynomad on GitHub. Read the source before you install it.

Installation

Install the File Organizer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/crazynomad/skills/tree/master/file-organizer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/crazynomad/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/file-organizer .claude/skills/file-organizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable File Organizer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads File Organizer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so File Organizer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

File Organizer - Mac 智能文件整理助手

帮助用户整理下载文件夹中散落的办公文档,支持手动整理(智能文件夹)和自动整理两种模式,并与 disk-cleaner 配合保护重要文件。

When to Use

Use this skill when users:

  • 想整理电脑上的文件
  • 下载文件夹太乱想整理
  • 清理磁盘前想先把重要文件整理好
  • 截图太多想归类
  • 想找出占空间的大文件

Features

  • 📥 默认整理下载文件夹 - 避免误动其他目录
  • 🖐️ 手动模式 - 创建 macOS 智能文件夹,用户自己整理
  • 🤖 自动模式 - 自动扫描并分类文件
  • 📸 截图整理 - 按月份归类截图
  • 💾 大文件发现 - 只显示明确用途的文件(PDF、PPT、视频等)
  • 🔒 白名单机制 - 排除代码目录,保护项目文件

File Categories

专注办公文档,避免误移动代码文件:

分类扩展名
📊 演示文稿.ppt, .pptx, .key
📝 文档.doc, .docx, .pages, .rtf
📈 表格.xls, .xlsx, .numbers, .csv
📄 PDF.pdf
🖼️ 图片.jpg, .png, .gif, .webp, .heic
🎬 视频.mp4, .mov, .avi, .mkv
🎵 音频.mp3, .wav, .flac, .m4a
📦 压缩包.zip, .rar, .7z, .dmg
📚 电子书.epub, .mobi, .azw3

Excluded Directories

类似 Mole 的白名单机制,自动排除:

  • 代码目录: .git, node_modules, venv, __pycache__
  • 系统目录: Library, .Trash
  • IDE 配置: .idea, .vscode
  • 构建产物: build, dist, DerivedData

Usage

手动模式(创建智能文件夹)

bash
# 默认整理下载文件夹
python scripts/file_organizer.py --manual

# 整理文档文件夹
python scripts/file_organizer.py --manual --scope documents

# 整理整个用户目录
python scripts/file_organizer.py --manual --scope home

自动模式

bash
# 自动整理下载文件夹
python scripts/file_organizer.py --auto

# 预览模式(不实际移动)
python scripts/file_organizer.py --auto --dry-run

# 只整理最近 30 天的文件
python scripts/file_organizer.py --auto --days 30

截图整理

bash
# 查看截图
python scripts/file_organizer.py --screenshots

# 自动整理截图(按月份)
python scripts/file_organizer.py --screenshots --auto

大文件发现

bash
# 查找大于 100MB 的文件
python scripts/file_organizer.py --large-files

# 查找大于 500MB 的文件
python scripts/file_organizer.py --large-files --min-size 500

查看状态

bash
python scripts/file_organizer.py --status

Output Structure

手动模式

~/Desktop/待整理/
├── 📊 演示文稿.savedSearch
├── 📝 文档.savedSearch
├── 📈 表格.savedSearch
├── 📄 PDF.savedSearch
├── 🖼️ 图片.savedSearch
├── 🎬 视频.savedSearch
├── 🎵 音频.savedSearch
├── 📦 压缩包.savedSearch
├── 📚 电子书.savedSearch
└── 💾 大文件 (>100MB).savedSearch

自动模式

~/Desktop/已整理文件-20240125/
├── 演示文稿/
├── 文档/
├── 表格/
├── PDF/
├── 图片/
├── 视频/
├── 音频/
├── 压缩包/
└── 电子书/

Integration with disk-cleaner

自动模式整理后的文件夹路径会自动写入 ~/.config/mole/whitelist.txt,确保这些文件不会被 disk-cleaner 清理。

Dependencies

  • macOS (使用 Spotlight 和智能文件夹功能)
  • Python 3.8+

Credits

  • 与 disk-cleaner 配合使用
  • 灵感来自 macOS 智能文件夹功能

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the File Organizer AI skill do?

Mac 智能文件整理助手,专注整理下载文件夹中的办公文档,避免误移动代码文件

Why use File Organizer on TypingMind?

Because you install it once and use it with any model. File Organizer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install File Organizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/crazynomad/skills/tree/master/file-organizer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use File Organizer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with File Organizer?

As many as you like. As long as a model supports skills, you can use File Organizer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the File Organizer AI skill free?

Yes. It is published on GitHub by crazynomad under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇