Dandan File Organizer logo

Dandan File Organizer

Community
jiaxiaojunQAQ
dandan-file-organizer

智能文件/桌面整理技能。当用户说"整理桌面"、"文件整理"、"整理文件夹"、"清理桌面"时触发。提供零删除、零篡改的安全文件归类,支持智能扫描、关键词匹配、按类型自动分类、多平台支持(macOS/Linux/Windows)。

Overview

PublisherjiaxiaojunQAQ
RepositorySkillCamo
Skill namedandan-file-organizer
Stars
35
Forks
0
Bundled files
1
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 jiaxiaojunQAQ on GitHub. Read the source before you install it.

Installation

Install the Dandan 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/jiaxiaojunQAQ/SkillCamo/tree/main/data/benchmark/benign_base_100/dandan-file-organizer-1.0.1
  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/jiaxiaojunQAQ/SkillCamo.git /tmp/SkillCamo
mkdir -p .claude/skills
cp -r /tmp/SkillCamo/data/benchmark/benign_base_100/dandan-file-organizer-1.0.1 .claude/skills/dandan-file-organizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dandan 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 Dandan 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 Dandan 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 📁

智能文件归类整理,跨平台支持。

触发条件

  • 用户说"整理桌面"、"文件整理"、"整理文件夹"、"清理桌面"
  • 用户说"桌面太乱了"、"文件太多了"
  • 用户要求按类型分类文件

文件分类规则

按扩展名分类

分类扩展名
图片png, jpg, jpeg, gif, bmp, tiff, webp, svg, ico, heic
文档docx, pdf, txt, doc, ppt, pptx, odt, rtf, pages
表格xlsx, csv, xls, numbers, ods, tsv
视频mp4, avi, mov, mkv, flv, wmv, webm, m4v
音频mp3, wav, flac, m4a, ogg, aac, wma, aiff
代码py, js, tsx, java, c, cpp, h, go, rb, php, swift, kt, rs, sh, html, css, json, yaml
压缩包zip, rar, 7z, tar, gz, bz2, xz
电子书epub, mobi, azw3, djvu
安装包exe, dmg, pkg, msi, apk, deb, rpm, appimage
设计文件psd, ai, sketch, fig, xd, indd
字体ttf, otf, woff, woff2
日志log

整理策略

策略1:已有文件夹匹配

扫描目标目录 → 匹配文件名到已有文件夹 → 移动文件
关键词匹配:文件名包含文件夹名 → 移入
命名规律匹配:共享3字符以上前缀 → 移入

策略2:按类型分类(无匹配时)

不常用文件(60天未访问)→ 不常用文件/
其余按扩展名分类 → 图片/ | 文档/ | 表格/ | ...

策略3:按项目分类(phase2 AI 语义分析)

深度扫描未分类文件 → 提取关键词 → 生成项目文件夹 → 归类

跨平台命令

macOS

bash
# 列出桌面文件
ls -la ~/Desktop/

# 移动文件到分类文件夹
mv ~/Desktop/report.pdf ~/Documents/报告/

# 创建分类文件夹
mkdir -p ~/Desktop/{图片,文档,表格,代码,压缩包}

# 查看文件大小
du -sh ~/Desktop/*

Linux

bash
# 列出桌面文件
ls -la ~/桌面/   # 或 ~/Desktop/

# 移动文件
mv ~/桌面/report.pdf ~/文档/报告/

# 查看文件大小
du -sh ~/桌面/*

# 查找大文件
find ~/桌面 -type f -size +100M

Windows (PowerShell)

powershell
# 列出桌面文件
Get-ChildItem "$env:USERPROFILE\Desktop"

# 移动文件
Move-Item "$env:USERPROFILE\Desktop\report.pdf" "$env:USERPROFILE\Documents\报告\"

# 创建分类文件夹
New-Item -ItemType Directory -Path "$env:USERPROFILE\Desktop\图片"
New-Item -ItemType Directory -Path "$env:USERPROFILE\Desktop\文档"
New-Item -ItemType Directory -Path "$env:USERPROFILE\Desktop\表格"

零删除原则

  • ❌ 不删除任何文件,只移动
  • ❌ 不覆盖文件,自动重命名(filename_1.pdf)
  • ❌ 不处理系统文件(.DS_Store、Thumbs.db 等)
  • ⚠️ 快捷方式/别名不移动
  • ⚠️ 被占用文件(lsof 检测)跳过
  • ✅ 所有操作记录日志,可一键回撤

操作日志格式

tsv
原路径    目标路径    分类    方法    状态
/home/user/Desktop/report.pdf    /home/user/Desktop/文档/report.pdf    文档    按类型分类    done

使用流程

1. 用户说"整理桌面"
   → 询问目标目录(默认 ~/Desktop)

2. 执行扫描(phase1)
   → 输出:文件列表、已有文件夹、建议分类方案

3. 用户确认
   → 执行整理(phase2)
   → 生成日志

4. 输出结果
   → 整理了多少文件
   → 创建了哪些文件夹
   → 日志文件位置(可回撤)

输出格式

markdown
## 📁 文件整理结果

**目录**: ~/Desktop
**扫描时间**: 2026-03-19 19:54

### 📊 统计
- 扫描文件:42 个
- 整理完成:38 个
- 跳过:4 个(系统文件/被占用/白名单)
- 创建文件夹:7 个

### 📂 已创建文件夹
- 图片/(12个文件)
- 文档/(8个文件)
- 表格/(3个文件)
- ...

### 🔄 操作日志
[保存到 .file_organizer_logs/ organize_20260319_1954.log]

### ↩️ 回撤指令
如需回撤,执行:
[根据日志生成回撤命令]

注意事项

  • 桌面文件通常较小,大文件建议移至对应分类文件夹
  • 60天不常用规则可根据需要调整
  • macOS 的 .DS_Store、Windows 的 Thumbs.db 自动跳过
  • 整理前建议先做 phase1 扫描,用户确认后再执行

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 Dandan File Organizer AI skill do?

智能文件/桌面整理技能。当用户说"整理桌面"、"文件整理"、"整理文件夹"、"清理桌面"时触发。提供零删除、零篡改的安全文件归类,支持智能扫描、关键词匹配、按类型自动分类、多平台支持(macOS/Linux/Windows)。

Why use Dandan File Organizer on TypingMind?

Because you install it once and use it with any model. Dandan 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 Dandan File Organizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jiaxiaojunQAQ/SkillCamo/tree/main/data/benchmark/benign_base_100/dandan-file-organizer-1.0.1. 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 Dandan 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 Dandan File Organizer?

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

Is the Dandan File Organizer AI skill free?

It is published on GitHub by jiaxiaojunQAQ. Check the repository for licensing terms. 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 👇