重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
data-organization-system by qodex-ai/ai-agent-skills
npx skills add https://github.com/qodex-ai/ai-agent-skills --skill data-organization-system此技能充当您的个人整理助手,帮助您在计算机上保持整洁、逻辑清晰的文件结构,而无需持续手动整理带来的精神负担。
cd ~
然后运行 Claude Code 并请求帮助:
帮我整理我的 Downloads 文件夹
在我的 Documents 文件夹中查找重复文件
检查我的项目目录并提出改进建议
根据文件类型将这些下载内容整理到合适的文件夹中
查找重复文件并帮我决定保留哪些
清理我超过 6 个月未碰过的旧文件
为我的 [工作/项目/照片等] 创建一个更好的文件夹结构
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
当用户请求文件整理帮助时:
询问澄清性问题:
* 哪个目录需要整理?(Downloads、Documents、整个主文件夹?)
* 主要问题是什么?(找不到东西、重复项、太乱、没有结构?)
* 是否有需要避免的文件或文件夹?(当前项目、敏感数据?)
* 整理力度如何?(保守清理还是全面清理?)
2. 分析当前状态
检查目标目录:
# 获取当前结构概览
ls -la [target_directory]
# 检查文件类型和大小
find [target_directory] -type f -exec file {} \; | head -20
# 识别最大的文件
du -sh [target_directory]/* | sort -rh | head -20
# 统计文件类型
find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
总结发现:
* 文件和文件夹总数
* 文件类型细分
* 大小分布
* 日期范围
* 明显的组织问题
3. 识别整理模式
根据文件确定逻辑分组:
按类型:
* 文档(PDF、DOCX、TXT)
* 图像(JPG、PNG、SVG)
* 视频(MP4、MOV)
* 归档文件(ZIP、TAR、DMG)
* 代码/项目(包含代码的目录)
* 电子表格(XLSX、CSV)
* 演示文稿(PPTX、KEY)
按用途:
* 工作 vs. 个人
* 活跃 vs. 归档
* 特定项目
* 参考资料
* 临时/草稿文件
按日期:
* 当前年/月
* 往年
* 非常旧的(归档候选)
4. 查找重复项
当请求时,搜索重复项:
# 通过哈希值查找完全重复的文件
find [directory] -type f -exec md5 {} \; | sort | uniq -d
# 查找同名文件
find [directory] -type f -printf '%f\n' | sort | uniq -d
# 查找大小相似的文件
find [directory] -type f -printf '%s %p\n' | sort -n
对于每组重复项:
* 显示所有文件路径
* 显示大小和修改日期
* 建议保留哪个(通常是最新或命名最好的)
* **重要**:删除前务必请求确认
5. 提出整理计划
在进行更改前提出清晰的计划:
# [目录] 整理计划
## 当前状态
- Y 个文件夹中的 X 个文件
- 总计 [大小]
- 文件类型:[细分]
- 问题:[列出问题]
## 建议的结构
[目录]/ ├── 工作/ │ ├── 项目/ │ ├── 文档/ │ └── 归档/ ├── 个人/ │ ├── 照片/ │ ├── 文档/ │ └── 媒体/ └── 下载/ ├── 待整理/ └── 归档/
## 我将进行的更改
1. **创建新文件夹**:[列表]
2. **移动文件**:
- X 个 PDF 文件 → 工作/文档/
- Y 个图像文件 → 个人/照片/
- Z 个旧文件 → 归档/
3. **重命名文件**:[任何重命名模式]
4. **删除**:[重复项或垃圾文件]
## 需要您决定的文件
- [列出任何您不确定的文件]
准备继续吗?(是/否/修改)
6. 执行整理
获得批准后,系统地进行整理:
# 创建文件夹结构
mkdir -p "path/to/new/folders"
# 移动文件并清晰记录日志
mv "old/path/file.pdf" "new/path/file.pdf"
# 使用一致的格式重命名文件
# 示例:"YYYY-MM-DD - 描述.ext"
重要规则:
* 删除任何内容前务必确认
* 记录所有移动操作以便可能撤销
* 保留原始修改日期
* 优雅处理文件名冲突
* 遇到意外情况时停止并询问
7. 提供总结和维护建议
整理完成后:
# 整理完成! ✨
## 更改内容
- 创建了 [X] 个新文件夹
- 整理了 [Y] 个文件
- 通过删除重复项释放了 [Z] GB 空间
- 归档了 [W] 个旧文件
## 新结构
[显示新的文件夹树状结构]
## 维护建议
为保持整洁:
1. **每周**:整理新下载的文件
2. **每月**:审查并归档已完成的项目
3. **每季度**:检查新的重复项
4. **每年**:归档旧文件
## 为您准备的快捷命令
```bash
# 查找本周修改的文件
find . -type f -mtime -7
# 按类型整理下载内容
[为其设置自定义命令]
# 查找重复项
[自定义命令]
想整理另一个文件夹吗?
用户:"我的 Downloads 文件夹一团糟,有 500 多个文件。帮我整理一下。"
过程:
用户:"在我的 Documents 中查找重复文件,并帮我决定保留哪些。"
输出:
# 找到 23 组重复项(总计 156 MB)
## 重复项组 1:"proposal.pdf"
- `/Documents/proposal.pdf` (2.3 MB, 修改时间:2024-03-15)
- `/Documents/old/proposal.pdf` (2.3 MB, 修改时间:2024-03-15)
- `/Desktop/proposal.pdf` (2.3 MB, 修改时间:2024-03-10)
**建议**:保留 `/Documents/proposal.pdf`(位于正确位置且最新)
删除另外 2 个副本吗?
[继续处理所有重复项...]
用户:"检查我的 ~/Projects 目录并提出改进建议。"
输出:
# ~/Projects 分析
## 当前结构问题
- 活跃项目和归档项目混杂(有些超过 3 年)
- 没有一致的命名约定
- 一些项目在根目录,另一些在随机子文件夹中
- 重复文件夹(project-name、project-name-old、project-name-v2)
## 建议的结构
Projects/ ├── 活跃/ │ ├── 客户工作/ │ ├── 个人项目/ │ └── 学习/ ├── 归档/ │ ├── 2022/ │ ├── 2023/ │ └── 2024/ └── 模板/
## 具体更改
1. 将 12 个自 2022 年以来未碰过的项目移动到 归档/
2. 合并 4 个重复的项目文件夹
3. 将项目重命名为一致格式:"客户名称-项目名称"
4. 为旧工作创建归档文件夹
希望我实施这个计划吗?
用户:"按年和月整理我的照片文件夹。"
输出:创建类似结构:
照片/
├── 2023/
│ ├── 01-一月/
│ ├── 02-二月/
│ └── ...
├── 2024/
│ ├── 01-一月/
│ └── ...
└── 未整理/
然后根据 EXIF 数据或文件修改日期移动照片。
整理我的 Downloads 文件夹 - 将文档移动到 Documents,
图片移动到 Pictures,将安装程序分开存放,并归档
超过 3 个月的文件。
检查我的 Projects 文件夹结构,并帮助我将活跃项目
与应该归档的旧项目分开。
在我的 Documents 文件夹中查找所有重复文件,并帮助我
决定保留哪些。
我的桌面上堆满了文件。帮我把所有东西都整理到
我的 Documents 文件夹中。
根据拍摄日期(年/月)整理此文件夹中的所有照片。
在我的 Documents 文件夹中,帮助我将工作文件与个人文件分开。
周安装量
60
代码仓库
GitHub 星标数
5
首次出现
2026年1月22日
安全审计
安装于
opencode47
gemini-cli46
codex44
github-copilot41
cline40
cursor40
This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.
cd ~
Then run Claude Code and ask for help:
Help me organize my Downloads folder
Find duplicate files in my Documents folder
Review my project directories and suggest improvements
Organize these downloads into proper folders based on what they are
Find duplicate files and help me decide which to keep
Clean up old files I haven't touched in 6+ months
Create a better folder structure for my [work/projects/photos/etc]
When a user requests file organization help:
Ask clarifying questions:
* Which directory needs organization? (Downloads, Documents, entire home folder?)
* What's the main problem? (Can't find things, duplicates, too messy, no structure?)
* Any files or folders to avoid? (Current projects, sensitive data?)
* How aggressively to organize? (Conservative vs. comprehensive cleanup)
2. Analyze Current State
Review the target directory:
# Get overview of current structure
ls -la [target_directory]
# Check file types and sizes
find [target_directory] -type f -exec file {} \; | head -20
# Identify largest files
du -sh [target_directory]/* | sort -rh | head -20
# Count file types
find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
Summarize findings:
* Total files and folders
* File type breakdown
* Size distribution
* Date ranges
* Obvious organization issues
3. Identify Organization Patterns
Based on the files, determine logical groupings:
By Type :
* Documents (PDFs, DOCX, TXT)
* Images (JPG, PNG, SVG)
* Videos (MP4, MOV)
* Archives (ZIP, TAR, DMG)
* Code/Projects (directories with code)
* Spreadsheets (XLSX, CSV)
* Presentations (PPTX, KEY)
By Purpose :
* Work vs. Personal
* Active vs. Archive
* Project-specific
* Reference materials
* Temporary/scratch files
By Date :
* Current year/month
* Previous years
* Very old (archive candidates)
4. Find Duplicates
When requested, search for duplicates:
# Find exact duplicates by hash
find [directory] -type f -exec md5 {} \; | sort | uniq -d
# Find files with same name
find [directory] -type f -printf '%f\n' | sort | uniq -d
# Find similar-sized files
find [directory] -type f -printf '%s %p\n' | sort -n
For each set of duplicates:
* Show all file paths
* Display sizes and modification dates
* Recommend which to keep (usually newest or best-named)
* **Important** : Always ask for confirmation before deleting
5. Propose Organization Plan
Present a clear plan before making changes:
# Organization Plan for [Directory]
## Current State
- X files across Y folders
- [Size] total
- File types: [breakdown]
- Issues: [list problems]
## Proposed Structure
[Directory]/ ├── Work/ │ ├── Projects/ │ ├── Documents/ │ └── Archive/ ├── Personal/ │ ├── Photos/ │ ├── Documents/ │ └── Media/ └── Downloads/ ├── To-Sort/ └── Archive/
## Changes I'll Make
1. **Create new folders**: [list]
2. **Move files**:
- X PDFs → Work/Documents/
- Y images → Personal/Photos/
- Z old files → Archive/
3. **Rename files**: [any renaming patterns]
4. **Delete**: [duplicates or trash files]
## Files Needing Your Decision
- [List any files you're unsure about]
Ready to proceed? (yes/no/modify)
6. Execute Organization
After approval, organize systematically:
# Create folder structure
mkdir -p "path/to/new/folders"
# Move files with clear logging
mv "old/path/file.pdf" "new/path/file.pdf"
# Rename files with consistent patterns
# Example: "YYYY-MM-DD - Description.ext"
Important Rules :
* Always confirm before deleting anything
* Log all moves for potential undo
* Preserve original modification dates
* Handle filename conflicts gracefully
* Stop and ask if you encounter unexpected situations
7. Provide Summary and Maintenance Tips
After organizing:
# Organization Complete! ✨
## What Changed
- Created [X] new folders
- Organized [Y] files
- Freed [Z] GB by removing duplicates
- Archived [W] old files
## New Structure
[Show the new folder tree]
## Maintenance Tips
To keep this organized:
1. **Weekly**: Sort new downloads
2. **Monthly**: Review and archive completed projects
3. **Quarterly**: Check for new duplicates
4. **Yearly**: Archive old files
## Quick Commands for You
```bash
# Find files modified this week
find . -type f -mtime -7
# Sort downloads by type
[custom command for their setup]
# Find duplicates
[custom command]
Want to organize another folder?
User : "My Downloads folder is a mess with 500+ files. Help me organize it."
Process :
User : "Find duplicate files in my Documents and help me decide which to keep."
Output :
# Found 23 Sets of Duplicates (156 MB total)
## Duplicate Set 1: "proposal.pdf"
- `/Documents/proposal.pdf` (2.3 MB, modified: 2024-03-15)
- `/Documents/old/proposal.pdf` (2.3 MB, modified: 2024-03-15)
- `/Desktop/proposal.pdf` (2.3 MB, modified: 2024-03-10)
**Recommendation**: Keep `/Documents/proposal.pdf` (most recent in correct location)
Delete the other 2 copies?
[Continue for all duplicates...]
User : "Review my ~/Projects directory and suggest improvements."
Output :
# Analysis of ~/Projects
## Current Structure Issues
- Mix of active and archived projects (3+ years old)
- No consistent naming convention
- Some projects at root, others in random subfolders
- Duplicate folders (project-name, project-name-old, project-name-v2)
## Proposed Structure
Projects/ ├── Active/ │ ├── client-work/ │ ├── side-projects/ │ └── learning/ ├── Archive/ │ ├── 2022/ │ ├── 2023/ │ └── 2024/ └── Templates/
## Specific Changes
1. Move 12 projects not touched since 2022 → Archive/
2. Consolidate 4 duplicate project folders
3. Rename projects to consistent format: "client-name-project-name"
4. Create Archive for old work
Want me to implement this?
User : "Organize my photo folders by year and month."
Output : Creates structure like:
Photos/
├── 2023/
│ ├── 01-January/
│ ├── 02-February/
│ └── ...
├── 2024/
│ ├── 01-January/
│ └── ...
└── Unsorted/
Then moves photos based on EXIF data or file modification dates.
Organize my Downloads folder - move documents to Documents,
images to Pictures, keep installers separate, and archive files
older than 3 months.
Review my Projects folder structure and help me separate active
projects from old ones I should archive.
Find all duplicate files in my Documents folder and help me
decide which ones to keep.
My Desktop is covered in files. Help me organize everything into
my Documents folder properly.
Organize all photos in this folder by date (year/month) based
on when they were taken.
Help me separate my work files from personal files across my
Documents folder.
Weekly Installs
60
Repository
GitHub Stars
5
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode47
gemini-cli46
codex44
github-copilot41
cline40
cursor40
Azure RBAC 权限管理工具:查找最小角色、创建自定义角色与自动化分配
154,300 周安装
Karpathy LLM 编码指南 - 减少AI编程错误的行为准则与最佳实践
2,200 周安装
Eraser 图表生成器 - 从代码/描述自动生成专业架构图
2,100 周安装
caveman-compress:AI 文本压缩工具,优化 Claude 输入令牌,提升效率
2,200 周安装
mem CLI工具 - 本地智能记忆存储与全文搜索,提升开发效率
2,200 周安装
characteristic-voice:为AI助手注入真实情感与个性语音,打造会叹息会笑的伙伴
2,200 周安装
YouTube 字幕提取工具 - 一键获取视频字幕/时间戳,支持自动与手动字幕
2,200 周安装