📁
文件夹智能整理
根据文件类型自动分类整理凌乱的文件夹
🟡 注意级
⭐⭐ 进阶级
⏱️ 3-10分钟
✅ 适合人群: 需要整理文件的用户
📦 需要: Filesystem MCP
📋 📋 一键启动 Prompt
@OpenClaw I need you to help me organize a messy folder.
Context: I am using openclaw.
Safety confirmation (must-do)
Ask me to confirm:
- This will MOVE files (not delete), so paths will change
- Try a test folder first
- Never run on system folders (e.g., C:\Windows, /System)
Step 1 — Environment check
- Check whether @modelcontextprotocol/server-filesystem is installed.
- If missing, ask whether to install it.
Step 2 — Select target folder
Ask me for an absolute path and confirm again that moving files is OK.
Step 3 — Analyze (non-recursive)
Scan only the top-level files (no subfolders).
Group by type and propose folders like:
- Images/, Documents/, Videos/, Audio/, Archives/, Code/, Others/
Step 4 — Final confirmation
Show a summary (counts + planned folders) and ask me to approve.
Step 5 — Execute
1) Create folders
2) Move files with progress updates
3) Skip locked/no-permission files and report them
4) Finish with a clear summary and how to undo
Failure handling
If any error happens (permissions, locked files, path missing), explain the reason and offer the next step.
整个流程请用简体中文与我交互。
💡 提示: 点击“复制 Prompt”按钮,然后粘贴给 openclaw即可开始。
🎯 这个功能能做什么?
智能整理混乱的文件夹:
- 📂 自动按文件类型创建子文件夹
- 🏷️ 将文件移动到对应分类
- 📊 实时显示整理进度
- 🔄 可手动撤销(不删除文件)
⚠️ 风险警告(请务必阅读)
此功能会做的事:
- ✅ 读取指定文件夹的文件列表
- ✅ 创建分类子文件夹
- ⚠️ 移动文件(路径会改变)
不会做的事:
- ❌ 不会删除任何文件
- ❌ 不会上传文件到网络
- ❌ 不会修改文件内容
强烈建议:
- 🔒 先在测试文件夹试用,确认符合预期
- 🔒 备份重要文件夹后再使用
- 🔒 不要对系统文件夹使用(如 C:\Windows、/System)
🛡️ 安全使用建议
- 首次先用测试文件夹(10-20 个不重要的文件)
- 关闭正在占用文件的程序
- 默认只处理第一层,不递归子文件夹
❓ 常见问题
文件会被删除吗?
不会。只移动文件到子文件夹中。如需撤销,通常把文件移动回上一级即可。