dupe-cleaner

Dupe-Cleaner: Scan disks using SHA256 content comparison to find files with identical content; supports selective deletion to recycle bin, undo restore, ignore marking, state persistence, paginated rendering, folder filtering, and operation scope limits.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dupe-cleaner" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-34416802349aea0fa0d99fedf1a47d3b2dbc0e44facd9fe0358b126abd48a269. Verify the upstream source and version against https://skillhub.cn/skills/user_7a7a6bee/dupe-cleane before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Dupe-Cleaner: Scan disks using SHA256 content comparison to find files with identical content; supports selective deletion to recycle bin, undo restore, ignore marking, state persistence, paginated rendering, folder filtering, and operation scope limits.

0 Downloads

Introduction source: third_party · user_7a7a6bee · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: dupe-cleaner查重清理
description: 重复文件清理工具。基于SHA256内容对比,扫描磁盘找出内容完全相同的重复文件,支持选择性删除到回收站、撤销恢复、忽略标记、状态持久化、分页渲染、文件夹筛选、操作范围限定。触发词:查重、重复文件、清理磁盘、释放空间、dupe、去重。

重复文件清理工具

功能概要

  • 支持扫描任意盘符或目录(D:\, E:\, F:\工作文件 等)
  • SHA256 内容对比确保文件完全相同
  • 勾选删除 → 回收站,可撤销恢复(删除前自动备份)
  • 忽略标记(不删但标记已处理并隐藏)
  • 状态持久化,关掉页面不丢进度
  • 顶部路径选择器,多目录数据独立管理
  • 分页渲染(初始100组,加载更多),支持海量重复文件
  • 文件夹快捷筛选栏
  • 操作范围限定:保留第一个/全留/全删 仅作用于当前已展开显示的分组
  • 删除按钮实时显示勾选数量
  • 自定义确认弹窗(兼容内置浏览器面板)

文件结构

dupe-cleaner查重清理/
├── SKILL.md                ← 技能描述文件
├── 使用说明.txt             ← 用户使用文档
└── app/
    ├── launcher.py         ← 启动器:自动创建venv、安装依赖、启动服务
    ├── dupe_server.py      ← Flask 服务端
    ├── dupe_scanner.py     ← SHA256 扫描器
    ├── requirements.txt    ← Python 依赖(flask, send2trash)
    └── templates/
        └── index.html      ← 前端页面

使用方式(AI 执行)

当用户说"查重"、"重复文件"、"清理磁盘"等触发词时:

  1. 定位本技能目录(通常是 ~/.workbuddy/skills/dupe-cleaner查重清理/)
  2. 进入 app 目录,执行 launcher.py:
    cd "~/.workbuddy/skills/dupe-cleaner查重清理/app" && python launcher.py
    • 首次运行会自动创建 venv 虚拟环境并安装 flask、send2trash
    • 已启动服务会直接返回,不会重复启动
  3. 服务启动后,在浏览器中打开 http://127.0.0.1:5800
  4. 若服务已在运行,直接打开浏览器访问即可

Windows 系统请确保有 Python 3.8+ 环境;WorkBuddy 自带 Python 时会被自动使用。

使用流程

  1. 页面顶部选择磁盘(或输入自定义路径)
  2. 点击扫描,等待完成(大磁盘可能需要几分钟)
  3. 扫描完成后查看重复文件列表
  4. 使用工具栏按钮快速勾选:
    • 保留第一个 — 每组保留最早文件,勾选其余
    • 全留 — 取消当前显示分组的所有勾选
    • 全删 — 勾选当前显示分组的全部文件
    • 忽略勾选 — 标记为已处理,不删除
    • 确认删除勾选 — 删除到回收站(先备份,可恢复)
  5. 可用文件夹筛选栏按目录过滤
  6. 点"加载更多"展开更多分组
  7. 已处理项可通过"显示已处理"查看和恢复

注意事项

  • ⚠️ 操作范围限定:保留第一个/全留/全删 仅影响当前已展开显示的分组,未展开或其他盘的不受影响
  • 删除操作会先备份文件到 .dupe_backup_<盘符>/ 目录,可随时恢复
  • 每次扫描的目录数据独立存储(dupes_data_<盘符>.json),互不影响
  • 需要 Python 3.8+ 和 pip
  • Windows 专用(依赖 send2trash 的回收站功能)

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 重复文件清理是用户释放磁盘空间的明确需求,实用性强
  • 支持 SHA256 内容对比、删除到回收站、撤销恢复、状态持久化等完整功能闭环
Trigger Precision90/100

Highlights

  • 触发词覆盖合理且边界清晰,包括“查重”、“重复文件”、“清理磁盘”等常见表达
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含功能概要、文件结构、使用方式、使用流程、注意事项
  • 步骤划分明确,有端到端示例,frontmatter 完整
Execution Reliability90/100

Highlights

  • 工具来源明确(Python Flask 服务),参数正确
  • 覆盖主要异常(自动创建 venv、安装依赖、服务已运行检测),不可逆操作有确认机制和备份恢复功能
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • 127.0.0.1

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.