dup-finder
重复文件查找器 — 三级哈希(大小→首块→全量SHA1)找重复文件,默认只报告 --apply 删多余保留首个(零依赖) 适用场景:当需要重复文件查找器能力时使用本技能;触发词:dup-finder。
от zhaoxinghua09-cell564 установки в других каталогах
Установить dup-finder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:见平台质量门禁规范
English
When to use
- Disk cleanup: when you need to scan and sort out redundant files produced by backups or downloads in a local directory.
- Deduplication management: finding content-duplicated-but-undeleted files in large project storage (e.g. image libraries, log archives).
- Automated ops: scheduled runs of a config script, using the default report mode to check for redundancy.
Usage
- The core script is
dup_finder.py; run it with a Python interpreter on the PATH. - Key parameters:
-rscans the target folder recursively;--applyautomatically deletes the extras and keeps the first copy. - Example:
python3 dup_finder.py -r -d /path/to/dir --apply.
Workflow
- Confirm the target folder path and make sure you have the needed filesystem permissions.
- Run the scan command, triggering the three-level comparison: size → first-block hash → full SHA1.
- Check the terminal output; confirm the duplicate groups and which first copy is kept.
- To auto-clean, make sure the
--applyflag is present in the parameters so the deletion instruction executes. - Re-scan the target path after the run to verify that the extra copies are gone and no errors occurred.
Evidence & safety statement
- Evidence: TBD (no evaluation / badge link yet; update here once it is produced)
- Version: 1.0.5
- Security: no independent security scan has been performed (TBD); the conclusion is pending and no endorsement is given until it is completed.
中文
何时用
- 磁盘空间清理:当需要扫描并整理本地目录中因备份或下载产生的冗余文件时。
- 文件去重管理:在大型项目存储(如图片、日志库)中发现内容重复但未删除的文件。
- 自动化运维场景:用于配置脚本定期运行,利用默认报告机制检查冗余情况。
用法
- 核心脚本为
dup_finder.py,需使用 Python 解释器或包含在环境路径中执行。 - 关键参数含
-r表示递归扫描目标文件夹,及--apply用于自动删除多余文件保留首个。 - 调用示例:
python3 dup_finder.py -r -d /path/to/dir --apply。
流程
- 确定目标文件夹路径并确保具备相应的文件系统操作权限。
- 执行扫描命令,触发大小、首块哈希及全量 SHA1 的三级比对逻辑。
- 检查终端输出结果,确认重复文件分组及保留的首个文件位置。
- 若需自动清理,可确保脚本参数中包含
--apply标志执行删除指令。 - 运行后再次扫描目标路径以验证多余副本是否已移除且无异常错误。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.0.5
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Glob - 03
Grep - 04
Bash - 05
Write - 06
WebFetch
FAQ
Что делает скилл dup-finder?
重复文件查找器 — 三级哈希(大小→首块→全量SHA1)找重复文件,默认只报告 --apply 删多余保留首个(零依赖) 适用场景:当需要重复文件查找器能力时使用本技能;触发词:dup-finder。
Как установить скилл dup-finder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dup-finder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…