Back to skills
SKILL.md
Clean Desktop
ASecurityclean-desktop
- 33 stars
- 0 votes
- 0 copies
- 1 view
- Added September 5, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add dvcrn/openclaw-skills-marketplace --skill clean-desktop --agent claude-codeAre you the author of Clean Desktop?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-clean-desktop)---
name: clean-desktop
description: "clean-desktop"
---
# 桌面清理大师
## 描述
自动整理用户桌面文件,按图片、文档、压缩包等类型分类归档。
## 工具
- bash: 执行文件操作命令
- read: 读取桌面文件列表
## 参数
- dry_run: 布尔值,默认为true。如果为true,只预览不实际操作。
## 执行流程
1. 获取桌面路径(Windows为~/Desktop,Mac/Linux为~/Desktop)
2. 列出所有文件(排除.DS_Store和快捷方式)
3. 按扩展名分类:
- 图片:.jpg, .png, .gif → 移入桌面/图片文件夹
- 文档:.pdf, .docx, .txt → 移入桌面/文档文件夹
- 压缩包:.zip, .rar → 移入桌面/压缩包文件夹
4. 生成操作报告,告知用户移动了哪些文件
## 安全提示
- 操作前检查目标文件夹是否存在,不存在则自动创建
- 不处理隐藏文件(以.开头的文件)
- 不删除任何文件,只做移动操作
Files in this skill
- SKILL.md
- project-planning.md
Attribution
Comments
Loading comments…